Nп/п : 87 из 100
 От   : MarioCCCP                           2:5075/128        29 сен 23 12:30:41
 К    : MarioCCCP                                             29 сен 23 13:34:02
 Тема : Re: send an HDD a command to "stop spinning"
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> a32fec5f
@REPLY: 1@dont-email.me> 341dfba4
@REPLYADDR MarioCCCP
<NoliMihiFrangereMentulam@libero.it>
@REPLYTO 2:5075/128 MarioCCCP
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
1@dont-email.me> 1@dont-email.me>
@RFC-Reply-To: MarioCCCP@CCCP.MIR
@TZUTC: 0200
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:102.0)
Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
On 29/09/23 12:12, MarioCCCP wrote:
> On 29/09/23 10:56, Marco Moock wrote:
>> Am 29.09.2023 schrieb Fonntuggnio 
>> <JoeFonntuggnio@libbbero.it>:
>>
>>> I`ve bought a new disk (HDD, WD purple) but instead of
>>> replacing the old, I disconnected internal DVD recorder and
>>> I moved the old one there (I had no spare "molex" nor esata
>>> channels left).
>>> Now I have found a strange thing : the timing of the facts
>>> is too suspicious to be decorrelated : my USB alcatel model
>>> fails to be charged at a pace fast enough to keep up with
>>> battery consumption and after 1-2 hours of intense use,
>>> switches off.
>>
>> Seems to be an USB problem. A bus has limited amperage.
>>
>>> would unmount the drive cause it to stop spinning ?
>>
>> Not directly. Even when it is mounted it can be spinned 
>> down and
>> spinned up again when needed.
>>
>>> There is a faster way to sendo some low level command to
>>> make it stop spinning ? I.g. some "IOCTL" sequence.
>>
>> hdparm
https://superuser.com/questions/852727/safe-to-manually-spin-down-hard-drive-wit
h-hdparm

> tnx for this very prompt reply ! I`ll study the case

>>
>>> for those really knowledgeable in internal Linux working :
>>> does a drive not actively used (no files opened, no file
>>> manager operating on it) require some form of "polling" its
>>> state that would cause frequent automatical restartig of
>>> spinning ? In this case, stopping it would be harmful and
>>> enhance preature wearing of the motors and all and it would
>>> have no benefit to manually stop spinning.
>>
>> Every read request (not in cache) will cause it to spin up.
>> Write request can be cached and will be synced at unmount 
>> (can be
>> invoked by "sync").
>>


> tnx !


in the replies of the SuperUser thread you signalled, I 
found the HD-IDLE utility that does exactly what I required 
!!! Wonderful Linux

-- 
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

 --- Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх