mastering_zfs/ch03

ch03

dz / mastering_zfs / ch03

Summary

Chapter 3: Pools

Node Tree

Nodes

zpools
content Zpools
children 128_blocks_reserved_uber, access_history, cannot_shrink, creating_pools_vdevs, destroy, feature_flags, flexibility, maintenance_automation, more_flexibility_than_RAID, multiple_VDEVs, new_VDEVs_trivial, partition_alignment, pool_integrity, pools_vdevs_created_simultaneously, properties, removing, sector_size, set_ashift_once, stores_pointer_to_fsroot, stripe, use_identical_VDEVs, viewing, zpool_cli, zpool_list, zpool_status

128_blocks_reserved_uber
content 128 Blocks reserved for uber blocks
children loops_back
parents zpools, uberblock

zfs_blocks
content ZFS blocks
children COW, critical_blocks, ditto_blocks, transaction_groups, uberblock

COW
content COW (copy on write)
parents zfs_blocks

uberblock
content UberBlock
children 128_blocks_reserved_uber
parents critical_blocks, zfs_blocks

stores_pointer_to_fsroot
content Stores pointer filesystem root
parents zpools

critical_blocks
content Critical Blocks
children uberblock
parents zfs_blocks

ditto_blocks
content Ditto Blocks
parents zfs_blocks

loops_back
content Loops back when last block is used
parents 128_blocks_reserved_uber

stripe
content Stripe
children chunk_written_to_device (definition), dynamic_size
parents zpools

chunk_written_to_device
content Chunk of data written to single device
parents stripe

transaction_groups
content Transaction Groups
children commits_to_storage, txg (AKA)
parents zfs_blocks

txg
content TXG
parents transaction_groups

commits_to_storage
content Commits changes to storage medium
parents transaction_groups

dynamic_size
content default size 128kb, but can change dynamically to fit equipment qorkload
parents stripe

more_flexibility_than_RAID
content More flexibility than a traditional RAID
parents zpools

flexibility
content Flexibility
parents zpools

new_VDEVs_trivial
content Trivial to add new VDEVs
parents zpools

multiple_VDEVs
content Mulitple VDEVs
children cannot_remove_VDEV, writes_split_across
parents zpools

viewing
content Viewing
parents zpools

zpool_list
content zpool List
children more_detail (more detail than)
parents zpools

zpool_status
content zpool_status
children more_detail
parents zpools

more_detail
content More detail than =zpool list=, VDEV layout
parents zpool_list, zpool_status

cannot_shrink
content Cannot shrink
parents zpools

writes_split_across
content Writes split across them
parents multiple_VDEVs

use_identical_VDEVs
content Best practice: use only identical VDEVs in a pool
parents zpools

cannot_remove_VDEV
content Cannot remove VDEV
parents multiple_VDEVs

sector_size
content Sector size
children cant_change_sector_size, default_sector_size (default)
parents zpools

default_sector_size
content Default sector size 512kb
children impedance_mismatch_inefficient
parents sector_size

impedance_mismatch_inefficient
content Inefficient if physical sector size is 4kb, causes impedance mismatch which impacts performance
children preferrable_4kb_sectors
parents default_sector_size

preferrable_4kb_sectors
content Almost always preferrable force ZFS to use 4kb sectors
children ashift_pool_var
parents impedance_mismatch_inefficient

ashift_pool_var
content ashift: pool variable
parents preferrable_4kb_sectors
remarks 12=4096, 9=512 (powers of 2 values)

partition_alignment
content Parition Alignment
children avoid_alignment_problems
parents zpools

avoid_alignment_problems
content Avoid Alignment problems: -a1m' to gpart add
parents partition_alignment

cant_change_sector_size
content Cant change virtual device sector size
parents sector_size

creating_pools_vdevs
content Creating pools and VDEVs
children add_vdev_existing_pool, log_devices, mirrored_pools, multi_vdev_pools, raid_z, striped_pools
parents zpools

striped_pools
content Striped pools
children compost
parents creating_pools_vdevs

pools_vdevs_created_simultaneously
content Pools/VDEVs created simultaneously
parents zpools

set_ashift_once
content Set ashift only once before making pools
parents zpools

add_vdev_existing_pool
content Adding a VDEV to an existing pool
parents creating_pools_vdevs

mirrored_pools
content Mirrored Pools
children reflect
parents creating_pools_vdevs

zpool_cli
content zpool (cli)
children create, history, set
parents zpools

create
content Create
children compost, dash_o, reflect
parents zpool_cli

reflect
content Reflect
parents create, mirrored_pools

compost
content compost
parents create, striped_pools

bucket
content bucket
children raid_z1, raid_z3
parents raid_z

raid_z
content RAID z
children bucket
parents creating_pools_vdevs

raid_z1
content RAID-Z1
parents bucket

raid_z3
content RAID-Z3
parents bucket

multi_vdev_pools
content multi-VDEV pools
parents creating_pools_vdevs

log_devices
content log devices
children cache, log, reusing_providers
parents creating_pools_vdevs

log
content Log
children write_cache
parents log_devices

cache
content cache
children read_cache
parents log_devices

read_cache
content Read Cache
parents cache

write_cache
content Write Cache
children improve_perf_dedicated_cache_ssd
parents log

improve_perf_dedicated_cache_ssd
content Improve performance using dedicated caches on fast high-endurance SSD
parents write_cache

reusing_providers
content Re-Using Providers
parents log_devices

pool_integrity
content Pool Integrity
children checksums, self_healing
parents zpools

scrubbing
content Scrubbing
children scrub_frequency, self_healing (scrubbing can do automatic self-healing), verify_every_hash (description of what it does)
parents checksums

checksums
content Checksums
children hashes, scrubbing
parents pool_integrity

self_healing
content Self-healing
parents scrubbing, pool_integrity

verify_every_hash
content Verifies every hash in pool
parents scrubbing

hashes
content Hashes
parents checksums

scrub_frequency
content Scrub Frequency
children monthly_cheap_hw, quarterly_reliable_hw
parents scrubbing

quarterly_reliable_hw
content Quarterly for reliable hardware
parents scrub_frequency

monthly_cheap_hw
content Monthly for cheap hardware
parents scrub_frequency

properties
content Properties
children changing_props, viewing_props
parents zpools

viewing_props
content Viewing
parents properties

changing_props
content Changing
children at_creation_time, source_default_local_forever
parents properties, set

set
content Set
children changing_props
parents zpool_cli

at_creation_time
content At creation time
parents dash_o, changing_props

dash_o
content -o
children at_creation_time
parents create

source_default_local_forever
content Source: default. changing to local remains local forever
parents changing_props

maintenance_automation
content Maintenance automation
children periodic
parents zpools

periodic
content periodic(8)
parents maintenance_automation

history
content history
children access_history
parents zpool_cli

access_history
content Acess history
parents zpools, history

removing
content removing
parents zpools, destroy

destroy
content destroy
children removing
parents zpools

feature_flags
content Feature Flags
parents zpools