![]() ![]() It almost goes without saying but if you’re not very familiar with linux system administration at this point, you probably shouldn’t be attempting this. That’s quit a big area to cover but here are a few links: ZFS has a lot of ins and outs and I certainly am not an expert in it, but knowing the how and why, as well as terminology and even history of the project is very important.Īlong with ZFS (which is likely the most unknown quantity here) you probably want to be familiar with Ubuntu and general systems administration. Step 0: RTFMīefore you know if ZFS (or any filesystem) is worth switching to, you’re probably going to want to RTFM. This post is a stanza-by-stanza explanation of my Ansible scripts that install ZFS. I encountered some issues (particularly post-install) while setting up ZFS on my systems so I wanted to give a walkthrough of how I did it. I won’t bore anyone with the why, but one of the things I needed to navigate was how to install newer versions of ZFS on Ubuntu 20.04 (one of the supported operating systems at Hetzner). There are lots of choices in the space (standard LVM, mdraid btrfs, etc), but I chose ZFS for it’s feaureset and ergonomics. Tl dr - Line by line explanation of my ansible-powered ZFS install script for use on Hetzner’s dedicated hardware (Ubuntu 20.04 - “Focal”) – it’s not perfect/minimal, but it works for me.Ī while back I started using ZFS on all my bare metal dedicated hardware hosted at Hetzner to wrangle the attached HDDs and SSDs. Step 6.2: Add kernel module load configuration.Step 6.1: (optional) Prevent kernel upgrades.Step 6: Post installation settings changes.Step 5.1: Ensure locally installed kernel modules are read before others.Step 5.0: Enable in current kernel via modprobe.Step 4.2: Forceful unload & reload of ZFS modules, with helper install. ![]() Step 3.2: Download or copy in ZFS source code.Step 3.0: Install system dependencies for OpenZFS.Step 2.0: Hold zfsutils-linux and zfs-zed.Step 2: Hold back all the Ubuntu repository ZFS versions.Step 1: (optional) Partition your drives.Right now, that choice might just be ZFS. Competition is healthy, and I love having choice. Both are Free Software, and both provide the long needed features we've needed with today's storage needs. At this point, unfortunately, I'm convinced that ZFS as a Linux kernel module will become "stable" long before Btrfs will be stable in the mainline kernel. It is copy-on-write, supports compression, deduplication, file atomicity, off-disk caching, encryption, and much more. It is stable enough to run a ZFS root filesystem on a GNU/Linux installation for your workstation as something to play around with. Now, make your zpool, and start playing: $ sudo zpool create test raidz sdd sde sdf sdg sdh sdi You can modify your $MANPATH variable to include /share/man/man8/, or by creating symlinks, which is the approach I took: # cd /usr/share/man/man8/ If they are, I've left them in this post, just struck out.Ī word of note: the manpages get installed to /share/man/. UPDATE (May 05, 2013): The following instructions may not be relevant for fixing the manpages. If you're running Ubuntu, which I know most of you are, you can install the packages from the Launchpad PPA. Since then, the ZFS on Linux project has created a proper Debian repository that you can use to install ZFS. At the time, that was all that was available. The old instructions included downloading the source and installing from there. UPDATE (May 05, 2013): I've updated the installation instructions. You can track the progress of that porting at. So long as the project remains under contract by the Department of Defense in the United States, I'm confident there will be continuous updates. The documents already exist for getting this going, I'm just hoping to spread this to a larger audience, in case you are unaware that it exists.įirst, the Lawrence Livermore National Laboratory has been working on porting the native Solaris ZFS source to the Linux kernel as a kernel module. Quick post on installing ZFS as a kernel module, not FUSE, on Debian GNU/Linux. Until Oracle gets their act together, and releases the current sources of ZFS, crypto is not implemented. However, you can use LUKS containers underneath, or you can use Ecryptfs for the entire filesystem, which would still give you all the checksum, scrubbing and data integrity benefits of ZFS. So, encryption is not supported natively with the ZFS on Linux project. Encryption was not added until pool version 30. Pool version 28 is the latest source that the Free Software community has. UPDATE (May 06, 2012): I apologize for mentioning it supports encryption. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |