Re: snapshot on root file system

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

 



On 2 Jan 2007, jjletho67-mvl@yahoo.it outgrape:
> Searching around about this problem I found that also
> other lvm users suffer of a similar problem when the
> root partition is involved, but I was unable to
> understand what is the cause of the problem and if
> there is a way to avoid it. Does LVM really support
> root partition ? Does the problem involves only
> snapshot or also other aspetcs ? Workaround ?

My understanding is that snapshot creation involves a brief period when
I/O to the origin LV is suspended: if lvcreate needs to page in
something from that device, or needs to read, say, /etc/lvm/lvm.conf,
or something, you'll get a deadlock.

(Mind you this all seems fixable to me: before suspending, mlockall()
lvcreate in memory, touch all its pages to force pagein, and do all
other reading required. But I guess this just hasn't been done yet.)

-- 
`He accused the FSF of being "something of a hypocrit", which
 shows that he neither understands hypocrisy nor can spell.'
   --- jimmybgood

_______________________________________________
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