Last modified by Drunk Monkey on 2024-09-01 12:35

From version 1.4
edited by Drunk Monkey
on 2024-09-01 06:28
Change comment: There is no comment for this version
To version 1.5
edited by Drunk Monkey
on 2024-09-01 06:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,41 +1,80 @@
1 1  (% class="row" %)
2 2  (((
3 -
4 4  (% class="col-xs-12 col-xs-4" %)
5 5  (((
6 6  Zpool Administration
7 -~0. Install ZFS on Debian GNU/Linux
6 +0. Install ZFS on Debian GNU/Linux
8 8  ~1. VDEVs
9 -~2. RAIDZ
10 -~3. The ZFS Intent Log (ZIL)
11 -~4. The Adjustable Replacement Cache (ARC)
12 -~5. Exporting and Importing Storage Pools
13 -~6. Scrub and Resilver
14 -~7. Getting and Setting Properties
15 -~8. Best Practices and Caveats
8 +2. RAIDZ
9 +3. The ZFS Intent Log (ZIL)
10 +4. The Adjustable Replacement Cache (ARC)
11 +5. Exporting and Importing Storage Pools
12 +6. Scrub and Resilver
13 +7. Getting and Setting Properties
14 +8. Best Practices and Caveats
16 16  )))
17 17  
18 18  (% class="col-xs-12 col-xs-4" %)
19 19  (((
20 20  ZFS Administration
21 -~9. Copy-on-write
22 -~10. Creating Filesystems
20 +9. Copy-on-write
21 +10. Creating Filesystems
23 23  ~11. Compression and Deduplication
24 -~12. Snapshots and Clones
25 -~13. Sending and Receiving Filesystems
26 -~14. ZVOLs
27 -~15. iSCSI, NFS and Samba
28 -~16. Getting and Setting Properties
29 -~17. Best Practices and Caveats
23 +12. Snapshots and Clones
24 +13. Sending and Receiving Filesystems
25 +14. ZVOLs
26 +15. iSCSI, NFS and Samba
27 +16. Getting and Setting Properties
28 +17. Best Practices and Caveats
30 30  )))
31 31  
32 32  (% class="col-xs-12 col-xs-4" %)
33 33  (((
34 34  Appendices
35 -~A. Visualizing The ZFS Intent Log (ZIL)
36 -~B. Using USB Drives
37 -~C. Why You Should Use ECC RAM
38 -~D. The True Cost Of Deduplication
34 +A. Visualizing The ZFS Intent Log (ZIL)
35 +B. Using USB Drives
36 +C. Why You Should Use ECC RAM
37 +D. The True Cost Of Deduplication
39 39  )))
40 -
41 41  )))
40 +
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 +
43 +Quick post on installing ZFS as a kernel module, not FUSE, on Debian GNU/Linux. 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.
44 +
45 +First, the [[Lawrence Livermore National Laboratory>>https://www.llnl.gov/]] has been working on porting the native Solaris ZFS source to the Linux kernel as a kernel module. 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. You can track the progress of that porting at http://zfsonlinux.org.
46 +
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 +
49 +{{{$ su -
50 +# wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_2%7Ewheezy_all.deb
51 +# dpkg -i zfsonlinux_2~wheezy_all.deb
52 +# apt-get update
53 +# apt-get install debian-zfs}}}
54 +
55 +And that's it!
56 +
57 +If you're running Ubuntu, which I know most of you are, you can install the packages from the Launchpad PPA [[https:~~/~~/launchpad.net/~~~~zfs-native>>url:https://web.archive.org/web/20210605031658/https://launchpad.net/~~zfs-native]].
58 +
59 +**UPDATE (May 05, 2013)**: The following instructions may not be relevant for fixing the manpages. If they are, I've left them in this post, just struck out.
60 +
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 +
63 +{{{# cd /usr/share/man/man8/
64 +# ln -s /share/man/man8/zdb.8 zdb.8
65 +# ln -s /share/man/man8/zfs.8 zfs.8
66 +# ln -s /share/man/man8/zpool.8 zpool.8}}}
67 +
68 +Now, make your zpool, and start playing:
69 +
70 +{{{$ sudo zpool create test raidz sdd sde sdf sdg sdh sdi}}}
71 +
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 +
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]].
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}}
79 +
80 +