Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Docker to configure direct-lvm mode #731

Open
dforste opened this issue Oct 16, 2017 · 0 comments
Open

Allow Docker to configure direct-lvm mode #731

dforste opened this issue Oct 16, 2017 · 0 comments

Comments

@dforste
Copy link

dforste commented Oct 16, 2017

https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/#configure-direct-lvm-mode-for-production

In Docker 17.06 and higher, Docker can manage the block device for you, simplifying configuration of direct-lvm mode.

They now have options to simply pass in dm.directlvm_device="/dev/xvdf" to allow docker to configure the raw device.

The full example is

  "storage-driver": "devicemapper",
  "storage-opts": [
    "dm.directlvm_device=/dev/xdf",
    "dm.thinp_percent=95",
    "dm.thinp_metapercent=1",
    "dm.thinp_autoextend_threshold=80",
    "dm.thinp_autoextend_percent=20",
    "dm.directlvm_device_force=false"
  ]
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant