[linux-lvm] could not mount LVM2 read only snapshot
Bryn M. Reeves
breeves at redhat.com
Sat Oct 6 09:39:58 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Jiang wrote:
> I use 'lvcreate -p r' to create a read only snapshot. got following
> error message when I try to mount it
>
> "mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/snap,
> or too many mounted file systems"
>
> If I do not use '-p r' and mount -r, then it works fine.
>
Working fine here:
# lvcreate -L 10M -pr -s -n l0-snap /dev/vg0/l0
Rounding up size to full physical extent 12.00 MB
Logical volume "l0-snap" created
# mount -oro /dev/vg0/l0-snap /mnt/snap
# umount /mnt/snap
# mount /dev/vg0/l0-snap /mnt/snap
mount: block device /dev/vg0/l0-snap is write-protected, mounting read-only
# lvm version
LVM version: 2.02.21-RHEL4 (2007-03-26)
Library version: 1.02.17-RHEL4 (2007-02-02)
Driver version: 4.5.5
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHB1fu6YSQoMYUY94RAjrNAJ43uS//1K5RsahvHSzWA+0dPnKaOQCeIiTb
LOuWlsH9ohqlJZLgjja5/As=
=6L6d
-----END PGP SIGNATURE-----
More information about the linux-lvm
mailing list