[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Snapshot on "disk": file system consistent?
- From: Christian Völker <chrischan knebb de>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: [linux-lvm] Snapshot on "disk": file system consistent?
- Date: Thu, 29 Jan 2009 08:07:39 +0100
-----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-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]