Nп/п : 84 из 100
 От   : Fonntuggnio                         2:5075/128        29 сен 23 10:43:27
 К    : All                                                   29 сен 23 11:51:03
 Тема : send an HDD a command to "stop spinning"
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> 13418ab3
@REPLYADDR Fonntuggnio
<JoeFonntuggnio@libbbero.it>
@REPLYTO 2:5075/128 Fonntuggnio
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@TZUTC: 0200
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:102.0)
Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
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.

I am thinking the power (we call it "alimentatore" but dunno 
the English word ... the power source, let`s say) is 
insufficient to cover up all devices properly and fails to 
send enough current to external devices (the HDD behaves 
normally)

now the true question (The drive currently is mounted via FSTAB)

would unmount the drive cause it to stop spinning ?

There is a faster way to sendo some low level command to 
make it stop spinning ? I.g. some "IOCTL" sequence.

the /dev/sde1 interface for the block device can receive 
IOCTLs codes (assuming I`d be able to find proper commands 
to send to the controller).

The drive will be seldom used (I don`t have a big enough 
extern box to build an USB unit)

I`d largely prefer to send direct commands to stop spinning 
and park the heads to unmounting (assumed unmounting will 
cut power consumption, thing that I dunno, actually), since 
later the drive would still be responding requests, 
automatically restarting spinning on receiving requests, I 
guess.


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.

I ask this latter because I have an INTENSO 4 TB external 
drive (a monster of speed, it reaches 160 MB/s !) that on 
another machine (always debian / MX) frequently stops and 
later at some time for no apparent reason at all restarts 
spinning (there the blue led makes it further evident beyond 
the ears can probe). Now surely it could be the internal 
"controller" aggressive power saving strategies, independent 
on the OS, to switch the drive off even if no "warranty" of 
no further requests was given by the OS (unmounting for 
examople).
But that is an USB external device and such strategies seem 
reasonable.

I dunno if a drive connected on esata and molex is allowed 
to decide alike (or if the OS can / must somehow save power 
if the disk is not in active use).

If sb knows about this topic, pls share opinions.

tnx

-- CCCPMario or MarioCCCP
 --- 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    
                                                                                
В этой области больше нет сообщений.

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