--- Begin Message ---
Package: debian-installer
Severity: normal
The partitioner does not allow using an entire RAID device such as /dev/md0;
it wants to partition the device. I want to use /dev/md0 as an LVM container,
so I don't want to create a partition; a partition just means one more thing I
have to resize if I want to add to the RAID later.
Also, when attempting to create the partition on the RAID, I got an error
along the lines of "Failed to tell the kernel about the new partitions on
/dev/md0".
I managed to get the setup I wanted by manually running pvcreate, vgcreate,
and lvcreate at the shell, then using the partitioner to create the filesystem
and use the partition as /.
- Josh Triplett
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-rc1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
On Friday 18 May 2007 01:04, Josh Triplett wrote:
> The partitioner does not allow using an entire RAID device such as
> /dev/md0; it wants to partition the device. I want to use /dev/md0 as
> an LVM container, so I don't want to create a partition; a partition
> just means one more thing I have to resize if I want to add to the RAID
> later.
That is just not true. Even stronger: you currently cannot partition a
RAID device (see e.g. #392042, #417973).
You need to select the RAID volume and set it to "Use as physical volume
for LVM"; then return to the main partman menu and select "Configure
LVM". This will do exactly what you want.
> Also, when attempting to create the partition on the RAID, I got an
> error along the lines of "Failed to tell the kernel about the new
> partitions on /dev/md0".
That is a known issue. See BRs referred to above.
Closing your report as this seems to be user error.
Cheers,
FJP
--- End Message ---