1. Usefull command for CEPH

1.1. Test all ceph disk

1.1.1. Start tests

Use this command to start a smartctl (long) check for all ceph disk used:

ceph-volume lvm list | grep devices | awk '{print $NF}' | xargs -I_ smartctl -t long _

1.1.2. Get the results

Use this command to get the result of the smartctl check for all ceph disk:

ceph-volume lvm list | grep devices | awk '{print $NF}' | xargs -I_ smartctl -a _

Tags: Linux, Ceph, Smartctl