Butt simple Proxmox NFS setup for backups

In this butt simple tutorial you have 1 Proxmox server and 1 backup server.

Install NFS  and make backup folders on your backup server. Do not call the datastore folder “backup”, that name under /var is still reserved.


Add those new folders to exports and the IP adresse of the Proxmox server. But remember there is no auth in this setup, it’s the butt simple “Is it that IP address? auth”. So I assume you have full control of your network and have static IP’s on every server.

Spool up NFS with the new exports

Open Proxmox Web Interface and go to Datacenter->Storage->Add->NFS

I do something like this

Then you simply just add backup schedules for daily backups and weekly backups.

I recommend 2 schedules for each server, 1 for daily and 1 for weekly. Proxmox still have a banan up their “hum hum” and have not made it simpler to schedule monthly backups.

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.


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.


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!


Ubuntu 14.10: You will probably just stick with LTS

After trying out the 14.10 Final Beta I came you realize that this release will probably be the most boring Ubuntu release in several years.

It is so boring that even the wallpaper remains the same.

The Unity desktop environment gets some patches, they bump the package versions in the repos and dump in a newer kernel. Even most of the Gnome stack remains on 3.10 (who knows there might be 3.8 packages still floating around).
Ubuntu Gnome gets 3.12, one release behind upstream as usual and Kubuntu bumps KDE to 4.14 and separates Plasma 5 to a technical preview release.

The only reason for installing 14.10 is if you need drivers for your super new laptop. My tip is that you stay with 14.04 LTS and use PPA’s for the apps you absolutely need newer versions of.

It kinda seems like the entire workforce is focused on patching Ubuntu Phone RTM, and that’s okay.. but only if Meizu manages to deliver the MX 4 Ubuntu Phone.

Books I want to read but does not exist:

Coding Drunk
You should try this atleast once.

A note on Ubuntu 14.04

I have used Ubuntu for quite some time now. For me it has been to goto distro for laptops because of the large community. If you need something or have a problem, chances are high that the answer you seek is in between the first five Google search results.

It just fucking works, every time =  Stay productive

My first experience with Ubuntu 14.04 is that everything worked on my new Vaio Pro 13. Unity has been polished with smoother animations and performance fixes, it even now detects correct refresh-rate on Nvidia graphics cards running proprietary drivers. Everything else is boring since there isn’t much new, sure we got updated packages and we can have a menu on the window decorator but it isn’t really exciting.

The thing you always stare at is the desktop interface, not directly but everything you do on the computer is displayed with it’s divine grace. So if the experience is inconsistent and laggy it starts bothering you and it feels like you are painting rust with the cursor. Give me vertical tearing and I will find you and kill you.

People may not like Unity, but multi-monitor Gnome can go and fuck itself.

Ubuntu 13.10’s Compiz does not detect correct refresh rate, defaults to 50hz, resets after logout, wtf?

Unity is a Compiz plugin, and when Compiz cannot detect the refresh rate it defaults to 50hz.
This normaly happens on my Nvidia proprietary drivers.

Why the hell would they default to 50hz?
Who decided that 50hz would be a smart fallback?
Is Ubuntu’s main consumer PAL TV Stations?

But still, I have had this problem for quite a while now, and only last week I got angry and sat down to figure out what the heck was going on.
To fix this, you have to MANUALY go into ccsm and input the correct refresh rate EACH TIME, since it does not save upon logout/reboot.
Or just make a script and add it to startup programs:



Ubuntu, Eclipse, Golang, Gocode Tutorial

You want to program Golang but having a hard time working on Eclipse to get it working?

Here is a simple speedorial:

1 Eclipse

2 Eclipse Go Settings

  • Go to Window-> Preferences
  • Select Go
  • GOROOT: /usr/lib/go
    GOPATH: /usr/share/go
    Go-tool path: /usr/bin/go
    Go formatter: /usr/bin/gofmt
    Go documentor: /usr/bin/godoc

3 GoCode for Autocompletion

  • Make sure you have git installed: sudo apt-get install git
  • Get gocode with: sudo go get -u github.com/nsf/gocode
  • In Eclipse go to Window-> Preferences
  • Select Go-> Gocode (Submenu)
  • Gocode path: /usr/lib/go/bin/gocode

Kinda shitty written, but this might/maybe/hopefully get you going with autocompletion and everything :)

Ubuntu 13.04 Phased Updates: Users not getting updates

With the enablement of the new Phased Updates, only 10% of the users get updates.

  • Updates pushed out to 10% of users
  • If errors reported the update process is stopped
  • If no errors reported, another 10% get updates
  • Repeat

What really happens:

  • Update pushed out to 10% of users
  • Errors reported
  • Patched update pushed out to 10% of users
  • Errors reported.
  • Repeat

Trackpoint scrolling on Ubuntu suddenly stopped working

After updating to xorg-edgers, i lost the trackpoint scrolling feature.

So I went into /etc/X11/xorg.conf and added this:

And bang, it worked again.