Re: [PATCH] Fix for hanging resize on root filesystem

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

 



On Fri, Sep 10, 2004 at 08:47:24AM -0400, Jeff Mahoney wrote:
> When a user has their root filesystem on an LV and attempts to resize
> the LV, the kernel will deadlock while trying to update the atime on the
> device node.
 
Indeed, and if you push harder you'll probably find some trickier
problems there too.  This is one of the reasons I've said numerous
times we don't support pvmove/snapshots of the devices used by the
tools themselves.  I shall add a test to the tools to detect when
people do this.  [See also the old 2.4 kernel patch included in the
source tree (but not applied by default) which disables the relevant
*time updates - write as well as read. I've not had time to look at 
equivalents for 2.6 yet.]

The way I envisage snapshots/pvmoves being supported most safely 
is by using temporary copies of the relevant inodes on a filesystem
that does not get suspended.

Alasdair
-- 
agk@redhat.com
_______________________________________________
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