Linux Administration/Devices and Filesystems/ZFS

ZFS is a combined file system and volume manager included in Solaris 10 update 2 (06/2006) and Ubuntu 16.04 LTS onwards. ZFS support advances features such as
 * Data integrity
 * Integrated volume management – zpool (pooled storage)
 * Copy on Write (CoW)
 * Compression
 * Snapshots and clones
 * Deduplication
 * Solaris: Online shrink  in Solaris 11.4 released in August 2018

Commands:,  ,


 * Installation:

Commands

 * List your block/disk devices:  or   or


 * Show pool status:
 * List ZFS pools :



Create a new pool:
 * Create a new pool:
 * Create a new stripped pool:
 * Create a new mirrored pool:

To Modify Disk identification to use disk/by-id:
 * Verify:
 * Verify:
 * Verify:

Pools

 * Show pool status:
 * List ZFS pools :
 * List ZFS pools :

Filesystems

 * Create a new filesystem:
 * Destroy a zfs filesystem:  (Warning: no confirmation requested )
 * Set a quota to a filesystems:
 * Check zfs service status:
 * Display configuration information:
 * Display configuration information:

List information

 * Show pool status:
 * List ZFS pools :
 * List FS/Volumens/snapshots:

Activities

 * 1) Read selecting dev names when creating a pool before you create your first ZFS pool: https://github.com/zfsonlinux/zfs/wiki/FAQ#selecting-dev-names-when-creating-a-pool and https://wiki.archlinux.org/index.php/Persistent_block_device_naming
 * 2) Read ArchLinux documentation about ZFS: https://wiki.archlinux.org/index.php/ZFS#Creating_a_storage_pool
 * 3) Follow Ubuntu Tutorial about Setup a ZFS storage pool: https://tutorials.ubuntu.com/tutorial/setup-zfs-storage-pool#0
 * 4) Create you first ZFS pool: