From owner-freebsd-fs@freebsd.org Thu Nov 21 14:59:59 2019 Return-Path: Delivered-To: freebsd-fs@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 050D11C18FF for ; Thu, 21 Nov 2019 14:59:59 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 47JjQk24Rfz4WKp for ; Thu, 21 Nov 2019 14:59:58 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f173.google.com with SMTP id l20so3402892oie.10 for ; Thu, 21 Nov 2019 06:59:58 -0800 (PST) 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=XuR9K2nSYeQwxSarnovC1Y2QvQxYctHhL6q0xDfjIEk=; b=rMlLaCwKzLmK2L3bLuBRHt13RK+e4wzZmIyi23qwTkbH6J0C+z3Pt45qdnXr+m4GsT 9558TZE1MWkfsPuxNBRhHWdhx9kfxr4ffOKdRZ4NaBNnAj9iBjaAsAOabcZQw8Ba8ty1 alEQ+XXeWLKqxO8EFmcqAcRRdP5qSykbZBfgxojRnLr4rL2tUd5XWX2Skk8PawILGhzL te5gvSc9y4iXxc6rNs7ivylAmp/zLZRucXHqXjGcZheEqGkHq7Dnm7Em4l3Y0ILfm6HH yoLmpiTfHMEq/n75WSoR4X0SUPfs3D3SVXTks92EJLCRJQHzdpQ1x4b+yAyconAKfDRw jFdQ== X-Gm-Message-State: APjAAAW/nt8GNjY7ue8b42qYncUXlyvhr7mCVQR3zRmVdVzdpdHSQY5W 5F/1Bl98QUov49B47ftmFMNYtDWDuOGYjmCkDPHPJ5Qo X-Google-Smtp-Source: APXvYqxQPj+xpzIBPAXq8ius+bDln/bwEEzLo3+mGO90pkDZqukKFsNRog2lgQ4q13336OUeX2RLcv0XPZckbYgRl0Q= X-Received: by 2002:aca:3256:: with SMTP id y83mr7628491oiy.55.1574348396695; Thu, 21 Nov 2019 06:59:56 -0800 (PST) MIME-Version: 1.0 References: <20191107004635.c6d2e7d464d3d556a0d87465@magnetkern.de> <9B22AD46-BE87-4305-9638-74D23AD4C8CA@sarenet.es> <261FE331-EC5C-48C8-9249-9BCBF887CE38@sarenet.es> <913f7040-6e38-452d-6187-e17fae63b652@sentex.net> <20191120144041.7f916360dc0c69bf509c9bd1@magnetkern.de> <20191120163437.691abd369ab9c0a6d7d45ff2@magnetkern.de> <20191120175803.03401c3316fe756cc46f79f1@magnetkern.de> <3C5DC6DD-C44B-41EE-B7AB-6D8F94E43174@sarenet.es> <201911211259.xALCxShX008743@higson.cam.lispworks.com> <462E2C53-2490-4B8C-BB54-BCE8B75BAEB0@sarenet.es> <51805C8F-75D6-4DA1-A28E-68DAFC8A0276@sarenet.es> In-Reply-To: <51805C8F-75D6-4DA1-A28E-68DAFC8A0276@sarenet.es> From: Alan Somers Date: Thu, 21 Nov 2019 07:59:45 -0700 Message-ID: Subject: Re: ZFS snapdir readability (Crosspost) To: Borja Marcos Cc: Eric Borisch , freebsd-fs X-Rspamd-Queue-Id: 47JjQk24Rfz4WKp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.173 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[173.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.12)[ip: (-0.42), ipnet: 209.85.128.0/17(-3.17), asn: 15169(-1.97), country: US(-0.05)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[173.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2019 14:59:59 -0000 On Thu, Nov 21, 2019 at 7:57 AM Borja Marcos wrote: > > > > On 21 Nov 2019, at 15:18, Eric Borisch wrote: > > > > On Thu, Nov 21, 2019 at 7:46 AM Borja Marcos wrote: > > > On 21 Nov 2019, at 13:59, Martin Simmons wrote= : > > > I think that is incorrect. You can mount a snapshot on /mnt like thi= s: > > > > > > /sbin/mount -t zfs filesystem@snapname /mnt > > > > I=E2=80=99ve never seen that and, indeed, on FreeBSD 12.1 it=E2=80=99s = not possible. Or > I am terribly > > sloppy today! > > > > Did I miss anything? Is it a new ZFS on Linux feature? > > > > In a quick test, this works both on Linux and on FreeBSD running ZoF > (2019101600). > > Thanks, so it=E2=80=99s a new feature from ZoL. I am running the stock ZF= S. > > Is it really intended to work or just some misunderstanding? > > ZFS originally didn=E2=80=99t offer any mechanism to mount snapshots expl= icitly. > Except by cloning. > No, that is incorrect. You've always been able to mount snapshots that way. It's not a new feature. -Alan