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

Re: Using existing LVM - bug in the Debian Installer?

Frans Pop wrote:
> On Friday 23 March 2007 08:33, Sander Marechal wrote:
> From the output you show it looks like your current partitions do not have 
> type "linux raid" (fd) and possibly also not "linux lvm" (df) set.
> The partitioner relies on that to recognize existing raid and lvm 
> partitions. Without that, the option to configure them will not be shown.

Apparently it's a bug in the D-I. I'll include it in my install report.
Thanks to a few people in #debian-boot (sep, cjwatson, vorlon) I managed
to find workarounds:

- switch to colsone #2
- run modprobe mod, vgscan, vgchange -ay
- create new LV's with lvcreate
- switch back to the installer
- back out and rerun from the "scan disk partitions" menu option

After that, everything works fine. The LV's had to be created with
lvcreate because even after running vgchange -ay (after which the
partitioner will see all the LVM stuff) it would still not give me the
option to manage LVM.

I was using the D-I RC2 from 17 March 2007. Sep mentioned that todays
daily build does work for him, but I haven't verified that yet.

Also, cjwatson mentioned that marking the original PV partitions for use
as LVM PV, then using the "manage LVM" option that appears and writing
the new partition tables should work, but I don't have the guts to try
that out on my server. Someone with a test machine should do that :-)

Sander Marechal

Reply to: