Score:1

How to check, if HDD is in sleep mode?

eg flag

I run a server with Ubuntu 18.04, that has HDDs connected via USB ports and I want to check, whether the HDDs are put into sleep mode. How can this be done on Ubuntu 18.04? Ideally via Terminal, since it's a headless server.

Score:2
ru flag

sudo hdparm -C DEVICE will do it e.g.

sudo hdparm -C /dev/sdd1
dev/sdd1:
 drive state is:  active/idle

or for a sleeping device it will return: drive state is: standby

Also see the smartctl command although I have not used it.

Tasmotanizer avatar
eg flag
Ok, maybe I have a USB-SATA bridge, that doesn't support these commands. "SG_IO: bad/missing sense data, sb[]: 70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 drive state is: unknown"
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.