4

On a pretty large system with 1,000+ HDD drives I have a problem where HDD drives are going to sleep or spinning down.

The system is running on Ubuntu 22.04 LTS, as stated in title, but I think it is a more general question to Linux.

On the server I have a mix of SATA and SAS drives, connected through HBA's and JBOD's. I don't think the capacity will matter here.

How can I prevent these drives from spinning down?

Finding out how to do this per drive is obviously my goal, but maybe there is a global system wide solution?

I've already tried:

sudo hdparm -S 254 /dev/sdXX

Or with 0, but I'am getting errors in all these cases like this:

SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 01 cf 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I would be glad if anyone, can guide me towards a solution.

Giacomo1968
  • 58,727
Bart
  • 357

0 Answers0