Bug#749063: docker makes df horrible

2015-11-04 Thread Tianon Gravi
On 23 May 2014 at 10:43, Michael Stone wrote: > They're the same baseline filesystem, but aufs lets you merge filesystems > and redirect writes so they're logically different. (And, presumably, they > may consume storage differently in other cases than yours and someone may > want to see that via

Bug#749063: docker makes df horrible

2014-05-23 Thread Michael Stone
On Fri, May 23, 2014 at 01:34:26PM -0400, Joey Hess wrote: Hmm, AFAICS the aufs mounts are not unique volumes, at least they show as the same size as the root filesystem: /dev/sda138G 29G 7.2G 80% / none 38G 29G 7.2G 80% /var/lib/docker/aufs/mnt/81abbf65e1935a6754e11

Bug#749063: docker makes df horrible

2014-05-23 Thread Joey Hess
Michael Stone wrote: > Ok, scratch that idea. So it looks like there's a combination of bind mounts > and union mounts. The bind mounts should all magically disappear because of > the deduplication logic, but the union mounts are something that probably > shouldn't be entirely hidden by default; I

Bug#749063: docker makes df horrible

2014-05-23 Thread Michael Stone
On Fri, May 23, 2014 at 12:18:05PM -0400, Joey Hess wrote: Michael Stone wrote: Can you send mount(1) output for a case like this? For the specific docker.io situation it might also be worth special casing suppressing the mounts by default even for root (apart from killing off the permission den

Bug#749063: docker makes df horrible

2014-05-23 Thread Joey Hess
Michael Stone wrote: > On Fri, May 23, 2014 at 11:13:32AM -0400, Joey Hess wrote: > >df: > >‘/var/lib/docker/aufs/mnt/81abbf65e1935a6754e11276c044b94012082304f247be1b70306fa7dfda3650’: > > Permission denied > >df: > >‘/var/lib/docker/containers/81abbf65e1935a6754e11276c044b94012082304f247be1b7030

Bug#749063: docker makes df horrible

2014-05-23 Thread Michael Stone
On Fri, May 23, 2014 at 11:13:32AM -0400, Joey Hess wrote: df: ‘/var/lib/docker/aufs/mnt/81abbf65e1935a6754e11276c044b94012082304f247be1b70306fa7dfda3650’: Permission denied df: ‘/var/lib/docker/containers/81abbf65e1935a6754e11276c044b94012082304f247be1b70306fa7dfda3650/root’: Permission deni

Bug#749063: docker makes df horrible

2014-05-23 Thread Michael Stone
On Fri, May 23, 2014 at 04:22:04PM +0100, Pádraig Brady wrote: Does `df -a` not show them for root? Perhaps the duplicate suppression is kicking in here, though one might have to have root access to determine the mount points were duplicates. Yeah, this is longstanding behavior that's been mild

Bug#749063: docker makes df horrible

2014-05-23 Thread Joey Hess
Pádraig Brady wrote: > > I feel this is a polish/integration issue that would be worth finding > > some fix for. At least so far, I have not seen any value in df showing > > these mount points to root, so perhaps they should be completly omitted > > for clarity? > > Does `df -a` not show them for

Bug#749063: docker makes df horrible

2014-05-23 Thread Pádraig Brady
On 05/23/2014 04:49 PM, Michael Stone wrote: > On Fri, May 23, 2014 at 04:22:04PM +0100, Pádraig Brady wrote: >> Does `df -a` not show them for root? >> Perhaps the duplicate suppression is kicking in here, >> though one might have to have root access to determine >> the mount points were duplicate

Bug#749063: docker makes df horrible

2014-05-23 Thread Pádraig Brady
On 05/23/2014 04:13 PM, Joey Hess wrote: > Package: docker.io, coreutils > Severity: minor > > docker mounts stuff under a directory that normal users cannot read, > which makes df full of errors. Example below from a system with 4 > running containers. > > I feel this is a polish/integration iss

Bug#749063: docker makes df horrible

2014-05-23 Thread Joey Hess
Package: docker.io, coreutils Severity: minor docker mounts stuff under a directory that normal users cannot read, which makes df full of errors. Example below from a system with 4 running containers. I feel this is a polish/integration issue that would be worth finding some fix for. At least so