Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **ZFS**
- ```
- 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
- ```
- **SMART**
- ```
- 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)
- ```
- **HDD**
- ```
- 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
- ```
- **HBA**
- ```
- 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
- ```
Add Comment
Please, Sign In to add comment