Thursday, December 8, 2016

Out with Rockstor, in with Ubuntu 16.04 Server with ZFS

So my RockStor started to get weird- at first it wouldn't show my rockon (docker) for Plex anymore, though Plex kept working- but then at some point the Plex server no longer worked, and RockStor was showing my ~4TBs of media as all gone (RAID 5).  So BTRFS, I like to route for the underdog and tried a new thing, but I want stability.

The possible easy route from here is FreeNAS, but I honestly haven't liked dealing with anything built on FreeBSD and I have a hard enough time learning Linux, I don't have the capacity to learn FreeBSD as well- furthermore I had tried FreeNAS before RockStor and couldn't get anything to work- Samba, NFS, Pools etc.  But there are heaps and heaps of Ubuntu tutorials and support out there, and ZFS (the big selling point behind FreeNAS IMO) is now officially supported and stable in Linux.

Installing Ubuntu server is pretty strait forward, but I ensured that my ESXi instance afforded 8 gigs of RAM for my 7TB of RAIDZ (RAID 5) storage spread across 5 2TB drives.  The following site to get ZFS running was a great help:
http://www.cio.com/article/3040071/linux/how-to-set-up-a-redundant-storage-pool-with-zfs-and-ubuntu.html

This URL was great for going past the pool setup, making data sets and enabling sharing via samba and NFS.
https://www.latentexistence.me.uk/zfs-and-ubuntu-home-server-howto/

modifying in Linux to mount share even after restarts
https://forum.level1techs.com/t/mount-freenas-drive-to-my-computer-linux-mint/110459

GUI via Ajenti
http://support.ajenti.org/topics/1130-installing-ajenti-v-on-debianubuntu/

No comments:

Post a Comment