linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Snapshot on "disk": file system consistent?
@ 2009-01-29  7:07 Christian Völker
  0 siblings, 0 replies; only message in thread
From: Christian Völker @ 2009-01-29  7:07 UTC (permalink / raw)
  To: LVM general discussion and development

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yohoo!

Just for my own curiousity:

I have a LVM volume which is presentet through iSCSI to another box. On
the other box I used fdisk to create a partition and formatted the
partition with ext3.

Now I'm performing a backup on the local iSCSI/LVM server like follows:

Taking a snapshot of the LV:
lvcreate -s -p r -c 64K -L 30G -n snap_backup /dev/vg/backup

Setting up the lo-device with the calculation for the partition start:
losetup -o$[512*64] /dev/loop1 /dev/vg/snap_backup

Mounting:
mount /dev/loop1 /srv/snap/ -t ext3 -o ro

Now my question is about the file system on the partition. Is it
consistent? Would it be better to perform a fsck before mounting?

Or can I rely on the above procedure to gain always a proper filesystem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJgVW70XNIYlAXmzsRAvFeAJ9Xz1IzEqEw49+kBnhAChixvK6zCgCgtxaz
a7bgGVSkpTWpEoDXueralWE=
=RR04
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-29  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29  7:07 [linux-lvm] Snapshot on "disk": file system consistent? Christian Völker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).