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.
- 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,PARTTYPENAMEsudo ZPOOL_SCRIPTS_AS_ROOT=1 zpool status -vLtsc lsblk,serial,smartx,smartsudo zpool importlspcisudo sas2flash -listsudo sas3flash -listsudo storcli show allfor disk in /dev/sd*; do; sudo zdb -l $disk; donefor disk in /dev/sd?; do; sudo hdparm -W $disk; donefor disk in /dev/sd?; do; sudo smartctl -x $disk; done