如何检查ZFS ZPool状态

ZPool状态

使用zpool status命令可以查看zfs池的状态

jack@onitroad:~# zpool status
  pool: zfspool1
 state: ONLINE
status: The pool is formatted using an older on-disk format. The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
        pool will no longer be accessible on older software versions.
  scan: scrub repaired 0 in 7h39m with 0 errors on Fri Mar  6 09:33:14 2014
config:
        NAME                       STATE     READ WRITE CKSUM
        zfspool1                 ONLINE       0     0     0
          raidz2-0                 ONLINE       0     0     0
            c0t5000CAA01C810754d0  ONLINE       0     0     0
            c0t5000CAA01CB02AE8d0  ONLINE       0     0     0
            c0t5000CAA01CB02CF0d0  ONLINE       0     0     0
            c0t5000CAA01CB02E5Cd0  ONLINE       0     0     0
            c0t5000CAA01CB0A81Cd0  ONLINE       0     0     0
            c0t5000CAA01CB0AC80d0  ONLINE       0     0     0
        logs
          c0t5000A7203004D2D2d0    ONLINE       0     0     0
        spares
          c0t5000CAA01BBD3D1Cd0    AVAIL   
          c0t5000CAA01BBCC2F8d0    AVAIL   
          c0t5000CAA01BBCC33Cd0    AVAIL   
          c0t5000CAA01BB25608d0    AVAIL
日期:2020-07-07 20:56:01 来源:oir作者:oir