zpool status -v #shows zpool status infos
zpool iostat 1 #shows IOps and R/W bandwidth every second
zfs list -t snapshot #lists all the snapshots, add | grep "" to filter
arc_summary.py #shows ARC stats
arcstat.py #shows ARC stats
zdb -C your_pool_name | grep ashift #shows the ashift value
man zpool-features #To see the Feature Flags supported by the version of ZFS you're running
zpool get all poolname | grep feature #To view the status of Feature Flags on a pool
zpool upgrade #To view available Feature Flags
zpool upgrade poolname #Feature Flags can be enabled
zpool import -o feature@feature_name=enabled poolname #Feature flags can be selectively enabled at import time
https://forums.freenas.org/index.php?resources/zfs-feature-flags-in-freenas.95/
smartctl -h #shows smart control help, lots of commands examples
smartctl -a /dev/daX #shows all smart attributes
smartctl -A /dev/daX #same as -a but without vendor infos, last test infos, ...
smartctl -l selftest /dev/daX #shows result of last smart test
smartctl -l scttemp /dev/daX #shows the temperatures history
smartctl -t long /dev/daX #executes a long test (replace "long" by "short" for a short test)
glabel status #shows gptids and devices names
gstat -f daX -I 1000ms #shows IOps and R/W bandwidth every second
iostat daX #shows IOps and R/W bandwidth
dmesg | grep mps #used to check FW and driver versions on HBA cards using the mps driver
UPS
upsc ups #shows all ups attributes (change "ups" with your ups name)
Misc
kldload ipmi.ko #loads ipmitool
ipmitool sensor #shows all ipmi sensors values
systat -vm #shows system infos (cpu load, ram usage, drives I/O, ...)
dmidecode | more #shows all hardware bios infos
cat /var/log/messages | more #shows the log (same as in the GUI footer)
freenas-debug -h more /var/tmp/fndebug #shows all debug infos
camcontrol devlist #shows all devices
usbconfig #shows all usb devices
Burn-in/Benchmark
dd if=/dev/zero of=/mnt/tank/tmp.zero bs=2048k count=50k #disable shares and compression for the test!!!
dd if=/mnt/tank/tmp.zero of=/dev/null bs=2048k count=50k #disable shares and compression for the test!!! don't forget to delete tmp.zero after
diskinfo -t daX #test seek and transfer times
for i in 1 2 3 4; do while : ; do : ; done & done #cpu burn test for 4 threads