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