Re: could not mount LVM2 read only snapshot

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

 



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

_______________________________________________
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