Linux terror: Raid 6 + LVM + GRUB

Oh noes, the hardware raid does not support Raid 6. Damn, what’s the price for a new card?.. 590$ you say?

mdadm engange

The plan was to get the entire system on Raid 6 spanning 6 drives and use LVM to create / and /var/datastore.

Did you know that when you use Ubuntu, it does not tell you that it formatted the drives with GTP?
That means 1 hour googling to figure out why the fuck grub won’t install.
What you need to do is make a Bios Boot Partion of 1 MB. But.. okay.. so every drive needs

  • Bios boot partition
  • RAID Partition

And that means before you swap out your failed drive you need to setup the partitions before plugging it into the raid.
Then you setup LVM over the raid partitions.

  • vgroot
    • lvroot, ext4 /
    • lvdatastore, ext4 /var/datastore

Then you install everything, grub will install and not boot.

NOT A CHANCE IN COW FUCKING GNA/LOOONIX GRUB SHIT.

Then you reboot to recovery and mount it, because yeah everything is perfectly setup so you can chroot into the abomination you created!
Then you try altering grub shit, even GRUB_PRELOAD_MODULES to include LVM and raid stuffs, create a new config and install grub on every fucking drive since it’s smart and then.. you  reboot.. and it will not boot.

There, I give up, fuck you Ubuntu Server and fuck you grub.

Purchase a good hardware raid controller you twat.

 

Leave a Reply

Your email address will not be published.