X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by lists.alpinelinux.org (Postfix) with ESMTP id ACB0E5C4278 for ; Fri, 2 Sep 2016 08:25:06 +0000 (GMT) Received: by mail-oi0-f47.google.com with SMTP id p186so116563137oia.2 for ; Fri, 02 Sep 2016 01:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaikai-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:date:message-id:subject:to; bh=cBUdwf7dHVluf8jhAWLqiFvEp30X4biKgyl3X99oa58=; b=HpiHa2kll6LTtLDTgi9KrQrafxkaQ1yS4bShHDeJGuKXh8lanVImHnIkoi0CZ57cIJ YOA3Go28yb+i6lkWFPpvzjNjnpDV0K1fK0Jwk3rpM+ObLP9VmQUHFaLn773svT72tglw AkI+O5egv+/Z4jAsX5fB7elp3W/aIYQ3T1vA0+/QjBWc20XFYBeGn5rJ8iewJt9nWWpH 0MzzhPwtIbI0Lt1ei3SVNMxL4rrnKbto+F6mW2+j8vV0IiS4W+orIfi18jJwbW6gr6xc Tu4L230S6Ga8oTRMAMElYRYqh+As5qmIi64ox1WbWFzvMTqd15bsxKJ4LqJk9Y0dBcUg +MkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=cBUdwf7dHVluf8jhAWLqiFvEp30X4biKgyl3X99oa58=; b=JLnjFlEaI98wyhqJrpZv9mS4QaP1LP+frkz7fnwfdWx8FqcaQtML33CNFLfxFKTVCZ wpMJJfqO4HFDuKKxg5EeWgNtwGS0xMSmmJqnQZEsI0gId+0JvI/FYMRcXzNU2RKyReAO jSFOeLpaSzScYUHP6WRl+r49TzbPn9KAu1XoWDjdDRLo/yc55konu1RelQulfRgMr3BT RbuNtxy9TWnT3FDJg6NH3//BrdZp2wiSmGjtEjdzkJDW8C55/+AMiuy3TWEUHd4tDcpw QOSlR86iJJqOkaUoya7L3TYBYUNpYfKc+dAbq/p7T63GjKiUwBEtKGBNu2rtAHywmDC0 /GxQ== X-Gm-Message-State: AE9vXwN+pkKEwCMaKC2vibw+Sh3NhtF6NsPlj2+ovmgrBuJl8L0uGWyvEa16X/YncEeWLIwlQ86n/ydiy6rRGdq6 X-Received: by 10.202.173.151 with SMTP id w145mr18872215oie.203.1472804706201; Fri, 02 Sep 2016 01:25:06 -0700 (PDT) Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Sep 2016 01:25:05 -0700 From: Christian Kniep X-Mailer: Airmail (382) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Date: Fri, 2 Sep 2016 01:25:05 -0700 Message-ID: Subject: [alpine-devel] Using df with OverlayFS To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a113cecc6564d14053b8211e1 --001a113cecc6564d14053b8211e1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 somehow fiddle around with the APKBUILD file of coreutils =E2=80= =A6 Cheers Christian --001a113cecc6564d14053b8211e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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 prov= iding 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 somehow fiddle around with the APKBUILD file of coreutils= =E2=80=A6

Cheers
Christian




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