[linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x
Thierry VOYAT
Thierry.Voyat at ac-amiens.fr
Fri Aug 23 05:01:02 UTC 2002
I need to unmount the lvm partition before i can realize a valid
snapshot of a journalized fs (reiserfs or ext)
All works fine with ext2 :
mount -t ext3 /dev/vg0/ext3fs =>ok
lvreate snap /dev/vg0/ext3fs => ok
mount snap => FAILED
mount: block device /dev/vg0/snap is write-protected, mounting
read-only
mount: wrong fs type, bad option, bad superblock on /dev/vg0/snap,
or too many mounted file systems
umount /dev/vg0/ext3fs =>ok
lvreate snap /dev/vg0/ext3fs => ok
mount snap => ok
mount -t ext2 /dev/vg0/ext2fs =>ok
lvreate snap /dev/vg0/ext2fs => ok
mount snap => ok
Redhat 6.2 on IBM Netfinity
kernel used: 2.2.19, 2.2.20, 2.2.21
patches: reiserfs-3.5.35,
ext3-0.0.7a
linux-2.2.18-rawio.patch,
linux-2.2.19.kdb.diff,
linux-2.2.19.ext3.diff
LVM: 1.0.3, 1.0.4, 1.0.5 patches and utils
I known there was a patch for kernel 2.4.x for VFS-lock but nothing for
kenel 2.2.x series.
I can't upgrade to kernel 2.4. What can i do ?
--
????? Thierry VOYAT Tél: (33) 3 22 82 38 39
( 0 0 ) Rectorat Amiens Fax: (33) 3 22 82 39 16
---oOo(_)oOo--- 20 boulevard Alsace-Lorraine - 80063 AMIENS
Les faiblesses des hommes font la force des femmes. Voltaire
More information about the linux-lvm
mailing list