[linux-lvm] read hangs when snapshot gets full
caulfield at sistina.com
Tue Dec 11 02:27:02 UTC 2001
On Mon, Dec 10, 2001 at 06:18:15PM +0100, Martin Petermann wrote:
> 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?
I think this is fixed in 1.0.1 - it certainly works for me on Linux 2.4.16
More information about the linux-lvm