Move Elasticsearch data to dedicated LV
# create lvm pvcreate /dev/disk/by-id/ata-INTEL_SSDSC2KB076T8_* vgcreate data /dev/disk/by-id/ata-INTEL_SSDSC2KB076T8_* lvcreate --name elasticsearch --size 2T data mkfs.ext4 /dev/data/elasticsearch # pre-sync data mount /dev/data/elasticsearch /mnt/ rsync -aHAXx --numeric-ids /var/lib/docker/volumes/elasticsearch/ /mnt/ # sync data docker stop elasticsearch rsync --delete -aHAXxv --numeric-ids /var/lib/docker/volumes/elasticsearch/ /mnt/ rsync --delete -aHAXxv --numeric-ids /var/lib/docker/volumes/elasticsearch/ /mnt/ umount /mnt # mount new LV