From owner-freebsd-fs@freebsd.org Sat Feb 17 16:33:31 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F909F1E0D1 for ; Sat, 17 Feb 2018 16:33:31 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from sonic307-9.consmr.mail.gq1.yahoo.com (sonic307-9.consmr.mail.gq1.yahoo.com [98.137.64.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C668882F2 for ; Sat, 17 Feb 2018 16:33:30 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) X-YMail-OSG: u8Z3F4UVM1k01eiF7msCQJbg4gcrNR6SHJ2i2.bexuy4UhG255wikxCJVz4vsQ2 1cs.AqpW5lUzsH7Q8jw9Vy6i8RtVFSB6uqMmVdDiWO3szT0DSEHs4p3yS4cFyH21QA2aJCK6aaZ2 hPvSvaLVc1Ocry2LRoSPhdffIQGjbofRZqClyeM7USm.B3f31hrn0MAAtoaces64dyU4SdaHbYSn oNNbW7yJN1RRKWe5438eXqryF_qFEKJuJuRtHRNkV_65jNq2ic98vcQ_Hez7R9Yh3ZCht_U_KAcK C5s6.pABjw26WhzTiegucERoQMQ_2jwoB5kwjddAx7TF7r0iPh_EeLMMVo6eqRRS8YLM7X_Z3rYT Aj9_sBzaO_hNG41Gnrh_XgUOwNkvVtGSfeamZKBsE_Z799leQM.BdF606NX1X5Wj7ccLWijY5BqS g4SAB3RTDpJ4Asbf2dtgdR75rNPp2DE38Mjhe0oN67ar7XRS5MF.R9jBgiOgGUZajSlC2JtPwgTS V Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Feb 2018 16:33:23 +0000 Date: Sat, 17 Feb 2018 16:33:21 +0000 (UTC) From: James Phillips Reply-To: James Phillips To: Andriy Gapon Cc: Message-ID: <7336017.290096.1518885201320@mail.yahoo.com> Subject: Re: ZFS trashed by bad import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <7336017.290096.1518885201320.ref@mail.yahoo.com> X-Mailer: WebService/1.1.11419 YahooMailBasic Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 16:33:31 -0000 -------------------------------------------- On Sat, 2/17/18, Andriy Gapon wrote: Subject: Re: ZFS trashed by bad import To: "James Phillips" Received: Saturday, February 17, 2018, 2:46 PM =20 On 17/02/2018 09:41, James Phillips via freebsd-fs wrote: > # zpool import=C2=A0 -> shows list of available pools, including degraded striped mirror. > # zpool import -f 8255478166520290766 granny > # zpool status (any zpool command cause same error): >=C2=A0 =C2=A0 =C2=A0 internal error: failed to initialize ZFS library =20 Not sure if this is what happened, but it looks like the pool might have a filesystem with mountpoint set to / and it got mounted over the real / after import. So, you might have a mismatch between userland and kernel that causes the further issues. =20 --=20 Andriy Gapon =20 I did import by number because the zroot label conflicted. -james