Snapshot on "disk": file system consistent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux