You are not logged in.
Hi guys,
I'm using an optical hard drive bay with a 1T west digital HDD inside. I want to turn it off manually with the command found in this post: https://bbs.archlinux.org/viewtopic.php?id=73618
It worked when I first inserted the drive bay. The message says:
$ sudo hdparm -Y /dev/sdc
/dev/sdc:
issuing sleep command
$ sudo hdparm -C /dev/sdc
/dev/sdc:
drive state is: standbyHowever, this command no longer works after reboot:
$ sudo hdparm -Y /dev/sdc
/dev/sdc:
issuing sleep command
$ sudo hdparm -C /dev/sdc
/dev/sdc:
drive state is: active/idleDoes anybody know what could be the problem?
Last edited by kaidddd (2022-07-08 07:05:42)
Offline
Right after trying to turn off the device and checking it, could you run
dmesgand
journalctl -xeand post the output?
The first command tells what happens in kernel space, the second gives insight into userspace. Maybe we'll find something there.
Last edited by Starfish (2016-06-08 15:33:36)
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline
Here are the messages and thanks for your help!
$dmesg
[ 730.150878] logitech-hidpp-device 0003:046D:402D.0004: error in parameter
[ 837.647699] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 837.647707] ata3.00: waking up from sleep
[ 837.647715] ata3: hard resetting link
[ 837.957800] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 837.959528] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 837.959535] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 837.959539] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 837.959825] ata3.00: supports DRM functions and may not be fully accessible
[ 837.960250] ata3.00: disabling queued TRIM support
[ 837.960825] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 837.960832] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 837.960836] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 837.961071] ata3.00: supports DRM functions and may not be fully accessible
[ 837.961375] ata3.00: disabling queued TRIM support
[ 837.961585] ata3.00: configured for UDMA/133
[ 837.961612] ata3: EH complete$ journalctl -xe
Jun 08 21:12:01 AEHost3 kernel: ata3.00: disabling queued TRIM support
Jun 08 21:12:01 AEHost3 kernel: ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
Jun 08 21:12:01 AEHost3 kernel: ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered o
Jun 08 21:12:01 AEHost3 kernel: ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Jun 08 21:12:01 AEHost3 kernel: ata3.00: supports DRM functions and may not be fully accessible
Jun 08 21:12:01 AEHost3 kernel: ata3.00: disabling queued TRIM support
Jun 08 21:12:01 AEHost3 kernel: ata3.00: configured for UDMA/133
Jun 08 21:12:01 AEHost3 kernel: ata3: EH complete
Jun 08 21:12:01 AEHost3 sudo[10601]: pam_unix(sudo:session): session closed for user root
Jun 08 21:12:10 AEHost3 dhcpcd[450]: enp0s25: adding default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:12:10 AEHost3 dhcpcd[450]: enp0s25: removing default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:12:13 AEHost3 kernel: logitech-hidpp-device 0003:046D:402D.0004: error in parameter
Jun 08 21:12:50 AEHost3 dhcpcd[450]: enp0s25: adding default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:12:50 AEHost3 dhcpcd[450]: enp0s25: removing default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:13:09 AEHost3 dhcpcd[450]: enp0s25: deleted address 2a01:cb1d:369:9400:2b36:9702:5a37:4a3b/64
Jun 08 21:13:09 AEHost3 systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Jun 08 21:13:09 AEHost3 systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
Jun 08 21:13:30 AEHost3 dhcpcd[450]: enp0s25: adding default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:13:30 AEHost3 dhcpcd[450]: enp0s25: removing default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:14:01 AEHost3 sudo[11500]: dk : TTY=pts/1 ; PWD=/home/dk ; USER=root ; COMMAND=/usr/bin/
Jun 08 21:14:01 AEHost3 sudo[11500]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 08 21:14:01 AEHost3 sudo[11500]: pam_unix(sudo:session): session closed for user root
Jun 08 21:14:02 AEHost3 dhcpcd[450]: enp0s25: adding default route via fe80::1a1e:78ff:fe6d:835a
Jun 08 21:14:02 AEHost3 dhcpcd[450]: enp0s25: removing default route via fe80::1a1e:78ff:fe6d:835aOffline
I found that hd-idle can put my wd green in standby whereas hdparm can't.
Offline
I found that hd-idle can put my wd green in standby whereas hdparm can't.
The solution works for me. Thanks!
Offline
Watch out for the increase in load cycle count, it may lead to early failure of the disk.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline