How to check whether the hdd is idle

hard drivesolarisunix

I am using Solaris 11 Express and activated the power.conf which makes my disks go idling after 30 mins like a charm. I can hear the disks spin up when I access something ZFS disk-related.

Is it possible to check the disks' idle-status without waking them up?

Best Answer

It seems the smartmontools package can do what you want.

Of special interest in this case is the -n option in the smartd configuration, which should prevent smartd from spinning up any idle disks.

A download is available for OpenSolaris, so you may have some luck getting it to work on Solaris 11 Express; if that doesn't work you can always try installing from source.