From owner-freebsd-questions@freebsd.org Tue Oct 20 18:11:09 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 393A04374FA for ; Tue, 20 Oct 2020 18:11:09 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CG1s8240Gz4bF9 for ; Tue, 20 Oct 2020 18:11:07 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: by mail-pj1-x102b.google.com with SMTP id kk5so842664pjb.1 for ; Tue, 20 Oct 2020 11:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cQwBtyHRxV1aBNkiZCI6DwrV27DZ8WclTbQMHlrxCPc=; b=F/ZRKTnDNuRAA8rncbS4RgmRVvK9ph7w8R2eTjB7HNDJVC0jkyQjM1G7/kg8lCqIyO p+0YyttTWa53OW6YG+iiG1iad7tzE5mUp/zPq5kuhMey/q8/ekQBmU0jB1bjofFYnFgW uOkN7Ot0+A8eMVfPz3IHYoyr77KN4T427mFaFV/kMUfqJKNDTx31vS1tqt/FTJw5uKLa sJFQD1GNm2ASxp1fy55IZmzy6VF7ND72hYUHYtoxO9PVFvt2/CntMKUkCUOjhyiIS+Jw LGZMz9fZNEBQM3n1k/fV3EK+CNru9v7NlVw0mnXf+KwJetTSdp1LI8ZhUWchBI9e5KLC nxyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cQwBtyHRxV1aBNkiZCI6DwrV27DZ8WclTbQMHlrxCPc=; b=d5EHrzOzeLr153XEr5DaOyvabwmTdm7cTs253V2QIb948ciY5gG1yYscITVQUil4Ih xIbFdaje8ZLkzBMxAFMOPOS++Zehm1jfWt9n33FNyPehHD6EGWiQhJjUG13PI4+ZCGTY Z8BgWj7KiG9r2IQUsiSrLA3sVBz5su5mypaMLXRQpaFSFEje9VGi+gMkQq9Pq8Emy4X+ Toh0wiMR2YWcHfb9KWc+SgEyMvtGct2PCgIQtaXEEbRL8XXs8lWELK1EZQAkyPnWPdfL HaK3jYij0mzZgQvXkhcJyPpbxv0QZh7q0JsHF+ukHYL9G9Zlx22a9sgj8FsiEf+LM4MS MeEg== X-Gm-Message-State: AOAM533n6iDZa77N/eQ4lEelmoEmC5J86xlUC88hYXOa6twSNSKO86Fr bouh3KPPas4uWmkf5Ob+/G5mLYfljQyLFazrp9izJcnMfp5+ X-Google-Smtp-Source: ABdhPJyA8vj5Kft7bRTeIuQV4mnkh5oPWdz5NUSm9cSGTkq5pDhrC5UEPTq45qPYG5z/4z7hZzcykYRYuQfHmkoUUtc= X-Received: by 2002:a17:902:aa94:b029:d3:b593:2736 with SMTP id d20-20020a170902aa94b02900d3b5932736mr4219661plr.57.1603217466325; Tue, 20 Oct 2020 11:11:06 -0700 (PDT) MIME-Version: 1.0 References: <76ce98a6-f561-a997-7512-d2ce96f250bb@jschneider.net> In-Reply-To: <76ce98a6-f561-a997-7512-d2ce96f250bb@jschneider.net> From: Paul Procacci Date: Tue, 20 Oct 2020 14:10:40 -0400 Message-ID: Subject: Re: Pool space inconsistency To: Jon Schneider Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4CG1s8240Gz4bF9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=F/ZRKTnD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=pprocacci@gmail.com X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.010]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.01)[-1.010]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from]; NEURAL_HAM_SHORT(-0.26)[-0.258]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2020 18:11:09 -0000 This disparity is describe in the zpool man page. " The space usage properties report actual physical space available to the storage pool. The physical space can be different from the total amount of space that any contained datasets can actually use. The amount of space used in a raidz configuration depends on the characteristics of the data being written. In addition, ZFS reserves some space for internal accounting that the zfs(8) command takes into account, but the zpool(8) command does not. For non-full pools of a reasonable size, these effects should be invisible. For small pools, or pools that are close to being completely full, these discrepancies may become more noticeable." ~Paul On Tue, Oct 20, 2020 at 8:09 AM Jon Schneider wrote: > zpool list says > > NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP > HEALTH ALTROOT > zroot 1.81T 1.68T 137G - - 45% 92% 1.00x > ONLINE - > > whereas zfs list (and df -h) claim 79GB available. > > NAME USED AVAIL REFER MOUNTPOINT > zroot 1.68T 78.9G 88K /zroot > > How does the discrepancy between 137GB and 79GB come about ? > > Perfectly default dataset arrangements with no reservations on 11.2 . > > Jon > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- __________________ :(){ :|:& };: