FreeBSD mastery: ZFS:
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Middletown, DE
Tilted Windmill Press
2015
|
Schlagworte: | |
Online-Zugang: | Klappentext Inhaltsverzeichnis |
Beschreibung: | 201 Seiten |
ISBN: | 9780692452356 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV043290667 | ||
003 | DE-604 | ||
005 | 20190626 | ||
007 | t | ||
008 | 160118s2015 |||| 00||| eng d | ||
020 | |a 9780692452356 |9 978-0-692-45235-6 | ||
024 | 3 | |a 9780692452356 | |
035 | |a (OCoLC)953623825 | ||
035 | |a (DE-599)BSZ434262056 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-739 |a DE-11 | ||
084 | |a ST 261 |0 (DE-625)143633: |2 rvk | ||
100 | 1 | |a Lucas, Michael |d 1967- |0 (DE-588)130507571 |4 aut | |
245 | 1 | 0 | |a FreeBSD mastery: ZFS |c Michael W. Lucas ; Allan Jude |
264 | 1 | |a Middletown, DE |b Tilted Windmill Press |c 2015 | |
300 | |a 201 Seiten | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a FreeBSD |0 (DE-588)4529581-5 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a FreeBSD |0 (DE-588)4529581-5 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Jude, Allan |0 (DE-588)1152421093 |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Klappentext |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000002&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-028711807 |
Datensatz im Suchindex
_version_ | 1804175820995952640 |
---|---|
adam_text | • understand how copy-on-write changes everything
• snapshot filesystems
• automatically rotate snapshots ;
f
Complete Contents
Chapter 0: Introduction......................................1
What is ZFS?...............................................1
ZFS History................................................3
Prerequisites..............................................4
Where to Use ZFS?........................................5
ZFS Hardware...............................................6
RAM......................................................6
RAID Controllers.........................................6
SATA vs. SAS vs. SSD.....................................8
Disk Redundancy..........................................8
Physical Redundancy......................................9
Disk Installation and Labeling...........................9
About this Book...........................................11
Book Overview.............................................12
Chapter 1: Introducing ZFS..................................15
ZFS Datasets..............................................15
ZFS Partitions and Properties.............................17
ZFS Limits..............................................19
Storage Pools.............................................19
Virtual Devices...........................................20
Blocks and Inodes.........................................21
Chapter 2: Virtual Devices..................................23
Disks and Other Storage Media.............................23
Raw Disk Storage..................................... .23
Partition Storage.......................................24
GEOM Device Storage.....................................25
File-Backed Storage................................... 27
Providers vs. Disks.....................................27
r
VDEVs: Virtual Devices.....................................28
VDEV Redundancy............................................29
Stripe (1 Provider)......................................29
Mirrors (2+ Providers)...................................30
RAID-Z1 (3+ Providers)...................................30
RAID-Z2 (4+ Providers)...................................31
RAID-Z3 (5+ Providers)...................................31
RAID-Z Disk Configurations...............................31
The RAID-Z Rule of 2s....................................32
Repairing VDEVs..........................................32
RAID-Z versus traditional RAID.............................33
Special VDEVs..............................................34
Separate Intent Log (SLOG, ZIL)..........................34
Cache (L2ARC)............................................35
How VDEVs Affect Performance...............................36
One Disk.................................................38
Two Disks................................................38
Three Disks..............................................39
Four or Five Disks.......................................40
Six to Twelve Disks......................................41
Many Disks...............................................42
Chapter 3: Pools.............................................45
ZFS Blocks.................................................45
Stripes, RAID, and Pools...................................46
Viewing Pools............................................48
Multiple VDEVs...........................................50
Removing VDEVs...........................................51
Pools Alignment and Disk Sector Size.......................51
Partition Alignment......................................51
ZFS Sector Size..........................................52
FreeBSD 10.1 and Newer Ashift.......................... 53
Older FreeBSD Ashift........................ ...........54
Creating Pools and VDEVs............................. 55
Sample Drives.......................................... 55
Striped Pools.......................................... 56
Mirrored Pools...........................................56
RAID-Z Pools.............................................57
Multi-VDEV Pools...........................................59
Using Log Devices..........................................61
Mismatched VDEVs...........................................62
Reusing Providers..........................................63
Pool Integrity...............................................64
ZFS Integrity..............................................64
Scrubbing ZFS..............................................65
Scrub Frequency............................................67
Pool Properties..............................................67
Viewing Pool Properties.................................. 67
Changing Pool Properties...................................68
Pool History........................................... 69
Zpool Maintenance Automation........................... ....70
Removing Pools..................................... 71
Zpool Feature Flags...................................... 72
Viewing Feature Flags.................................... 73
Chapter 4: ZFS Datasets...................................... 75
Datasets.....................................................76
Dataset Types..............................................77
Why Do I Want Datasets?....................................78
Viewing Datasets.............................................80
Creating, Moving, and Destroying Datasets....................81
Creating Filesystems.......................................81
Creating Volumes...........................................82
Renaming Datasets..........................................82
Moving Datasets............................................83
Destroying Datasets........................................83
ZFS Properties............................................. 84
Viewing Properties....................................... 84
Changing Properties.................................... 86
Read-Only Properties................................... ..86
Filesystem Properties........................................87
atime............................................ ....87
exec................................................. 87
readonly...................................... .....88
setuid.....................................................88
User-Defined Properties......................................88
Parent/Child Relationships.....................................................89
Inheritance and Renaming.....................................................90
Removing Properties..........................................................91
Mounting ZFS Filesystems.......................................................91
Datasets without Mount Points................................................93
Multiple Datasets with the Same Mount Point..................................94
Pools without Mount Points...................................................96
Manually Mounting and Unmounting Filesystems.................................96
ZFS and /etc/fstab.............................................................96
Tweaking ZFS Volumes...........................................................97
Space Reservations...........................................................97
Zvol Mode....................................................................98
Dataset Integrity..............................................................99
Checksums....................................................................99
Copies.................................................................... 100
Metadata Redundancy.........................................................102
Chapter 5: Repairs Renovations................................................103
Resilvering....................................................103
Expanding Pools...............................................................105
Adding VDEVs to Striped Pools...............................................106
Adding VDEVs to Striped Mirror Pools........................................106
Adding VDEVs to Striped RAID-Z Pools........................................107
Hardware Status............................................................. 108
Online......................................................................109
Degraded....................................................................109
Faulted.....................................................................109
Unavail.....................................................................110
Offline.....................................................................110
Removed.....................................................................110
Errors through the ZFS Stack.................................110
Restoring Devices.............................................................112
Missing Drives................................................... .....112
Replacing Drives........................................................ ..112
Faulted Drives................................................ ....113
Replacing the Same Slot............................. ......................114
Replacing Unavail Drives....................................................115
Replacing Mirror Providers..................................................116
Reattaching Unavail and Removed Drives...................................117
Log and Cache Device Maintenance...........................................117
Adding a Log or Cache Device.............................................117
Removing Log and Cache Devices...........................................118
Replacing Failed Log and Cache Devices...................................119
Exporting and Importing Drives.............................................119
Exporting Pools..........................................................120
Importing Pools..........................................................120
Renaming Imported Pools.............................................. 121
Incomplete Pools................................................... 122
Special Imports.................................................... 123
Larger Providers................................................. ........124
Zpool Versions and Upgrades............................................ 127
ZFS Versions and Feature Flags...........................................128
Zpool Upgrades and the Boot Loader........................................130
FreeBSD ZFS Pool Limitations........................................... 130
Chapter 6: Disk Space Management...................... ......................131
Reading ZFS Disk Usage................................................. 131
Referenced Data..........................................................132
Freeing Space............................................................133
Disk Space Detail..........................................................134
Pool Space Usage...........................................................136
ZFS, df(l), and Other Traditional Tools..................................136
Limiting Dataset Size......................................................138
Reservations................................................................139
Viewing Reservations.....................................................141
Setting and Removing Reservations........................................141
Quotas............................................................... 142
Dataset Quotas.................. .......................................142
Setting Quotas..................................................... 143
Viewing Quotas......................................................... 144
Exceeded Quotas........................................................................... 145
User and Gi oup Quotas................................................. 145
Viewing Space Used and Existing Quotas per Dataset............ 145
Assigning and Removing User and Group Quotas.................. 146
Viewing Individual Quotas.................... ..........................147
ZFS Compression..........................................147
Enabling Compression...................................148
Compression Algorithms.................................149
Compression Properties.................................150
Choosing an Algorithm..................................150
When to Change Compression Algorithms..................152
Compression and Performance............................153
Deactivating Compression...............................154
Deduplication............................................154
Deduplication Memory Needs.............................155
Deduplication Effectiveness............................157
Enabling Deduplication.................................159
Disabling Deduplication................................159
Chapter 7: Snapshots and Clones............................161
Copy-on-Write............................................162
How Snapshots Work.......................................164
Using Snapshots........................................ 166
Creating a Snapshot....................................166
Dataset Changes and Snapshot Space.....................166
Recursive Snapshots....................................167
Advanced Dataset and Snapshot Viewing....................168
View Datasets by Type..................................169
Modifying zfs list Output..............................171
Listing Snapshots by Default...........................172
Scripts and ZFS........................................172
Per-Snapshot Space Use...................................173
Accessing Snapshots......................................174
Secret Snapdir.........................................174
Mounting Snapshots.....................................175
Deleting Snapshots..................................... 175
Destruction Dry Runs...................................175
Recursion and Ranges............................... 176
Rolling Back...................................· ··—·....177
Diffing snapshots...................................... 179
Automatic Snapshot Regimen.................................180
Rotation Schedule........................................180
ZFS Tools................................................181
zfs-auto-snapshot........................................182
Enabling Automatic Snapshots.............................183
Viewing Automatic Snapshots..............................184
Getting Clever with zfs-auto-snap........................185
Holds......................................................185
Bookmarks..................................................186
Clones................................................. 187
Creating a Clone..................................... 187
Viewing Clones....................................... 188
Deleting Clones and Snapshots.......................... 189
Promoting Clones....................................... 190
Safely Managing Clones, Snapshots, and Recursion ..........193
Chapter 8: Installing to ZFS.................................195
FreeBSD Reference Install..................................196
Custom ZFS Installation Partitioning.......................196
Disk Partitioning........................................197
Pool Creation............................................197
Datasets.................................................198
Post-Install Setup.......................................199
Manually Installing FreeBSD................................200
Afterword....................................................201
About the Authors............................................203
Never miss a new Lucas release!..........................205
More Tech Books from Michael W Lucas................... 205
|
any_adam_object | 1 |
author | Lucas, Michael 1967- Jude, Allan |
author_GND | (DE-588)130507571 (DE-588)1152421093 |
author_facet | Lucas, Michael 1967- Jude, Allan |
author_role | aut aut |
author_sort | Lucas, Michael 1967- |
author_variant | m l ml a j aj |
building | Verbundindex |
bvnumber | BV043290667 |
classification_rvk | ST 261 |
ctrlnum | (OCoLC)953623825 (DE-599)BSZ434262056 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01536nam a2200349 c 4500</leader><controlfield tag="001">BV043290667</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20190626 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">160118s2015 |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780692452356</subfield><subfield code="9">978-0-692-45235-6</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780692452356</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)953623825</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BSZ434262056</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield><subfield code="a">DE-11</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 261</subfield><subfield code="0">(DE-625)143633:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Lucas, Michael</subfield><subfield code="d">1967-</subfield><subfield code="0">(DE-588)130507571</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">FreeBSD mastery: ZFS</subfield><subfield code="c">Michael W. Lucas ; Allan Jude</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Middletown, DE</subfield><subfield code="b">Tilted Windmill Press</subfield><subfield code="c">2015</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">201 Seiten</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">FreeBSD</subfield><subfield code="0">(DE-588)4529581-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">FreeBSD</subfield><subfield code="0">(DE-588)4529581-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Jude, Allan</subfield><subfield code="0">(DE-588)1152421093</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Klappentext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000002&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-028711807</subfield></datafield></record></collection> |
id | DE-604.BV043290667 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T07:22:22Z |
institution | BVB |
isbn | 9780692452356 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-028711807 |
oclc_num | 953623825 |
open_access_boolean | |
owner | DE-739 DE-11 |
owner_facet | DE-739 DE-11 |
physical | 201 Seiten |
publishDate | 2015 |
publishDateSearch | 2015 |
publishDateSort | 2015 |
publisher | Tilted Windmill Press |
record_format | marc |
spelling | Lucas, Michael 1967- (DE-588)130507571 aut FreeBSD mastery: ZFS Michael W. Lucas ; Allan Jude Middletown, DE Tilted Windmill Press 2015 201 Seiten txt rdacontent n rdamedia nc rdacarrier FreeBSD (DE-588)4529581-5 gnd rswk-swf FreeBSD (DE-588)4529581-5 s DE-604 Jude, Allan (DE-588)1152421093 aut Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Klappentext Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000002&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Lucas, Michael 1967- Jude, Allan FreeBSD mastery: ZFS FreeBSD (DE-588)4529581-5 gnd |
subject_GND | (DE-588)4529581-5 |
title | FreeBSD mastery: ZFS |
title_auth | FreeBSD mastery: ZFS |
title_exact_search | FreeBSD mastery: ZFS |
title_full | FreeBSD mastery: ZFS Michael W. Lucas ; Allan Jude |
title_fullStr | FreeBSD mastery: ZFS Michael W. Lucas ; Allan Jude |
title_full_unstemmed | FreeBSD mastery: ZFS Michael W. Lucas ; Allan Jude |
title_short | FreeBSD mastery: ZFS |
title_sort | freebsd mastery zfs |
topic | FreeBSD (DE-588)4529581-5 gnd |
topic_facet | FreeBSD |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028711807&sequence=000002&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT lucasmichael freebsdmasteryzfs AT judeallan freebsdmasteryzfs |