Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-11-2011, 01:06 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 6

Rep: Reputation: 1
Question Install CentOS V5.6 onto pre-degraded RAID1 + LVM?


About 6 months ago, I posted about reading a ZFS filesystem drive on a Linux build (to port data files from a Solaris 10 x86 install to a Linux system), and I'm finally getting around to doing this.

My current thorny issue is already described in RedHat Bugzilla 188314.

In this BugZilla entry, some are recoiling in horror that a seasoned admin would want to force (via secret parameter) a new OS RAID1 install with only a single drive available, and have refused to make such a provision in the installer.

Here is the gist of where I am now at: I have a working RAID1 Solaris 10 x86 system that I wish to migrate from; I've "broken the mirror" of paired RAID1 drives, removed the drive, and then rebooted the Solaris box; all is working fine.

I want to put the scavenged 1TB drive into a separate system, then install CentOS V5.6 using the GUI interface. Troubles crop up when trying to setup as a RAID1 + LVM setup... it complains about needing at least two disks.

Well, I'm a sysadmin and I know darn well (via mdadm) how to create functional, but degraded RAID1 meta devices! After my CentOS install is completed, and I've copied all that I want from the old Solaris system, I'll shut it down, move its 1TB drive to the CentOS box and add it as the "mirror disk", partition it, and then start the resilvering.

During the first phase of the GUI CentOS install, I can go to the CTRL-ALT-F2 console and run the mdadm and lvm commands to create everything that I want.

Subsequently (back to GUI install console via CTRL-ALT-F6), when I select the "custom disk layout" method, all of my mdamd/lvm handywork shows up, but the mount points are shown as empty. I tried creating an /etc/fstab with proper entries, but that was a no-go.

If I use the GUI to try to associate the mount points with the logical volume (via EDIT), it gets very unhappy with nasty messages needing an additional device.

I suppose if I were some kind of Anaconda guru it might be possible, I dunno.

Any hints?

Yeah, I know... 1TB drives are cheap, just go get another one, but $$$ are tight right now. And, I don't have a 3rd system to copy lots of data files to to free up the remaining Solaris drive to move to the new CentOS build, so that isn't an option either.



p.s. There is a suggested method to convert a non-RAID1 CentOS 5 system to a RAID1 system, so maybe that will be my route - build a new system based on traditional physical disk partitions, get it working, get my data onto it, then use this process to turn it into a RAID1-based system.

Last edited by goony1; 06-11-2011 at 01:07 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID1 issue related to Degraded mode management, md: md0 still in use. anuragccsu Linux - Kernel 0 01-18-2010 11:25 AM
raid1 mdadm repair degraded array with used good hard drive catbird Linux - Hardware 7 07-09-2009 12:31 AM
CentOS 5.2 x86 64 install situation with RAID1 Takeshi Ogasa Linux - Software 1 03-06-2009 05:58 AM
raid1 degraded after every boot personalsoft_fabiano Linux - Server 4 01-17-2009 04:19 AM
Degraded raid1 array problem on slack 12.0.0 / mdadm slack-12.0.0 Slackware 5 10-12-2007 06:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration