Wake-Up from Standby | Disks

Hi there!

I recently upgraded to 26.04 and I noticed three of my external hard drives are in standby mode, I tried the option Wake-Up from Standby in disks but nothing happened and when I tried it in terminal through the sudo hdparm -y command I received this error:

sudo hdparm -y /dev/sde
[sudo: authenticate] Password:

/dev/sde:
issuing standby command
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

Any recommendations? I’m fairly new, it was working in the previous LTS ver.

1 Like

Welcome to Ubuntu Discourse!

You should never operate on those device nodes (/dev/sd*) directly, because they can change from one boot to the next, so you might be talking to the wrong device. Best use the /dev/disk/by-* hierarchy which contains symbolic links to the real device, e.g:

/dev/disk/by-id/usb-SanDisk_Ultra_4C530001200708109334-0:0-part1

points to /dev/sdb1 on my machine. There are other directories in /dev/disk but by-id tends to have somewhat easily recognizable names, that start with the interface, e.g. usb, and contain more identifying info.

Also hdparm -y is to force standby mode immediately and it seems you want to do the opposite. Simply accessing the device should wake it up.

1 Like

Okay, thank you Peter! I will try what you’ve suggested. Thanks for your reply, I appreciate the advice! If anything comes up I’ll post back with the results.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.