Hello all, I'm trying to install CentOS 6.3 to an mdadm partitionable array and not having any luck. The installer only allows me to create one file system per md device, or specify the md device as a LVM physical volume. I don't want to do either, I want to create one md device and create multiple partitions on top of the md device. I thought that perhaps the installer was preventing me from doing this because it wasn't possible to boot off a partitionable mdadm array, but through googling I don't believe this is the case. (See links at the bottom of this email) I've tried the graphical installer and the text-mode installer, and neither gives me the ability to install to a partitionable mdadm array. Even more annoying is that if I manually create such an array, partition it and create file systems, the installer will stop the array when starting the partitioning utility, preventing me from installing to the partitions I created. Is there an advanced mode in the installer that I can force it to install to a partitionable md device, or is that not an option? I'd like to avoid having multiple md devices on the same physical drives, and unfortunately the application I'm installing doesn't place nicely with LVM. Thanks, Hal http://www.kernel.org/doc/Documentation/md.txt http://www.miquels.cistron.nl/raid/ https://bugzilla.redhat.com/show_bug.cgi?id=447818
On 07/11/12 15:10, Hal Martin wrote:> Hello all, > > I'm trying to install CentOS 6.3 to an mdadm partitionable array and > not having any luck. > > The installer only allows me to create one file system per md device, > or specify the md device as a LVM physical volume. I don't want to do > either, I want to create one md device and create multiple partitions > on top of the md device. > > I thought that perhaps the installer was preventing me from doing this > because it wasn't possible to boot off a partitionable mdadm array, > but through googling I don't believe this is the case. (See links at > the bottom of this email) > > I've tried the graphical installer and the text-mode installer, and > neither gives me the ability to install to a partitionable mdadm > array. > > Even more annoying is that if I manually create such an array, > partition it and create file systems, the installer will stop the > array when starting the partitioning utility, preventing me from > installing to the partitions I created. > > Is there an advanced mode in the installer that I can force it to > install to a partitionable md device, or is that not an option? I'd > like to avoid having multiple md devices on the same physical drives, > and unfortunately the application I'm installing doesn't place nicely > with LVM. > > Thanks, > HalHello Hal, AFAIK installing on to partitionable md is a hack that is not supported; it's cool, but is not supported by upstream. And when it breaks I hear it can be quite unpleasant to fix. What are your requirements exactly? Maybe we can advise an alternative partitioning etc.
On Wed, Nov 7, 2012 at 8:40 PM, Hal Martin <hal.martin at gmail.com> wrote:> Hello all, > > I'm trying to install CentOS 6.3 to an mdadm partitionable array and > not having any luck. > > The installer only allows me to create one file system per md device, > or specify the md device as a LVM physical volume. I don't want to do > either, I want to create one md device and create multiple partitions > on top of the md device. > > I thought that perhaps the installer was preventing me from doing this > because it wasn't possible to boot off a partitionable mdadm array, > but through googling I don't believe this is the case. (See links at > the bottom of this email)> http://www.kernel.org/doc/Documentation/md.txt > http://www.miquels.cistron.nl/raid/ > https://bugzilla.redhat.com/show_bug.cgi?id=447818Please see this thread from June/2012 on the subject matter <http://lists.centos.org/pipermail/centos/2012-June/126927.html> and the solution I found later on and posted in Oct/2012 -- <http://lists.centos.org/pipermail/centos/2012-October/129654.html> I did install the latest dracut rpms per the bug reports listed in above but the fix is not 100% - for example if the second disk fails, I still get kernel panic The first hit with search string "centos partitionable raid" gives me this <http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1> which is already discussed in my June post. It does install if you follow the steps listed for release 6. In retrospect, I would suggest stay away from this method. Go the traditional route; carve up the two disks per your requirements and make the md devices for root, boot, home etc. HTH, -- Arun Khan