ZFS for Dummies

ZFS is a local filesystem and logical volume manager that was created by Sun Microsystems and is now used on most Unix-like systems today. It consists of vdevs, pools, datasets, and volumes. Vdevs are composed of one or more physical drives and can be combined in mirrors or RAIDZs. Pools are composed of vdevs and contain volumes or datasets. Datasets are the filesystem part of ZFS and can have user access, quotas, compression, and snapshots. Volumes provide some features of datasets and can be used for other filesystems or exported as iSCSI extents. ZFS also has different types of RAIDZ levels for data protection. Common commands for handling ZFS pools and filesystems include creating pools, displaying pool status, listing pools, showing pool history, importing and exporting pools, destroying pools, scrubbing pools for data validation, creating datasets, and mounting/unmounting filesystems.


To top