Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


ZFS

ZFS is a combined file system and logical volume manager (designed by Sun Microsystems). ZFS is scalable, and includes extensive protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of file system and volume management, snapshots and CoW clones, continuous integrity checking and automatic repair, RAID Z, native NFSv4 ACLs, and can be very precisely configured.

Reference(s)

Table of contents


Install

TODO


Config

TODO


Use

TODO

  • Show disk space utilization info:

    $ zfs list
    

  • Show all properties for or :

    $ zfs get all <POOLNAME>
    $ zfs get all <DATASET_NAME>
    

  • Check zpool status of all pools with extra verbose information:

    $ zpool status -v
    

  • Check zpool status of specific pool with extra verbose information:

    $ zpool status -v <POOLNAME>
    

  • Show verbose information about pools filesystem statistics:

    $ zpool list -v
    

  • Show verbose IO statistics for all pools:

    $ zpool iostat -v
    

  • Show useful and advanced information on how ZFS's ARC Cache is being used:

    $ arcstat
    
    $ arc_summary
    

RAIDZ expansion

TODO


If this cheat sheet has been useful to you, then please consider leaving a star here.