[linux-lvm] read hangs when snapshot gets full

Martin Petermann martin.petermann at de.ibm.com
Mon Dec 10 11:16:01 UTC 2001

Hi all,

I'm using a SuSE Linux (V7.2) with a 2.4.4 kernel. If I start a program
which reads from a snapshot (e.g. cat /dev/vg/snapshot > /tmp/file) with a
low priority (nice -20), sometimes the program hangs within the
read() call if the snapshot gets full. If this is the case I'm not able to
kill the process of the application (even SIGKILL). In my application I
reduced the number of blocks in each read() call reads and I stop
reading after the snapshot is full of more then 90%. But this solution is
not completely avoiding the problem.

Is there any fix in a newer kernel version?

Thanks for any ideas!


More information about the linux-lvm mailing list