X-Original-To: alpine-devel@lists.alpinelinux.org Received: from newmail.tetrasec.net (unknown [172.21.74.12]) by lists.alpinelinux.org (Postfix) with ESMTP id E3D755C428F for ; Thu, 8 Sep 2016 18:52:35 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (71.63.200.37.customer.cdi.no [37.200.63.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 1865E5A087D; Thu, 8 Sep 2016 18:52:34 +0000 (GMT) Date: Thu, 8 Sep 2016 20:52:30 +0200 From: Natanael Copa To: Christian Kniep Cc: Justin Cormack , Alpine Devel List Subject: Re: [alpine-devel] Using df with OverlayFS Message-ID: <20160908205230.36f9e564@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The problem was that line buffer in getmntent(3) in musl libc was too small. I have sent a patch upstream: http://www.openwall.com/lists/musl/2016/09/08/1 Once its reviewed I'll add it to Alpine. -nc On Thu, 8 Sep 2016 15:13:27 +0200 Christian Kniep wrote: > Hey Justin, >=20 > thanks for getting back to me. I have created a package on an overlay host > and using it as an workaround. > https://github.com/qnib/alpn-hadoop/blob/master/Dockerfile#L15-L16 >=20 > But I am happy to get rid of it, once the issue is fixed. :) >=20 > Thanks > Christian >=20 > On Thu, Sep 8, 2016 at 12:19 PM, Justin Cormack < > justin@specialbusservice.com> wrote: =20 >=20 > > There is an issue already http://bugs.alpinelinux.org/issues/5703 and > > this should be fixed shortly. > > > > Justin > > > > > > On 2 September 2016 at 09:25, Christian Kniep wrote= : =20 > > > Hey there, > > > > > > I am running an alpine container on a Linux system that uses overlay = as > > > docker storage backend. > > > > > > My suspicion would be, that the df command does not no how to deal wi= th > > > overlay as a filesystem and therefore is shy providing output* :) > > > > > > gentoo1 ~ # docker info |grep 'Storage Driver' > > > Storage Driver: overlay > > > gentoo1 ~ # docker run -ti --privileged alpine df -h > > > Filesystem Size Used Available Use% Mounted on > > > gentoo1 ~ # docker run -ti --privileged ubuntu df -h > > > Filesystem Size Used Avail Use% Mounted on > > > overlay 1.4T 3.6G 1.4T 1% / > > > > > > If I run df on my Ubuntu16 reference box - using AUFS as a storage =20 > > backend, =20 > > > I get an output. > > > > > > root@swarm0:~# docker info |grep 'Storage Driver' > > > WARNING: No swap limit support > > > Storage Driver: aufs > > > root@swarm0:~# docker run -ti alpine df -h > > > Filesystem Size Used Available Use% Mounted on > > > none 77.2G 26.3G 47.0G 36% / > > > > > > How do I get overlay into this little df command of mine? I guess som= ehow > > > fiddle around with the APKBUILD file of coreutils* > > > > > > Cheers > > > Christian > > > > > > > > > > > > =20 > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > =20 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---