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

Bug#424942: marked as done (debian-installer: Cannot use entire RAID device rather than partitioning it)



Your message dated Fri, 18 May 2007 11:07:14 +0200
with message-id <200705181107.14584.elendil@planet.nl>
and subject line Bug#424942: debian-installer: Cannot use entire RAID device rather than partitioning it
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- 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 ---

Reply to: