Forrest logo
back to context overview

zpool

List of commands for zpool:

  • zpool:tldr:25c55 zpool: Create a mirrored pool.
    $ zpool create ${pool_name} mirror ${disk1} ${disk2} mirror ${disk3} ${disk4}
    try on your machine
    explain this command
  • zpool:tldr:3c467 zpool: List zpools available for import.
    $ zpool import
    try on your machine
    explain this command
  • zpool:tldr:6a8d1 zpool: Import a zpool.
    $ zpool import ${pool_name}
    try on your machine
    explain this command
  • zpool:tldr:6b5fd zpool: Show the history of all pool operations.
    $ zpool history ${pool_name}
    try on your machine
    explain this command
  • zpool:tldr:7e2fc zpool: Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive.
    $ zpool scrub ${pool_name}
    try on your machine
    explain this command
  • zpool:tldr:d0b37 zpool: Export a zpool (unmount all filesystems).
    $ zpool export ${pool_name}
    try on your machine
    explain this command
  • zpool:tldr:dd04e zpool: Add a cache (L2ARC) device to a zpool.
    $ zpool add ${pool_name} cache ${cache_disk}
    try on your machine
    explain this command
  • zpool:tldr:f51ca zpool: Show the configuration and status of all ZFS zpools.
    $ zpool status
    try on your machine
    explain this command
back to context overview