Red Hat Bugzilla – Bug 88977
(LVM) Serious LVM regression (snapshots broken) +patch
Last modified: 2007-04-18 12:53:05 EDT
Description of problem:
In kernels 2.4.20-8 and 2.4.20-9, LVM snapshots no longer work. They did work
fine in RHL8.0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create LVM LV
2. Create LVM snapshot with:
lvcreate --size 100M --snapshot --name snap1 /dev/vg01/wwwdata
3. Try to mount/use snapshot block device:
# mount /dev/vg01/snap1 /mnt/snapshot
mount: block device /dev/vg01/snap1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/vg01/snap1, or too
many mounted file systems
LVM snapshots are a very important feature and are often used. Some would argue
that they are the most commonly used and most useful feature of LVM (given that
live -- while mounted -- resizes don't work yet). We use LVM snapshots to get
consistent backups. This seems a quite high priority problem to get fixed ASAP.
Absolutely agree. Very critical for backup consistency.
See my attachment in
for a fix, don't kill me if it doesnt work for you. I'm using it on a
production box for mysql backups and it's been alright so far.
Stephen, can you comment on how RH views the severity of this bug, and if a fix
for this will make into the next RHL9 errata kernel?
This has also been reported as
My backup devices are external USB disk with OHCI driver, for which I am forced
to upgrade this RH8.0 installation from 2.4.18-14 in order to avoid a system
freeze (described in https://rhn.redhat.com/errata/RHSA-2003-135.html). The
current inability to mount snapshots is therefore of critical importance to me.
*** This bug has been marked as a duplicate of 84278 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.