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

Bug#502618: partman: /dev/mapper/vg0-home is apparently in use by the system



On Tue, Oct 21, 2008 at 06:16:46PM +0200, Frans Pop wrote:
> On Saturday 18 October 2008, Jeroen Dekkers wrote:
> > I currently have the same problem. The reason the logical volume is in
> > use seems to be that when you finish partitioning and partman goes to
> > the stage of creating the filesystems, the system has suddenly created
> > partitions on top of the volumes. That means there is a
> > /dev/mapper/vg0-homep1, which uses /dev/mapper/vg0-home and makes it
> > impossible to create a filesystem there.
> 
> The cause looks to be a recent change by Colin Watson in partman-base 
> (128). If I rebuild parted_server without that change, I can no longer 
> reproduce the error.

That may be the proximate cause, but at most it's just exposing breakage
elsewhere. The actual incorrect code is in libparted itself, not
parted_server. It should not be generating "p1"-type device names for
LVM logical volumes.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: