Morlinest / docker-devicemapper-setup

Simple script to setup `devicemapper` on CentOS or RHEL for use with Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-devicemapper-setup

Note: This script is no longer needed as of Docker 17.06 as there is built in functionality in the engine to do this. See the devicemapper documentation.

Simple script to setup devicemapper on CentOS, RHEL, or Oracle Linux for use with Docker. These instructions are based of the official direct-lvm configuration for production documentation.

Warning: This will destroy anything on the specified block device or partition!

Usage

sudo ./docker_thinpool_setup.sh /path/to/block/device

Example with a unpartition block device

sudo ./docker_thinpool_setup.sh /dev/sdb

Example with a single partition on a block device

sudo ./docker_thinpool_setup.sh /dev/sdb3

Standalone deferred deletion check

sudo ./deferred_deletion_check/standalone_deferred_deletion_check.sh

About

Simple script to setup `devicemapper` on CentOS or RHEL for use with Docker


Languages

Language:Shell 100.0%