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.

 

Plex Web Interface Stopped Responding

Plex Server on my Ubuntu 14.04 went totally apeshit one day and would not load the web interface. Why?, I did not update the VM, it was silently just hammering along day by day.

Debian fucking stable here we go

Spooling up a new VM and installing Plex and mounting samba took 10 minutes, my copy pasta keyboard skills were so epic that a full size orchestra could not keep up.

Phew, Plex does want to show me the web interface. Brilliant, now let’s just log into my account..

plex

And then it exploded, some strange update in Plex got the webinterface to hang when connecting the Plex server to a Plex user account. Fuck it I’ll let it be in “non-botnet-mode” for a while, can still watch my stuffs anyways.

On a positive note the ffmpeg package in deb-multimedia is more stable than Ubuntu’s.

 

 

Ivan’s Lollipop rom for Mi 3 is getting good

Just tired out Ivan’s Android 5.0.2 Lollipop rom for the Mi 3. It’s actually good enough for daily use because he fixed the deep sleep issue which caused the phone to suddenly reboot.

The only bug left seems to be that the NFC still does not work. Had some problems with the Play Store that it could not download several apps at the same time, but the bug went away when I tried to look at the problem (wtf).

You need to install ClockworkMod Recovery to be able to install the rom.

Lollipop (5.0.2) AOSP for Mi3w By Ivan

 

 

 

Déjà Dup with Google Drive

Warning: This could likely kill your cat and eat your backups.
The backend is not enabled by default for some reason. But if you want to try out Deja Dup with the Google Drive backend these instructions might work.
I am currently testing it out myself on Ubuntu 14.04, it’s a bit slow but it does work.

Install dependencies:

Clone deja-dup

Edit libdeja/BackendGDrive.vala

In the deja-dup root:

Now Google Drive will appear in the drop-down menu and should work with absolutely no guarantee that it’s safe.

Good luck!