Re: Discourse - DeviceMapper causing corruption?

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

 



On Sun, Apr 3, 2016 at 5:09 PM, Philip Rhoades <phil@xxxxxxxxxxxxx> wrote:
> Chris,
>
>
> On 2016-04-04 03:25, Chris Murphy wrote:
>>
>> On Fri, Apr 1, 2016, 10:26 PM Philip Rhoades <phil@xxxxxxxxxxxxx>
>> wrote:
>>
>>> I had another response on the Discourse forum:
>>>
>>> "It's probably this bug, devicemapper seems to be unable to free
>>> deleted
>>> files until you delete the container:
>>>
>>> https://github.com/docker/docker/issues/188672
>>>
>>> Which is catastrophic for any long-lived server that uses temporary
>>> files in any capacity at all."
>>>
>>> Does that also make sense to more clued-up tech people than me?
>>
>>
>>>
>>
>> That link doesn't work.
>
>
>
> Sorry, it looks like copying and pasting added a "2" to the link (the number
> of clicks on the link on the forum) - it should be:
>
>   https://github.com/docker/docker/issues/18867
>
>
>> There was a thinp trim bug, but is been squashed on Fedora for over a
>> year.
>
>
>
> No mention of "thinp" on the page . .


It's using loop devices which is only the default in Docker because
it's easy for them to setup out of the box, where the recommended (at
least on RHEL, CentOS, Fedora) XFS on dmthin requires a.) an LVM VG
with free extents available, and b.) systemctl enable/start
docker-storage-setup to allocate bit more or less than half of those
free extents to the creation of a dmthin pool in which the containers
exist.

What I can't tell you off hand is whether there's something in Docker
land that automatically does discard or fstrim periodically (like on
container deletion) to actually revert the logical extents that are
freed up, back into the dmthin pool.
https://github.com/docker/docker/issues/12902

Looks like something is happening, I'm just not sure what.



-- 
Chris Murphy
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux