[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic] How to migrate a Fedora Atomic Host from devicemapper to overlay2
- From: Micah Abbott <miabbott redhat com>
- To: Colin Walters <walters verbum org>, atomic projectatomic io
- Subject: Re: [atomic] How to migrate a Fedora Atomic Host from devicemapper to overlay2
- Date: Wed, 29 Mar 2017 10:20:35 -0400
On 03/28/2017 09:01 PM, Colin Walters wrote:
There's some work on `atomic storage migrate`:
https://trello.com/c/vAunYr5K/310-docker-storage-migrate-images-containers-when-switching-drivers
However, if you just have a fresh system and are OK blowing away
all of your containers/volumes:
```
$ systemctl stop docker
$ rm /var/lib/docker/* -rf
$ lvm lvremove atomicos/docker-pool
# Reallocate space to the root - tweak how much to your liking
$ lvm lvextend -r -L +50%FREE atomicos/root
When I tried this, I got an error. Looks like you need '-l' instead:
$ lvm lvextend -r -l +50%FREE atomicos/root
$ echo STORAGE_DRIVER=overlay2 >> /etc/sysconfig/docker-storage-setup
$ rm /etc/sysconfig/docker-storage
$ systemctl start docker
```
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]