[linux-lvm] How do you mount a snapshot?

Chris Mason mason at suse.com
Thu Dec 7 20:05:08 UTC 2000


On Thursday, December 07, 2000 11:55:38 -0800 David Gould <dg at suse.com>
wrote:

> On Thu, Dec 07, 2000 at 03:39:11AM -0800, Tracy R Reed wrote:
>> 
>> [root at computer /usr2]# mount -t reiserfs /dev/vg-sdb1/snapshot /snap/
>> mount: block device /dev/vg-sdb1/snapshot is write-protected, mounting
>> read-only mount: wrong fs type, bad option, bad superblock on
>> /dev/vg-sdb1/snapshot, or too many mounted file systems
> 
> Unless they have changed it (possible), reiserfs does not support ro
> hardware for mounting unless the filesystem was unmounted cleanly. The
> reason is that to make the FS consistant the journal has to be replayed
> which necessarily _writes_ to the device. This cannot work on an ro
> device.
> 

We didn't change that ;-)  But, the message would look different.  In this
case, it did not find a reiserfs filesystem at all, or perhaps the reiserfs
module wasn't loaded...

-chris



More information about the linux-lvm mailing list