Skip to main content

Posts

Showing posts with the label mdadm

Kickstart RHEL 6 using Mirrored Disks (software RAID)

I have a host at home with 2 x 1TB SATA disks.  I don't necessarily need the redundancy on this box, but I thought since I was bothering to get my PXE and kickstart working at home I may as well figure this out as well... -- excerpt from kicksart profile -- # Clear the Master Boot Record zerombr # Remove ALL partitions clearpart --all --initlabel --drives=sda,sdb # Install the bootloader in the MBR bootloader --location=mbr --driveorder=sda,sdb part /boot/efi --fstype=efi --size=500 --ondisk=sda part /boot/efi-dummy --fstype=ext4 --size=500 --ondisk=sdb # You cannot define a specific partition ('onpart') if you use 'clearpart' part raid.sda2 --asprimary --fstype="raid" --ondisk=sda --size=512 part raid.sdb2 --asprimary --fstype="raid" --ondisk=sdb --size=512 part raid.sda3 --asprimary --fstype="raid" --ondisk=sda --size=51200 --grow part raid.sdb3 --asprimary --fstype="raid" --ondisk=sdb --size=51200 --grow...

Install RHEL using software RAID

Issue : I was sorely disappointed when I was exposed to how poor "RAID" is on commodity motherboards (like ASUS and Gigabyte).  I had not put much thought into exactly what it meant when they claimed they had SATA RAID.  This whole epiphany was the result of when I had installed RHEL (or Fedora, I can't recall) on a system with a 1TB drive. Fortunately the drive that was headed for certain doom, failed shortly after the install.  No big deal, right? I'll just throw another drive in and it should take off... somehow?  Well, not even close, actually. fakeRAID is the term I see used in referencing this setup.  There most likely is some benefit to this approach when using Windows and the overlying fakeRAID software components.  It would seem that you could boot the system from one of the 2 mirrors and start the fakeRAID software and inform it that a replacement drive was installed. There may also be some sort of performance improvement using this stack....