M8 USB HDD spindown problem after upgrade from M7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

M8 USB HDD spindown problem after upgrade from M7

Postby mackowiakp » Apr 9th, '21, 18:25

I just move from M7 to M8. Fresh installation, root partition formatted.
I have USB v3 HDD connected for offline backup. It contain only one etx4 partition. Normally external HDD partition is unmounted. Mounted only during backup and then unmounted again.
So it is impossible to set spindown time for such connected HDD now. It worked correctly in M7.
There is an output command and lsusb:

Code: Select all
[root@Piotr Pobrane]# hdparm -S 60 /dev/sdc1

/dev/sdc1:
 setting standby to 60 (5 minutes)
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

# Part of lsusb
Bus 006 Device 002: ID 0bc2:3322 Seagate RSS LLC SRD0NF2 [Expansion Desktop Drive]


How can I spindown HDD after desired period of time in M8?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: M8 USB HDD spindown problem after upgrade from M7

Postby doktor5000 » Apr 9th, '21, 20:53

Why do you try to issue ATA commands against a partition, and not against the device itself ?

It's also pretty easy to configure settings for such a drive, see e.g. https://wiki.archlinux.org/index.php/Udisks#Apply_ATA_settings_(udisks2)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: M8 USB HDD spindown problem after upgrade from M7

Postby mackowiakp » Apr 10th, '21, 06:11

Why do you try to issue ATA commands against a partition, and not against the device itself ?


I try both. The result is the same.

According to Your advice i create udisks conf file:

Code: Select all
[root@Piotr ~]# udevadm info --query=all --name=sdc | grep ID_SERIAL | sed "s/_/-/g"
E: ID-SERIAL=Seagate-Expansion-Desk-NA8F8593-0:0
E: ID-SERIAL-SHORT=NA8F8593

[root@Piotr ~]# cd /etc/udisks2/
[root@Piotr udisks2]# cat Seagate-Expansion-Desk-NA8F8593-0\:0.conf
[ATA]
StandbyTimeout=60


Still can not spin down HDD after 5 min timeout
Last edited by doktor5000 on Apr 10th, '21, 14:13, edited 1 time in total.
Reason: fixed quote tags
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: M8 USB HDD spindown problem after upgrade from M7

Postby doktor5000 » Apr 10th, '21, 14:17

Is this the same drive as in your previous thread? viewtopic.php?f=7&t=13209
You want want to recheck if that workaround still applies and is still in place or if it needs to be revised.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: M8 USB HDD spindown problem after upgrade from M7

Postby mackowiakp » Apr 10th, '21, 16:09

Not the same, bigger one, USBv3.1, the same vendor id, different product id. But I forgot totally about this issue. It still exists, although much newer HDD.
Yep, works. THX !!
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest