Removing a snapshot under heavy IO causes LVM hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have found 2 scenarios using FC4 (2.6.13-latest) that cause LVM problems:
 
1.
 
700GB volume, create a snapshot of 100Gb, copy the snap to another disk, remove the snapshot. The snapshot remove never ends it just hangs. One can type lvscan, it will display a few LVs and then hang, press Ctrl-C to get out of that. Ctrl-C does not work with lvremove. No /var/log/messages indicating cause.
 
We believe this might happen because the volume copy takes about 8hours, however if I do a snap and then instantly remove it, it works fine. The 8 hour time frame + plus moderate IO appears to be the problem.
 
 
2.
 
Labtest: create a 20G volume, create a 8G snap. From another terminal do dd if=/dev/zero of=/dev/vg/lv bs=1M, after running for a few minutes remove the snapshot - it cannot be removed until ALL IO ceases on the original volume.
 
I have tried the development FC4 2.6.14 kernel today and that causes the same problems. lvm2 tools: lvm2-2.01.08-2.1
 
 
 
________________________________
Steffen Plotner
Systems Administrator/Programmer
Systems & Networking
Amherst College
PO BOX 5000
Amherst, MA 01002-5000
Tel (413) 542-2348
Fax (413) 542-2626
Email: swplotner@amherst.edu
________________________________
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux