Hello friends. I am a new user to use proxmox. And I try to use `hdparm` to let my hard driver(WD RED Driver) sleep for a setup spin down time. But finally it doesn't work. And I try to force spin dowm like this,
Emm, not work too.
After that, I use IO chek tool and it display like this (It execute `lvs` and `vgs` 15 times each loop so I delete the same display, ),
It look regulary each 10s. So does this job will stop my driver's spindown. Or How can I do if I want my hard driver to spin down?
Thanks and best regards.
Code:
root@proxmox:~# hdparm -C /dev/sda
/dev/sda:
drive state is: active/idle
root@proxmox:~# hdparm -Y /dev/sda
/dev/sda:
issuing sleep command
root@proxmox:~# hdparm -y /dev/sda
/dev/sda:
issuing standby command
root@proxmox:~# hdparm -C /dev/sda
/dev/sda:
drive state is: active/idle
Emm, not work too.
After that, I use IO chek tool and it display like this (It execute `lvs` and `vgs` 15 times each loop so I delete the same display, ),
Code:
root@proxmox:~# ./iosnoop -t -d 8,0
Tracing block I/O. Ctrl-C to end.
ENDs COMM PID TYPE DEV BLOCK BYTES LATms
195426.442044 vgs 21355 R 8,0 0 4096 0.10
...
195426.586587 lvs 21356 R 8,0 0 4096 0.11
...
195435.672255 vgs 21368 R 8,0 0 4096 0.12
...
195435.817507 lvs 21370 R 8,0 0 4096 0.08
...
195445.898208 vgs 21380 R 8,0 0 4096 0.09
...
195446.038413 lvs 21381 R 8,0 0 4096 0.09
...
It look regulary each 10s. So does this job will stop my driver's spindown. Or How can I do if I want my hard driver to spin down?
Thanks and best regards.