From nobody Sat Jan 29 14:35:34 2022 X-Original-To: questions@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 EE6A31995566 for ; Sat, 29 Jan 2022 14:35:46 +0000 (UTC) (envelope-from taceant@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JmH1Z0hRGz3Bwj for ; Sat, 29 Jan 2022 14:35:46 +0000 (UTC) (envelope-from taceant@gmail.com) Received: by mail-ej1-x62c.google.com with SMTP id j2so26266683ejk.6 for ; Sat, 29 Jan 2022 06:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=6hVDUKe2g7tjmSIu05uEN89gWToq45mHG+2lmBE/bRE=; b=K+KJLis4s3Wv4Wb8kEA8lFTv8I5PJsyNLQfKkILb2adIxyubuCxSaWrYyckM6d3mjN l4sQIV0tYarU7HNY93S/od9TGvCir0oZArqFVuQgDTEdQxg/TnXA6mTnxFLTndaylhJV HuBcxa5Dt5U1DHKJRdvHJuUt6muJ3OkdgkkQD1KBr32hIfdTvLR7RHg9si5M3mYbR0U5 5ZSBMysGwsCuqhxqJ/RgYsZbSylb7/xZapoW8x5GA7sde6nRvjYhleCqrs2xOgJ62koi B3kAujPFTB6rVxCfhvlRPCL5opdtO3an8KBd/emUYiVYUTmAkgobcezIBDnFVOsZS0gT AvLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=6hVDUKe2g7tjmSIu05uEN89gWToq45mHG+2lmBE/bRE=; b=VL/ytuYLBqQ6dcQcVqjIKTwZU9Z7xr2W4BZElmMWaLi7LCCJesD2PFU4wkdnR8z3B0 z61JNzo2+YgecGELCsIE5W0emPDH7V3JGBWyl1Jwndtd1p+DDxB6fnUQFVZ4yNf0qscP ygP2LX1QmiuzKYhIZloCgxw5KMsrUZAaIz0tUgWm89NSV3vlW+gZyGrxskZhy0O8Nv4b OhGwLFnQfcjvhLC/sU0mZrijiq1e1XzdWKdnZGvOVEogRWC095YqHhPsxhqSXwrhLy70 vsCnWxReBVNdf/UNIQSeZksJJkMXRRkSk329Q7LmhSfdY/mOHu3EWLFDzWGMXzOH7y8b h0tw== X-Gm-Message-State: AOAM531dY+ZjwoXH6Hq6O6XpqxzrMAb2BFS3uzRGGOp5Dd6HR1k8wbQH Gc4l7V8AjiObdl7GsyrdTYDnXR7Vb8ZVpmt8xLd2Ll3UOig= X-Google-Smtp-Source: ABdhPJwZY4/4Nhc+it3IhBbWs//8MubKf2qFQtgEwSDn32UkDwcYY9mcwOZ1EfyfzbYSnv/OV0z0tQZ0NNyRXYumAsY= X-Received: by 2002:a17:907:9727:: with SMTP id jg39mr10969826ejc.394.1643466945128; Sat, 29 Jan 2022 06:35:45 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <308caf55-7fad-3b24-0f6c-3d7bb9a9ca1b@netfence.it> In-Reply-To: From: Taceant Omnes Date: Sat, 29 Jan 2022 14:35:34 +0000 Message-ID: Subject: Re: [ZFS] file in encrypted dataset disappears on first reboot Cc: FreeBSD Questions List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4JmH1Z0hRGz3Bwj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=K+KJLis4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of taceant@gmail.com designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=taceant@gmail.com X-Spamd-Result: default: False [-1.87 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MISSING_TO(2.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.874]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62c:from]; MLMMJ_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, 29 Jan 2022 at 14:13, Andrea Venturoli wrote: > > Any idea why that happens? Is it due to some ZFS > > property that has a different default in FreeBSD and Linux? > > No idea, sorry. There is likely a systemd unit in Linux that auto-mounts encrypted datasets. As for BSD, the feature was implemented in rc.conf last month but will be available only on 13.1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256483 As I am using 13.0-release, the following addition to /etc/crontab did the job. @reboot root zfs mount -a -l So all is working and I learned a bit more about zfs! Grazie