Joes Rules to Asking for Help

Drive Failures
Provide additional information for the given error and while it may not be all inclusive, the items below are generally some of the first things asked, and you may be asked to provide more specific information.

  1. If Drive or Pool is suspect: if a pool, data corruption, or suspect drive failure, include the output of the following commands:
    a. zpool status -v
    b. zpool list (for size/capacity questions)
    c. zfs list (for dataset questions)
    d. smartctl -x /dev/DRIVEID (for drive questions. DRIVEID = ‘ada0’ or ‘sda’ for example.) Please do not remove any of the output, except you can remove the serial number if desired.
    Advice: Always track your drives using the serial number, the DRIVE ID can change on you, it is not fixed to a specific drive. Use the serial number so you know which drive to replace if required.

The following commands are from @Protopia

  • lsblk -bo NAME,LABEL,MAJ:MIN,TRAN,ROTA,ZONED,VENDOR,MODEL,SERIAL,PARTUUID,START,SIZE,PARTTYPENAME
  • sudo ZPOOL_SCRIPTS_AS_ROOT=1 zpool status -vLtsc lsblk,serial,smartx,smart
  • sudo zpool import
  • lspci
  • sudo sas2flash -list
  • sudo sas3flash -list
  • sudo storcli show all
  • for disk in /dev/sd*; do; sudo zdb -l $disk; done
  • for disk in /dev/sd?; do; sudo hdparm -W $disk; done
  • for disk in /dev/sd?; do; sudo smartctl -x $disk; done