From nobody Thu Jul 13 20:08:12 2023 X-Original-To: freebsd-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 4R25JY45Hjz4n1HY for ; Thu, 13 Jul 2023 20:08:13 +0000 (UTC) (envelope-from fbsd@bomgardner.net) Received: from brightstar.bomgardner.net (brightstar.bomgardner.net [63.229.207.48]) by mx1.freebsd.org (Postfix) with ESMTP id 4R25JX58Myz3KnH for ; Thu, 13 Jul 2023 20:08:12 +0000 (UTC) (envelope-from fbsd@bomgardner.net) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=bomgardner.net header.s=default header.b=Wwe1mY8r; spf=none (mx1.freebsd.org: domain of fbsd@bomgardner.net has no SPF policy when checking 63.229.207.48) smtp.mailfrom=fbsd@bomgardner.net; dmarc=none Received: from bomgardner.net (localhost [127.0.0.1]) by brightstar.bomgardner.net (Postfix) with ESMTP id 39EA4F806FC for ; Thu, 13 Jul 2023 15:08:12 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bomgardner.net; s=default; t=1689278892; bh=FFqm63dOR/ucteqxGPSx/9nhZrRWW+V4utfvdM/KTi4=; h=Date:From:To:Subject:From; b=Wwe1mY8r1+MmZTFcWUbwu4BJbrlWtPo+Xibcqrr1kZK41DVL+nGj4Fm1/cC8thAYE GmWgH1N25t70LHGE9txzNMAM7u7uJkquCRd5ywXqt5gKer5qzX3u/07q2QNo7P/5f/ zafYNWxz5tW9AHKRWrbIZnCGNILgk21++49LWxb4= 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 Date: Thu, 13 Jul 2023 15:08:12 -0500 From: fbsd To: Freebsd Questions Subject: Help needed - recovering zfs pools after zio_read error: 5 ZFS: i/o error all block copies unavailable Message-ID: <8da46fbf792e87a87b9b1e04e6df22ef@bomgardner.net> X-Sender: fbsd@bomgardner.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.99 / 15.00]; AUTH_NA_OR_FAIL(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_PERMFAIL(0.00)[bomgardner.net:s=default]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:209, ipnet:63.229.192.0/19, country:US]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[bomgardner.net:~]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bomgardner.net]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4R25JX58Myz3KnH X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N Hi - I hacve a FreeBSD 13 system. I got "zio_read error: 5 ZFS: i/o error all block copies unavailable " while attempting a reboot. I've verified that hardware is ok and that disks can be read. I booted the system off a flash drive. Prior to boot I loaded kernel and zfs.ko. After searching and trying a number of things I finally found that "zpool import -f -R /tmp/mnt zroot" would actually mount what I assume is the root volume. It contains tmp, var, usr, and zroot. However, there was a directory that apparently, while appearing in "/" was not actually a part of that pool. There is no sign of "/exportables" the missing directory. I don't know where it is. ZFS was set up with all the defaults presented by the installer. Has anyone any idea where to go from here ? The system has 2 drives morrored. So I thought about a fresh install on one drive and resilvering from the other but I'm not sure if that would work or how to go about it. Ant ideas would be appreciated. Thanks all, Gene