container-storage-setup
container-storage-setup copied to clipboard
Need to create systemd unit to tell docker to wait for storage
Normally, LVM devices are probed pretty early, but it can happen that storage devices are slow to start. I have a box with ~ 20 TB across 20 disks, and sometimes on boot not all of them have spun up by the time docker starts.
We'll need to tweak d-s-s to generate a systemd drop-in in /etc/systemd/system/docker.service.d with Before=dev-mapper-docker--meta.device dev-mapper-docker--data.device
On 12/12/2014 12:24 PM, Colin Walters wrote:
Normally, LVM devices are probed pretty early, but it can happen that storage devices are slow to start. I have a box with ~ 20 TB across 20 disks, and sometimes on boot not all of them have spun up by the time docker starts.
We'll need to tweak d-s-s to generate a systemd drop-in in /etc/systemd/system/docker.service.d with Before=dev-mapper-docker--meta.device dev-mapper-docker--data.device
— Reply to this email directly or view it on GitHub https://github.com/projectatomic/docker-storage-setup/issues/2.
Should we make this part of the core package?