From: "Bryn M. Reeves" <breeves@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] could not mount LVM2 read only snapshot
Date: Sat, 06 Oct 2007 10:39:58 +0100 [thread overview]
Message-ID: <470757EE.5070306@redhat.com> (raw)
In-Reply-To: <55e074e80710060135g264a3eeatc57178975862f288@mail.gmail.com>
-----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-----
prev parent reply other threads:[~2007-10-06 9:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470757EE.5070306@redhat.com \
--to=breeves@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.