changing hostname in ubuntu

I cloned a virtual server and late realised they had the same hostname. No problem. change the hostname in /etc/hostname: sudo nano /etc/hostname change the hostname in /etc/hosts: this file will contain localhost and your old hostname. eg, 127.0.0.1 localhost 127.0.1.1 <new-host-name> edit this file to suit. Finally, change the hostname in the current session: […]

symbolic links in linux and Ubuntu

I always seem to have a tough time getting symbolic links right and often finding myself either Googling them or running test link after test link until I nail it. Normally I follow the mantra: command {something} {somewhere} such as: mount /dev/sda1 /media/mydrive /dev/sds1 being the “something” and the /media/mydrive being the somewhere But with […]

ZFS on Ubuntu 14.04

I found 4x old 750GB hard drives from 2008 which came up as ZFS when I installed them into a new ubuntu system on an old box. I installed ZFSonLinux (specifically ubuntu 14.04), samba (smb) and SSH (OpenSSH) and set to the task of re-creating the volume. Essentially, it was very painless… except for a couple of hours in there one of the power cables had come off one of the raid drives and it took a fair bit of diagnoses to get it sorted. In the end. I resilvered 1.3TB of data and set to the task of working out whether I should delete it or back it up to my new RAID… This is how I did it.