zpool

zpool

TLDR

Show the configuration and status of all ZFS zpools

>_ zpool status
copy

Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive

>_ zpool scrub [pool_name]
copy

List zpools available for import

>_ zpool import
copy

Import a zpool

>_ zpool import [pool_name]
copy

Export a zpool (unmount all filesystems)

>_ zpool export [pool_name]
copy

Show the history of all pool operations

>_ zpool history [pool_name]
copy

Create a mirrored pool

>_ zpool create [pool_name] mirror [disk1] [disk2] mirror [disk3] [disk4]
copy

Add a cache (L2ARC) device to a zpool

>_ zpool add [pool_name] cache [cache_disk]
copy

Copied to clipboard
free 100$ digital ocean credit