From owner-freebsd-questions@freebsd.org Wed Mar 3 15:01:54 2021 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 56C5256CC7F for ; Wed, 3 Mar 2021 15:01:54 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 4DrHJx4pjcz3sfd for ; Wed, 3 Mar 2021 15:01:53 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ej1-x632.google.com with SMTP id mj10so22706363ejb.5 for ; Wed, 03 Mar 2021 07:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XbwZs/9C8vBWmjeg41Cz+cK8mY8eNtQGUb9Pw3hKE/w=; b=gpmAooEP//LdZ4sOPul8Cw2yKFZvt+IwAEyLt9Xtd/z+LHS+wTctUHo+SmWElUaCCF vPgTOx3NXKjE/oqAECr4johpsZYhB6C+09pp/qxINMAo82gwIxzkKfKJDPLE6P4tpSup zH79OjnV+pDSL/fVclluipG4jFzaEHbU1fp5fhXS8DULsHPHG9+DkuFVscBLkt2tGSVx SJNtfibBwcO3/WdHsIl045QF//Cny9T+LKQ6r2R8rMQKuxurQO2O2pnhWZVy5LFQWrQe KgNy6TdVitCcadCgD5lhAVCkRRfsP7CEwhESbN76FGpoQAgo+BYXH9WuO7Gp/sTab9VY PPzA== 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=XbwZs/9C8vBWmjeg41Cz+cK8mY8eNtQGUb9Pw3hKE/w=; b=bQ4huCKvzK51Qr5HGm3dmeEb1/nExOxp97yexUIIKt+gz8IJA/dBusnq3vYKDUx9fW BvQQb43Ke2OoHoeJ0CKHuftl/p8EnFF/eTGYIKtSCW6MiM+EVZRS0YtPWjH63Ehr+jqw XpGvT5bDOmB60+7u5xNrV7tb9J7azrsihTKjCs/j8+SOATBMwhuA0LtkCdfiqUV0gAYe txFXrn8uIznDl6PghaYI6tYq2HG4tUDNgIq6fIBV/zCCEIt/Oyu800+7oQLztdkR3+7M ZdoIEPFAS7i/1IRREGYn32/7R20kW4Y7ihTgCYV6CYX+6qwQkjVFGb/GZF9stZSZlMTe dhjw== X-Gm-Message-State: AOAM5305iqTQbbwaUIvhORxrTkah9+UB7yfCWOVaVD9UXpnva3+bjLTI n7CV9nH/TRfdFeHSa97a+t/Q7QIoKYRuN3taKd5iwA== X-Google-Smtp-Source: ABdhPJzUKajKW9l4BEdGa0ifARQqrM9doNdRNbvtKb0487fZpWNgKimTaCvQ3X1lIQlEYNi1Rt1m7tunfuhsTjp+UC8= X-Received: by 2002:a17:906:81d5:: with SMTP id e21mr19255904ejx.102.1614783697201; Wed, 03 Mar 2021 07:01:37 -0800 (PST) MIME-Version: 1.0 References: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> In-Reply-To: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> From: Tomasz CEDRO Date: Wed, 3 Mar 2021 16:01:21 +0100 Message-ID: Subject: Re: zfs out of space To: David Christensen Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DrHJx4pjcz3sfd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=gpmAooEP; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::632) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-1.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.84)[0.842]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::632:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::632:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 15:01:54 -0000 On Tue, Mar 2, 2021 at 4:28 AM David Christensen wrote: > I would try discarding the checkpoint: > # zpool checkpoint --discard pool Thank you David! That helped :-) In addition to that I have created sub volumes to obtain more granular control over snapshots, that required moving old directories into new mount point locations, and mv did not delete all moved files thus space exhaustion. I can now run snapshots in cron everytday for critical data, every week for less important data, and once per month for general use data :-) Is there any way to create a zfs volume from an existing directory? Not to move all the files? :-) Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info