* [linux-lvm] could not mount LVM2 read only snapshot
@ 2007-10-06 8:35 Michael Jiang
2007-10-06 9:39 ` Bryn M. Reeves
0 siblings, 1 reply; 2+ messages in thread
From: Michael Jiang @ 2007-10-06 8:35 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 475 bytes --]
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.
kernel 2.6.9-42.ELsmp
# lvm version
LVM version: 2.02.06 (2006-05-12)
Library version: 1.02.07 (2006-05-11)
Driver version: 4.5.0
Anyone had the same problem before?
Thanks
Michael
[-- Attachment #2: Type: text/html, Size: 628 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [linux-lvm] could not mount LVM2 read only snapshot
2007-10-06 8:35 [linux-lvm] could not mount LVM2 read only snapshot Michael Jiang
@ 2007-10-06 9:39 ` Bryn M. Reeves
0 siblings, 0 replies; 2+ messages in thread
From: Bryn M. Reeves @ 2007-10-06 9:39 UTC (permalink / raw)
To: LVM general discussion and development
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-06 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 8:35 [linux-lvm] could not mount LVM2 read only snapshot Michael Jiang
2007-10-06 9:39 ` Bryn M. Reeves
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).