Add back missing LVM instructions (#3623)

This commit is contained in:
Misty Stanley-Jones 2017-06-15 13:45:44 -07:00 committed by GitHub
parent 8df4e664bc
commit 10cf545c96
1 changed files with 9 additions and 4 deletions

View File

@ -76,8 +76,8 @@ For production systems, see
$ sudo systemctl start docker $ sudo systemctl start docker
``` ```
4. Verify that the daemon is using the `devicemapper` storage driver. 4. Verify that the daemon is using the `devicemapper` storage driver. Use the
Use the `docker info` command and look for `Storage Driver` `docker info` command and look for `Storage Driver`.
```bash ```bash
$ docker info $ docker info
@ -209,7 +209,8 @@ assumes that the Docker daemon is in the `stopped` state.
--thinpool docker/thinpool \ --thinpool docker/thinpool \
--poolmetadata docker/thinpoolmeta --poolmetadata docker/thinpoolmeta
WARNING: Converting logical volume docker/thinpool and docker/thinpoolmeta to thin pool's data and metadata volumes with metadata wiping. WARNING: Converting logical volume docker/thinpool and docker/thinpoolmeta to
thin pool's data and metadata volumes with metadata wiping.
THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.) THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Converted docker/thinpool to thin pool. Converted docker/thinpool to thin pool.
``` ```
@ -241,7 +242,7 @@ assumes that the Docker daemon is in the `stopped` state.
Save the file. Save the file.
10. Apply the LVM profile, using the `lvchange` command. 10. Apply the LVM profile, using the `lvchange` command.
```bash ```bash
$ sudo lvchange --metadataprofile docker-thinpool docker/thinpool $ sudo lvchange --metadataprofile docker-thinpool docker/thinpool
@ -275,6 +276,10 @@ assumes that the Docker daemon is in the `stopped` state.
`devicemapper` storage driver. If the file was previously empty, it should `devicemapper` storage driver. If the file was previously empty, it should
now contain the following contents: now contain the following contents:
> **Note**: The deferred deletion option, `dm.use_deferred_deletion=true`,
> is not yet supported on RHEL, CentOS, or Ubuntu 14.04 when using the
> default kernel version 3.18.
```json ```json
{ {
"storage-driver": "devicemapper", "storage-driver": "devicemapper",