From owner-freebsd-fs@freebsd.org Thu Feb 25 21:38:47 2021 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 10A5E54A717 for ; Thu, 25 Feb 2021 21:38:47 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmmPf4S89z3nJP for ; Thu, 25 Feb 2021 21:38:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) X-Originating-IP: 195.64.148.76 Received: from [192.168.0.88] (unknown [195.64.148.76]) (Authenticated sender: andriy.gapon@uabsd.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 09C3720006; Thu, 25 Feb 2021 21:38:43 +0000 (UTC) Subject: Re: FreeBSD 13 BETA3 zfs mount failed To: infoomatic , freebsd-fs@freebsd.org References: <92cd2855-8765-234e-3763-3811da269704@gmx.at> From: Andriy Gapon Message-ID: Date: Thu, 25 Feb 2021 23:38:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <92cd2855-8765-234e-3763-3811da269704@gmx.at> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DmmPf4S89z3nJP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 21:38:47 -0000 On 25/02/2021 02:25, infoomatic wrote: > Hi, > > I am sharing my photos via an external hard drive with my family > members. I use bhyve+pass-through of the device to access it on ZFS via > a Linux VM (the others use Linux). > > I wanted to get rid of bhyve, so gave BETA3 a try. Created the partition > on Ubuntu 20.04 Linux and made a zpool "hd015" (kernel 5.4.0-66-generic, > zfsutils-linux 0.8.3-1ubuntu12.6), encrypted the dataset hd015/fotos, > created some datasets beneath and copied some photos over. Just to try to narrow down, does the same procedure work if datasets are not encrypted? > On a FreeBSD 13 BETA3 box, I did a "zfs load-key hd015/fotos", however, > a "zfs mount -a" resulted in: > > cannot mount 'hd015/fotos/2018-2019-weltreise': mount failed > cannot mount 'hd015/fotos/2018-2019-weltreise': mount failed > cannot mount 'hd015/fotos/2016': Input/output error > cannot mount 'hd015/fotos/2021': Input/output error > cannot mount 'hd015/fotos/2011': Input/output error > > > "zpool status -v hd015" gives: > > ... > > errors: Permanent errors have been detected in the following files: > >         hd015/fotos/2021:<0x0> >         hd015/fotos/2011:<0x0> >         hd015/fotos/2016:<0x0> >         hd015/fotos/2020:<0x0> >         hd015/fotos/2018-2019-weltreise:<0x0> > > I assume this is not expected behaviour, and I am willing to help to > resolve this ... any info/direction/tasks to debug is welcome, thanks! -- Andriy Gapon