X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by lists.alpinelinux.org (Postfix) with ESMTP id E6A915C428D for ; Thu, 8 Sep 2016 13:13:27 +0000 (GMT) Received: by mail-oi0-f53.google.com with SMTP id x125so14624747oia.3 for ; Thu, 08 Sep 2016 06:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaikai-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=D4KISyHzHdQyPfVt/XMkhD2P4faFVgoGNv+qMYRI6pU=; b=mm2cn+kv4xPo72+WKDVvOoO9penbQ1fr0skQQRd1NyIr4K0obdH9v/xfiwINyjwiDP 0MqYrykoEOGl7mLbpkOC7fC7HRdMtHHaUc4oCDLjqHfJpHlBd6HO0NOSPa8He/6KBaCR PrJ1Fr1vZiWdY44DLaFUAgHyF6B6q3KxmjM4MEJcXxmV2qYhIEJID0DsAKaV8VtsdpPF XqqQljJv7sKu+kOLyc5QGFn+rO5SwhADXgbC1jKH2FGAwi4f1xnRSZS0sqGWKGolEmDy liQpOGvaEN4TLRakh8bVOd3PzPJV4pZfszimuvTa1T5ZXMsgxZEaP+XLCiQ0vM/fk+ZT Jyhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=D4KISyHzHdQyPfVt/XMkhD2P4faFVgoGNv+qMYRI6pU=; b=AGmxqfnIa82/twRcabrUBHYGC9F4HXreO8XXQqDjW9dvI3f7B85nseRd4yhYbvkk1o kSRopLR7MaY1bY0j5E4G03+ZJVjfZTybPfjIgrPQNyiM3MmjYDULgv2O10HlKCrL6A0Y s5MMCniqRy7fIgz12N1xCIrTN20Nv7e6y8StyNK+ZUNj8hHLvkJAcX+6dWfSmtyAIz1O ldBsiA8zEwTOvExxpf55VtcGC4dTwIUNPnfbgoW2K1UpJsxhJA4P0hjs1vPJzQlIN/Rr rA80DEHBbMGQXD0DamGYh03ER/C3VsV+Tf+fNKvRTs9zPWSTMaE6CmvLnTzDIEfcQw59 okZQ== X-Gm-Message-State: AE9vXwO/EjSau4B415P7/7cJiAAOBw76dqYNHtTOkK4gMwqdCcOvrpzCQa6hY2RB18Fe2EmrELbwPhL4sDORIcyS X-Received: by 10.202.195.1 with SMTP id t1mr45362316oif.144.1473340407573; Thu, 08 Sep 2016 06:13:27 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.157.21.71 with HTTP; Thu, 8 Sep 2016 06:13:27 -0700 (PDT) In-Reply-To: References: From: Christian Kniep Date: Thu, 8 Sep 2016 15:13:27 +0200 Message-ID: Subject: Re: [alpine-devel] Using df with OverlayFS To: Justin Cormack Cc: Alpine Devel List Content-Type: multipart/alternative; boundary=001a1134e5a2a08500053bfecbfb --001a1134e5a2a08500053bfecbfb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Justin, 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 But I am happy to get rid of it, once the issue is fixed. :) Thanks Christian On Thu, Sep 8, 2016 at 12:19 PM, Justin Cormack < justin@specialbusservice.com> wrote: > 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: > > 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 with > > overlay as a filesystem and therefore is shy providing output=E2=80=A6 = :) > > > > 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 > backend, > > 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 someh= ow > > fiddle around with the APKBUILD file of coreutils=E2=80=A6 > > > > Cheers > > Christian > > > > > > > > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > > --001a1134e5a2a08500053bfecbfb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey Justin,

thanks for getting back to = me. I have created a package on an overlay host and using it as an workarou= nd.

But I am happy to get rid of it,= once the issue is fixed. :)

Thanks
Chri= stian

= On Thu, Sep 8, 2016 at 12:19 PM, Justin Cormack <justin@special= busservice.com> wrote:
Ther= e 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 <ckniep@gaikai.com> wrote:
> Hey there,
>
> I am running an alpine container on a Linux system that uses overlay a= s
> docker storage backend.
>
> My suspicion would be, that the df command does not no how to deal wit= h
> overlay as a filesystem and therefore is shy providing output=E2=80=A6= :)
>
> gentoo1 ~ # docker info |grep 'Storage Driver'
> Storage Driver: overlay
> gentoo1 ~ # docker run -ti --privileged alpine df -h
> Filesystem=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Size= =C2=A0 =C2=A0 =C2=A0 Used Available Use% Mounted on
> gentoo1 ~ # docker run -ti --privileged ubuntu df -h
> Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on > overlay=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01.4T=C2=A0 3.6G=C2=A0 1.4T=C2= =A0 =C2=A01% /
>
> If I run df on my Ubuntu16 reference box - using AUFS as a storage bac= kend,
> 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Size= =C2=A0 =C2=A0 =C2=A0 Used Available Use% Mounted on
> none=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A077.2G=C2=A0 =C2=A0 =C2=A026.3G=C2=A0 =C2=A0 =C2=A047.0G=C2=A0 36%= /
>
> How do I get overlay into this little df command of mine? I guess some= how
> fiddle around with the APKBUILD file of coreutils=E2=80=A6
>
> Cheers
> Christian
>
>
>
>


---
Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.alpinelinux.org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@lists.alpinelinux.org ---


--001a1134e5a2a08500053bfecbfb-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---