-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
281 lines (241 loc) · 10.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>OpenZFS Intro</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="title">
<h1>OpenZFS</h1>
<p>
<small>Talk by <a href="https://narkisr.com">Ronen Narkis</a> / <a href="http://twitter.com/narkisr">@narkisr</a></small>
<small><a href="#/themes">settings</a></small>
</p>
</section>
<section id="backblaze">
<h2>HDD Failures (Backblaze)</h2>
<p>
<q cite="https://www.backblaze.com/blog/hard-drive-failure-rates-q1-2017/"> “annualized failure rate for the drive models listed is 2.07% ”</q>
</p>
<img src="./img/backblaze-fails.webp" alt="" width="800px" height="400px"/>
</section>
<section id="strategy">
<h2>The 3-2-1 backup rule</h2>
<p class="fragment">3 copies of your data</p>
<p class="fragment">2 media formats </p>
<p class="fragment">1 off site</p>
</section>
<section id="Intro">
<h2>ZFS</h2>
<p>Originally developed at Sun, opensource since 2005 </p>
<p>Ported to FreeBSD, Linux, OSx (Windows maybe?) </p>
<p>A volume manager and a Filesystem</p>
<p>Forked into OpenZFS in Sep 2013</p>
</section>
<section id="features">
<h2>Features list (partial)</h2>
<p class="fragment">COW</p>
<p class="fragment">Volume Management </p>
<p class="fragment">Checksummed and self healing</p>
<p class="fragment">Compression/Dedup</p>
<p class="fragment">Multiple Redundancy levels</p>
<p class="fragment">Smart caching</p>
</section>
<section id="pool">
<h2>Pool</h2>
<p>Collection of VDEVs</p>
<p>VDEV is mirror/Raid/Single disk</p>
<p>Writes distributed evenly among VDEVs</p>
<p>Divided into datasets</p>
</section>
<section id="stripped">
<h2>Striped VDEV</h2>
<p class="fragment">No redundancy </p>
<p class="fragment">Fastest performance</p>
</section>
<section id="mirror">
<h2>Mirror VDEV</h2>
<p class="fragment">Pair of disks</p>
<p class="fragment">1 Drive can die</p>
<p class="fragment">Slow(er) write</p>
<p class="fragment">Fast READ</p>
<p class="fragment">Easier to expand</p>
</section>
<section id="raidz">
<h2>RAIDZ VDEV</h2>
<p class="fragment">RAIDZ 1/2/3 (parity disks) </p>
<p class="fragment">More CPU time (parity)</p>
<p class="fragment">Better storage efficiency</p>
</section>
<section id="pool-creation">
<h2> Pool creation</h2>
<a href="./gifs/pool.gif">
<img src="./gifs/pool.gif" alt="" width="1500px" height="500px">
</a>
</section>
<section id="datasets">
<h2> Dataset</h2>
<p class="fragment">Partitioning the pool</p>
<p class="fragment">ZFS properties (mount point/compression/quota etc..)</p>
<p class="fragment">Snapshot-able</p>
<p class="fragment">Create as many as you want (per VM, etc..)</p>
</section>
<section id="dataset-creation">
<h2> Dataset creation </h2>
<a href="./gifs/dataset.gif">
<img src="./gifs/dataset.gif" alt="" width="1500px" height="500px">
</a>
</section>
<section id="self-healing">
<h2>Self healing </h2>
<p class="fragment">Checksum per block on write (per VDEV)</p>
<p class="fragment">Verified on read</p>
<p class="fragment">Restored on failure (depending on redundancy)</p>
<p class="fragment">No need for an fsck (We can scrub)</p>
</section>
<section>
<h2>Snapshots</h2>
<p class="fragment">Cheap to create</p>
<p class="fragment">Can be mounted</p>
<p class="fragment">Sent/Receive</p>
<p class="fragment">Not a backup!</p>
</section>
<section id="snapshot-creation">
<h2> Snapshot creation </h2>
<a href="./gifs/snapshots.gif">
<img src="./gifs/snapshots.gif" alt="" width="1500px" height="500px">
</a>
</section>
<section id="sendnreceive">
<h2> Send and receive</h2>
<a href="./gifs/send.gif">
<img src="./gifs/send.gif" alt="" width="1500px" height="500px">
</a>
</section>
<section id="resilvering">
<h2>Resilvering</h2>
<p>The process of replacing an HDD</p>
<p>Replacing faulty or growing a VDEV</p>
<p>The pool continues to function </p>
<p>Might moves to a degraded state </p>
</section>
<section id="resilver-device">
<h2>Replacing loops</h2>
<a href="./gifs/silver.gif">
<img src="./gifs/silver.gif" alt="" width="1500px" height="500px">
</a>
</section>
<section id="arc">
<h3>Adaptive replacement cache (ARC)</h3>
<p>Created by IBM</p>
<p>Page level cache</p>
<p>MRU and MFU combined </p>
<p>Self Adjusting (shrinking/growing)</p>
<p>Persistent (L2ARC)</p>
</section>
<section id="os">
<h2>OS selection</h2>
<p class="fragment">Linux (Ubuntu)</p>
<p class="fragment">FreeBSD, FreeNAS</p>
<p class="fragment">Omnios, SmartOS (Solaris)</p>
</section>
<section id="hardware">
<h2>Picking the "right" hardware</h2>
<p class="fragment">ECC vs Non ECC RAM</p>
<p class="fragment">Disk controllers (No RAID!)</p>
<p class="fragment">Disks (NAS vs Consumer)</p>
<p class="fragment">How much RAM?</p>
<p class="fragment">CPU?</p>
</section>
<section id="hardware-high-end">
<h2>Hardware (high end)</h2>
<p><a href="https://www.amazon.com/Fractal-Design-Mini-ITX-Computer-FD-CA-NODE-304-BL/dp/B009LHF4FO">Node 304</a></p>
<p><a href="https://www.amazon.com/Supermicro-Mini-ITX-1600MHz-Motherboard-X10SDV-TLN4F/dp/B010W32T62">X10SDV-TLN4F-O</a></p>
<p><a href="https://www.amazon.com/Crucial-PC4-2133-288-Pin-CT4K16G4RFD4213-CT4C16G4RFD4213/dp/B00KUSMVVS/">Crucial ECC RAM 64GB Kit</a></p>
<p><a href="https://www.amazon.com/dp/B073XDWMRT/ref=twister_B076BD7M3R?_encoding=UTF8&psc=1">HGST 10GB</a></p>
<p><a href="https://www.amazon.com/Samsung-850-EVO-2-5-Inch-MZ-75E120B/dp/B00OAJ5N6I/">120GB Samsung EVO</a></p>
<p> <a href="https://www.amazon.com/Silverstone-Nightjar-Completely-Acoustics-NJ520/dp/B00KHO0IG0">Silverstone Tek Nightjar</a></p>
</section>
<section id="hardare-low-end">
<h2>Hardware (low end)</h2>
<p><a href="https://www.amazon.com/Fractal-Design-Mini-ITX-Computer-FD-CA-NODE-304-BL/dp/B009LHF4FO">Node 304</a></p>
<p><a href="https://www.amazon.com/GIGABYTE-Durable-GA-Z170N-WIFI-Desktop-Motherboard/dp/B015IOOJ54">GIGABYTE GA-Z170N-WIFI</a></p>
<p><a href="https://www.amazon.com/Crucial-PC4-17000-Unbuffered-288-Pin-Memory/dp/B00MMLUYQK/">Crucial 16GB Kit</a></p>
<p><a href="https://www.amazon.com/HGST-Deskstar-7200rpm-128MB-Internal/dp/B01N7YOH4P/">HGST 4GB</a></p>
<p><a href="https://www.amazon.com/Samsung-850-EVO-2-5-Inch-MZ-75E120B/dp/B00OAJ5N6I/">120GB Samsung EVO</a></p>
<p><a href="https://www.amazon.com/Silverstone-Nightjar-Completely-Acoustics-NJ520/dp/B00KHO0IG0">Silverstone Tek Nightjar</a></p>
</section>
<section id="more-features">
<h3>More features</h3>
<p>ZVOLs (block devices)</p>
<p>Boot environments</p>
<p>NFS,SAMBA,iSCSI</p>
<p></p>
</section>
<section id="resources">
<h2>Resources </h2>
<p> <a href="https://www.michaelwlucas.com/os/fmzfs">ZFS mastery</a></p>
<p> <a href="https://www.michaelwlucas.com/os/fmaz">Advanced ZFS</a></p>
<p> <a href="https://www.freebsd.org/doc/handbook/zfs.html">FreeBSD Handbook</a></p>
<p> <a href="https://pthree.org/category/zfs/">Aaron Toponce Blog</a></p>
<p> <a href="https://github.com/zfsonlinux/zfs/wiki">ZFS on Linux Wiki</a></p>
</section>
<section id="questions">
<h2> Questions ?</h2>
<p> Check <a href="https://github.com/narkisr">https://github.com/narkisr</a> </p>
<p> <a href="https://twitter.com/narkisr">@narkisr</a></p>
</section>
<section id="themes">
<h2>Settings</h2>
<p>
Select theme: <br>
<!-- Hacks to swap themes after the page has loaded. Not flexible and only intended for the reveal.js demo deck. -->
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/black.css'); return false;">Black (default)</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/white.css'); return false;">White</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/league.css'); return false;">League</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/sky.css'); return false;">Sky</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/beige.css'); return false;">Beige</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/simple.css'); return false;">Simple</a> <br>
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/serif.css'); return false;">Serif</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/blood.css'); return false;">Blood</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/night.css'); return false;">Night</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/moon.css'); return false;">Moon</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/solarized.css'); return false;">Solarized</a>
</p>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
slideNumber: true,
history: true,
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: false, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
</body>
</html>