[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 Sun, Oct 19, 2008 at 12:20:34AM +0200, Marc Haber wrote:
> On Sat, Oct 18, 2008 at 06:01:12PM +0200, 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.
> 
> Yes, that's exactly the situation on my system. I tried installing
> twice today, and in the first attempt it even showed the homep1 LV in
> the partition list in the Installer. In the second attempt, it didn't,
> but the homep1 LV was there when I looked in /dev/mapper.

So far, it looks like the "partitions" are generated when one says
"Write changes to disk", but they don't show up when one uses fdisk to
look into the LVs. Strange.

A workaround is to partition with the Debian installer, abort and
reboot into a live CD (I used grml, which I highly recommend for all
rescue operations), format the file systems from there, restart the
installer and partitioner, tell it the intended mount points, but
forbid it to format the partitions, tell it _NOT_ to use the swap
partition and ignore the resulting error message. After that, the
installation is able to continue.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Reply to: