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

Re: [linux-lvm] LVM2 lockup while snapshotting root



On Tue, Oct 12, 2004 at 12:58:53PM -0700, Eric Hopper wrote:
> First, it could be updates to /etc/lvm while the filesystem is
> suspended.  This shouldn't be done at all.  First, a journal of what the
> planned change is should be written to /etc/lvm, the filesystem
> suspended, the change made, the filesystem unsuspended, then a marker
> indicating that the change succeeded to /etc/lvm.

Sounds like a good starting point.  Other interesting cases are swap on
LVM, and rolling back the root fs to a snapshot.

> Second, it could be the fact that the LVM executable is demand paged.
> It could be that a page of the executable is read in while the
> filesystem is suspended.  This is trickier to solve, and having the
> problem is much more excusable than the first.

mlockall(2)?

Regards,

	Bill Rugolsky


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