projectatomic / container-storage-setup

Service to set up storage for Docker and other container systems
Apache License 2.0
153 stars 77 forks source link

On aws with nvme the script always adds after reboot wrong disk on lvm #278

Open cristifalcas opened 5 years ago

cristifalcas commented 5 years ago

On m5 instances, with nvme:

# cat /etc/sysconfig/docker-storage-setup
DEVS=nvme1n1
GROWPART=true
ROOT_SIZE=+100%FREE
STORAGE_DRIVER=overlay2
VG=docker
CONTAINER_ROOT_LV_NAME=pool00
CONTAINER_ROOT_LV_SIZE=100%FREE
CONTAINER_ROOT_LV_MOUNT_PATH=/var/lib/docker
POOL_META_SIZE=1G
WIPE_SIGNATURES=true
EXTRA_STORAGE_OPTIONS="--storage-opt overlay2.size=20G"

Is there any way to resolve this?

npoyant commented 5 years ago

problem still exists