From nobody Thu Jun 9 19:31:17 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 571F7839458 for ; Thu, 9 Jun 2022 19:31:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJvNM4Gj8z3Fh9 for ; Thu, 9 Jun 2022 19:31:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654803083; bh=pgJpOaX472g0po3mNcmPLa2H7unr3UfW+y5JaS+vfn4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=DLnZwx9BkC59VCfdU662D/mZsGtiyhM4ey4NQhi8QxbldFJzPGm29SrL6XyWDabeQBWjcucS6bU6SdvaVYqJ9iljAlmywAQ/Cq4h3c32l+hvWtdW/w4orDRdWA+k0WGZ+9C26YE4anFsHTyPKRBScrrXdzFsyoslsSKy2UQMExBKjA5z3wZcXs7audKU5Yh25Hldqfvi2cF3m41J6wP9C/s5GxUnua4w1vh1g3r2o9Ky6082fP1vTGmVqrRg+iLZWo5nhftQLOF3sC8ChAM/InH8FTnaqP4pbJWVcm+02hUXNm7NW1EMwSDZHxanCJcyPspuC5vFwvhucJ80xlOO1A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654803083; bh=SSme2vaguQ/OesCJpcrQdWwSuUPHLT08vdebA0QD11v=; h=X-Sonic-MF:Subject:From:Date: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P6ADu7tTt6uytHt15sKGKwamWES7N 2adpGEmueTiDBnOSXCVGDueDF6vTxIVPh0rGMofa8DiS_XwbbXFCUzVYFuYUdSBL.yw.5fU.x.Qe 4sU7iOZYq.0CDwFGpkyXuq5LN2k9LkBb_huXJQcw6ijVwBnfgbY3vLBfZBzq_C4hNzhcHSPJYTty 5DescL46iP.JfNOP61ToFEef6VvzAzyFmwAxHPknt61.z9Nk7vXs.kxPx3ieD9EPTi0npbHWjj15 wojgx_2fxy.6aFD4mZ0KdSyClF6m3gbm_jaMI.WgqplNw_n.j5_0DQwBleoD38HpCkPCSH_1lAf3 AkUrGyF3JurzqqrYK9UcAjrS7t64UZjdfnxbbRlRr_OWIBW6v8RChhA7u9y4_CYqRgD9C_4VIvkv EWhe6.Bv7xT7rlo.v7n2y__Q4uskvcp6gKgOtXrORp4kRLwNuDyOQUtmcLDwc3CmOQGfyeQVTqkV .D15jtopw4pR3zJhgBEzjoxWmRE89EqdRyieSq8YIvEycPlAQlRtlQ.9YKxQC2iJHWxX41L1vJBf GegQuzk2vxQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Thu, 9 Jun 2022 19:31:23 +0000 Received: by hermes--canary-production-bf1-856dbf94db-4lmbr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9626a9373ab1fa87731cd0d083b11cd7; Thu, 09 Jun 2022 19:31:19 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Any clue why "df -m" vs. "du -xsAm" get such different results for the tmpfs in question (403 MiBytes vs. 101 MiBytes)? From: Mark Millard In-Reply-To: <82ffa6bb-5826-62b6-2b82-a735b183272f@grosbein.net> Date: Thu, 9 Jun 2022 12:31:17 -0700 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <2F1A9EE0-FB9E-4BBF-AF76-4E5AD372FCC1@yahoo.com> References: <4997AB05-8CD4-4A2C-AAB3-34F6DB2CE325.ref@yahoo.com> <4997AB05-8CD4-4A2C-AAB3-34F6DB2CE325@yahoo.com> <82ffa6bb-5826-62b6-2b82-a735b183272f@grosbein.net> To: Eugene Grosbein X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4LJvNM4Gj8z3Fh9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=DLnZwx9B; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.49 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.83:from]; MLMMJ_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jun-9, at 03:45, Eugene Grosbein wrote: > 09.06.2022 2:54, Mark Millard wrote: >=20 >> Why 403 vs. 101 ? >=20 > lsof +aL1 $mountpoint >=20 Thanks for the explicit alternative to explore. It turns out that the result is a list of all FIFO types: # lsof +aL1 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p/ = | more lsof: WARNING: access /usr/home/root/.lsof_CA72_UFS: No such file or = directory lsof: WARNING: created device cache file: /usr/home/root/.lsof_CA72_UFS COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK = NODE NAME sh 187 root 6u FIFO 4294967295,2264989460 0 0 = 609904 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p = (tmpfs) sh 2447 root 6u FIFO 4294967295,2264989460 0 0 = 609904 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p = (tmpfs) . . . sh 96552 root 6u FIFO 4294967295,2264989460 0 0 = 609904 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p = (tmpfs) sh 98284 root 6u FIFO 4294967295,2264989460 0 0 = 609904 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p = (tmpfs) But there is still the likes of 402 (df) vs 101 (du): # df -m /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p Filesystem 1M-blocks Used Avail Capacity Mounted on tmpfs 1024 402 621 39% = /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p # du -xsAm /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p/ 101 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p/ So I'm still looking to figure out what leads to the about factor of 4 between the df and du results. =3D=3D=3D Mark Millard marklmi at yahoo.com