-
Notifications
You must be signed in to change notification settings - Fork 30
Add hdparm utility #935
Comments
hdparm can be deployed in container. I am using it in this way.
|
@polarina is using a container sufficient for you? |
Running hdparm within a container would work for me. I would much prefer the binary to be distributed with CoreOS though. It would complicate my setup slightly as I would now need to start up docker and have the hdparm container finish executing before starting up subsequent containers that depends on the mount-point backed by these disks being available. |
@polarina this is where systemd-nspawn or rkt are going to be much more useful. Because of their process model, you can just run hdparm inside of the container and wait for the exit; just like a standard process. |
perhaps the toolbox could be useful here... |
Good idea.
|
Hi |
@gsakkar - Use this Dockerfile:
After that you can do:
|
Thanks mmelnyk i want to perform power down disk without using hdparm in container or host machine is it possible |
i want to know how to recover the disk after issue sleep command through hdparm -Y option |
This command works:
|
We aren't going to include this in the base image since it can be easily installed in a container. |
Is it possible to have the
hdparm
utility included in CoreOS? I need it to disable write-caching on boot on my hard disks in order to work around a firmware bug that causes them to lock-up when doing heavy I/O.Symptoms are described here (esp.
dmesg
output and the disks' model number): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625922Currently I have a copy of the
hdparm
binary in my home directory, which is sub-optimal.The text was updated successfully, but these errors were encountered: