Yes I plan on writing a blog on this once we have an update to
docker-storage-setup to handle setting up /var/lib/docker on a separate
partition.
https://github.com/projectatomic/docker-storage-setup/pull/175
Once we get this merged, we could easily move to overlayfs as default on
atomic host, but still allow a user to switch from overlay back to
devicemapper.
On 12/13/2016 12:23 PM, Chris Murphy wrote:
On Tue, Dec 13, 2016 at 8:01 AM, Daniel J Walsh
<dwalsh(a)redhat.com> wrote:
> The only way to change from one storage to the other is to use
>
> atomic storage export
> change the config
> atomic storage reset
> atomic storage import
Nifty.
A migration tool would have to juggle the potential for insufficient
space in /var for the export; or sufficient space for export but then
not importing. And then there's cleanup of otherwise dead space used
by device mapper. So possibly more than one fs resize is necessary.
I'd say probably leave things alone for upgrades, but documenting a
strategy for migrating to overlay is OK.