error mounting LVM snap volume
From: Dave (dspear99ca_at_yahoo.delete.com)
Date: 02/25/04
- Next message: Ed Murphy: "Re: Something wrong with mkisofs/growisofs"
- Previous message: Zach: "Slackware 9.0 and LPRNG problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 17:13:15 GMT
I am using LVM 1.0.3 on RH 9, kernel 2.4.20-8. I'd like to set up snapshots
for nightly backups but am having problems. I've got lots of space in vg
Volume00, so I do:
# lvcreate -s -L 100m -n SnapVol /dev/Volume00/RootVol
lvcreate -- WARNING: the snapshot will be automatically disabled once it
gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for
"/dev/Volume00/SnapVol"
lvcreate -- doing automatic backup of "Volume00"
lvcreate -- logical volume "/dev/Volume00/SnapVol" successfully created
# lvscan
lvscan -- ACTIVE Original "/dev/Volume00/RootVol" [10 GB]
lvscan -- ACTIVE "/dev/Volume00/SwapVol" [1 GB]
lvscan -- ACTIVE Snapshot "/dev/Volume00/SnapVol" [98.44 MB] of
/dev/Volume00/RootVol
lvscan -- 3 logical volumes with 11.10 GB total in 1 volume group
lvscan -- 3 active logical volumes
# lvdisplay /dev/Volume00/SnapVol
--- Logical volume ---
LV Name /dev/Volume00/SnapVol
VG Name Volume00
LV Write Access read only
LV snapshot status active destination for /dev/Volume00/RootVol
LV Status available
LV # 3
# open 0
LV Size 10 GB
Current LE 2560
Allocated LE 2560
snapshot chunk size 64 KB
Allocated to snapshot 2.86% [2.81 MB/98.44 MB]
Allocated to COW-table 1.56 MB
Allocation next free
Read ahead sectors 1024
Block device 58:2
So far, so good. BUT, when I do:
# mount /dev/Volume00/SnapVol /tmp/snapvol
mount: block device /dev/Volume00/SnapVol is write-protected, mounting
read-only
mount: wrong fs type, bad option, bad superblock on /dev/Volume00/SnapVol,
or too many mounted file systems
The only potential problem above that I can safely eliminate is "too many
mounted filesystems"... I have only one filesystem mounted. The filesystem
is read-only so if it's a bad superblock, well, game over. BTW I repeated
the create/mount/remove cycle a whole bunch of times with identical result.
I tried mounting with the "-t ext2" flag set, no change.
Ideas? I don't see anything in google...
Dave
- Next message: Ed Murphy: "Re: Something wrong with mkisofs/growisofs"
- Previous message: Zach: "Slackware 9.0 and LPRNG problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|