Josip Medved Asked: 2009-08-12 05:50:35 +0800 CST2009-08-12 05:50:35 +0800 CST 2009-08-12 05:50:35 +0800 CST Checking whether disk is in sleep state (FreeNAS) 772 How to check whether disk is in sleep? I am doing some reports in background and, if disk is already sleeping, I would like to avoid waking it up. Which command can I use to check its status without waking it up? freebsd truenas 1 Answers Voted Chris S 2011-01-27T10:28:37+08:002011-01-27T10:28:37+08:00 atacontrol spindown [drive] should show the drive's current state and the timer. Also, when the drives are spun down it will appear in the messages log, the most recent of which can be displayed with dmesg. A side note, a drive's life deteriorate every time they change power states; minimizing power state transitions will prolong life.
atacontrol spindown [drive]
should show the drive's current state and the timer.Also, when the drives are spun down it will appear in the messages log, the most recent of which can be displayed with
dmesg
.A side note, a drive's life deteriorate every time they change power states; minimizing power state transitions will prolong life.