Re: root on btrfs and lvmthinp for docker backing confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/10/2015 08:35 PM, Chris Murphy wrote:
> On Thu, Dec 10, 2015 at 11:47 AM, Jason Brooks <jbrooks@xxxxxxxxxx> wrote:
> 
>> You can ignore docker-storage-setup and edit /etc/sysconfig/docker-storage
>> yourself.
> 
> OK I've done "systemctl disable docker-storage-setup"
> 
>>
>> Here's what it looks like from the f23 vagrant box:
>>
>> DOCKER_STORAGE_OPTIONS=-s devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/atomicos-docker--pool --storage-opt dm.use_deferred_removal=true
> 
> 
> Short version: This works. Docker service starts, no errors, and it's
> not using a loopback device.
> 
> Followup question: Does Docker directly use a thin pool without
> creating (virtual size) logical volumes? Because I don't see any other
> LV's created, and no XFS filesystem appears on the host using the
> mount command. And yet I see XFS mount and umount kernel messages on
> the host. This is sort of an esoteric question. However, I have no
> access to container files from the host like I can see inside each
> btrfs subvolume when btrfs is the backing method. And that suggests
> possibly rather different backup strategies depending on the backing.

I believe it chops it up using low level device mapper stuff. I think
you don't see the mounts on your host because they are in a different
mount namespace (part of the magic behind containers).

For more info on docker + device mapper look at slides 37-44 of [1]

[1] - http://www.slideshare.net/Docker/docker-storage-drivers
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/cloud@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux