I can reproduce this bug easily.

OS: Ubuntu 8.04 Hardy
Kernel: 2.6.24-17-generic
Disk Layout:
        / on RAID1
        
Steps to reproduce:
1. create a RAID1 or RAID5, such as /dev/md1 (I only tried RAID1/RAID5, don't 
know about other RAID level, but it's very possible to happen on every level.)
2. create a PV using the RAID device - pvcreate /dev/md1
3. create a VG using the PV - vgcreate vgtest /dev/md1
4. create a LV in the VG - lvcreate -L4G -n lvtest /dev/vgtest
5. make ext3 fs on the LV - mkfs.ext3 /dev/vgtest/lvtest
6. mount the LV image - mount /dev/vgtest/lvtest /mnt/lv
7. copy(or rsync) a linux distribution image, such as RHEL5 to the LV - rsync 
-aSH /path/to/rhel5/image/ /mnt/lv/
8. create a snapshot of the LV - lvcreate -s -L1G -n snaptest /dev/vgtest/lvtest
9. mount copy some rpms to the snapshot - mount /dev/vgtest/snaptest /mnt/snap 
&& cp -a /path/to/some/rpms /mnt/snap/tmp
10. chroot to the snapshot and install the rpms - chroot /dev/snaptest; time 
rpm -ivh /tmp/rpms/*.rpm

I can reproduce this issue _almost_every_time_ this way.

-- 
device-mapper: snapshots: Invalidating snapshot: Unable to allocate exception.
https://bugs.launchpad.net/bugs/177828
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to