Changes for page ZFS - The Aaron Topponce Archive


on 2024-09-01 06:35


on 2024-09-01 08:50
Summary
Details
- Page properties
-
- Content
-
... ... @@ -1,10 +1,14 @@ 1 += Install ZFS on Debian GNU/Linux = 2 + 3 +== Table of Contents == 4 + 1 1 (% class="row" %) 2 2 ((( 3 3 (% class="col-xs-12 col-xs-4" %) 4 4 ((( 5 -Zpool Administration 6 -0. Install ZFS on Debian GNU/Linux 7 -~1. VDEVs 9 +**Zpool Administration** 10 +0. [[Install ZFS on Debian GNU/Linux>>doc:]] 11 +~1. [[VDEVs>>doc:.ZFS-Administration-Part-I-VDEVs.WebHome]] 8 8 2. RAIDZ 9 9 3. The ZFS Intent Log (ZIL) 10 10 4. The Adjustable Replacement Cache (ARC) ... ... @@ -16,7 +16,7 @@ 16 16 17 17 (% class="col-xs-12 col-xs-4" %) 18 18 ((( 19 -ZFS Administration 23 +**ZFS Administration** 20 20 9. Copy-on-write 21 21 10. Creating Filesystems 22 22 ~11. Compression and Deduplication ... ... @@ -30,7 +30,7 @@ 30 30 31 31 (% class="col-xs-12 col-xs-4" %) 32 32 ((( 33 -Appendices 37 +**Appendices** 34 34 A. Visualizing The ZFS Intent Log (ZIL) 35 35 B. Using USB Drives 36 36 C. Why You Should Use ECC RAM ... ... @@ -37,6 +37,7 @@ 37 37 D. The True Cost Of Deduplication 38 38 ))) 39 39 ))) 44 +---- 40 40 41 41 **UPDATE (May 06, 2012)**: I apologize for mentioning it supports encryption. Pool version 28 is the latest source that the Free Software community has. Encryption was not added until pool version 30. So, encryption is not supported natively with the ZFS on Linux project. 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. Until Oracle gets their act together, and releases the current sources of ZFS, crypto is not implemented. 42 42 ... ... @@ -46,11 +46,13 @@ 46 46 47 47 **UPDATE (May 05, 2013)**: I've updated the installation instructions. The old instructions included downloading the source and installing from there. At the time, that was all that was available. Since then, the ZFS on Linux project has created a proper Debian repository that you can use to install ZFS. Here is how you would do that: 48 48 49 -{{{$ su - 54 +{{code language="bash session"}} 55 +$ su - 50 50 # wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_2%7Ewheezy_all.deb 51 51 # dpkg -i zfsonlinux_2~wheezy_all.deb 52 52 # apt-get update 53 -# apt-get install debian-zfs}}} 59 +# apt-get install debian-zfs 60 +{{/code}} 54 54 55 55 And that's it! 56 56 ... ... @@ -60,21 +60,40 @@ 60 60 61 61 --**A word of note:** the manpages get installed to /share/man/. I found this troubling. You can modify your $MANPATH variable to include /share/man/man8/, or by creating symlinks, which is the approach I took:-- 62 62 63 -{{{# cd /usr/share/man/man8/ 70 +--{{{# cd /usr/share/man/man8/ 64 64 # ln -s /share/man/man8/zdb.8 zdb.8 65 65 # ln -s /share/man/man8/zfs.8 zfs.8 66 -# ln -s /share/man/man8/zpool.8 zpool.8}}} 73 +# ln -s /share/man/man8/zpool.8 zpool.8 74 +}}}--- 67 67 68 68 Now, make your zpool, and start playing: 69 69 70 -{{{$ sudo zpool create test raidz sdd sde sdf sdg sdh sdi}}} 78 +{{code language="bash session"}} 79 +$ sudo zpool create test raidz sdd sde sdf sdg sdh sdi 80 +{{/code}} 71 71 72 72 It is stable enough to run a ZFS root filesystem on a GNU/Linux installation for your workstation as something to play around with. It is copy-on-write, supports compression, deduplication, file atomicity, off-disk caching, --encryption,-- and much more. 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. Either way, it doesn't matter to me. Both are Free Software, and both provide the long needed features we've needed with today's storage needs. Competition is healthy, and I love having choice. Right now, that choice might just be ZFS. 73 73 74 - Posted by Aaron Toponce on Tuesday, April 17, 2012, at 2:10 pm.Filed under [[Debian>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/debian/]], [[Linux>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/linux/]], [[Ubuntu>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/ubuntu/]], [[ZFS>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/zfs/]].Follow any responses to this post with its [[comments RSS>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/feed/]] feed.You can [[post a comment>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/#respond]] or [[trackback>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/trackback/]] from your blog.For IM, Email or Microblogs, here is the [[Shortlink>>url:https://web.archive.org/web/20210605031658/https://pthree.org/?p=2357]].84 +---- 75 75 76 -{{info}} 77 -Retrieved from [[https:~~/~~/web.archive.org/web/20210605031658/https:~~/~~/pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/>>https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/]] 78 -{{/info}} 86 +(% style="text-align: center;" %) 87 +Posted by Aaron Toponce on Tuesday, April 17, 2012, at 2:10 pm. 88 +Filed under [[Debian>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/debian/]], [[Linux>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/linux/]], [[Ubuntu>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/ubuntu/]], [[ZFS>>url:https://web.archive.org/web/20210605031658/https://pthree.org/category/zfs/]]. 89 +Follow any responses to this post with its [[comments RSS>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/feed/]] feed. 90 +You can [[post a comment>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/#respond]] or [[trackback>>url:https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/trackback/]] from your blog. 91 +For IM, Email or Microblogs, here is the [[Shortlink>>url:https://web.archive.org/web/20210605031658/https://pthree.org/?p=2357]]. 79 79 80 - 93 +---- 94 + 95 +{{box title="**Archived From:**"}} 96 +[[https:~~/~~/web.archive.org/web/20210605031658/https:~~/~~/pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/>>https://web.archive.org/web/20210605031658/https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/]] 97 +{{/box}} 98 + 99 +{{code language="bash session"}} 100 +$ su - 101 +# wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_2%7Ewheezy_all.deb 102 +# dpkg -i zfsonlinux_2~wheezy_all.deb 103 +# apt-get update 104 +# apt-get install debian-zfs 105 + 106 +{{/code}}