From owner-freebsd-fs@freebsd.org Wed Jan 4 18:57:40 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F366EC9ED3A for ; Wed, 4 Jan 2017 18:57:40 +0000 (UTC) (envelope-from arthur_ramsey@mediture.com) Received: from zimbra.mediture.com (zimbra.mediture.com [198.181.114.30]) (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 D202A1A29 for ; Wed, 4 Jan 2017 18:57:40 +0000 (UTC) (envelope-from arthur_ramsey@mediture.com) Received: from zimbra.mediture.com (localhost [127.0.0.1]) by mail01.mediture.dom (Postfix) with ESMTPS id 67DD81E24DD; Wed, 4 Jan 2017 12:57:39 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail01.mediture.dom (Postfix) with ESMTP id 5C9381E2370; Wed, 4 Jan 2017 12:57:39 -0600 (CST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail01.mediture.dom Received: from zimbra.mediture.com ([127.0.0.1]) by localhost (mail01.mediture.dom [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kUd65S-CWvea; Wed, 4 Jan 2017 12:57:39 -0600 (CST) Received: from [192.168.223.92] (74-94-83-121-Minnesota.hfc.comcastbusiness.net [74.94.83.121]) by mail01.mediture.dom (Postfix) with ESMTPSA id 26B171E1AD9; Wed, 4 Jan 2017 12:57:39 -0600 (CST) Subject: Re: Unable to import degraded zpool To: linda@kateley.com, freebsd-fs@freebsd.org References: <5e87711e-83e8-b813-2224-a3c7d00d6ad0@mediture.com> <420baa88-c405-cb2d-a4e0-8bd6042b0020@kateley.com> From: Arthur Ramsey Message-ID: Date: Wed, 4 Jan 2017 12:57:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <420baa88-c405-cb2d-a4e0-8bd6042b0020@kateley.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2017 18:57:41 -0000 Open Indiana, Omnios and Nexenta use the same kernel and ZFS implementation? I tried the latest version of Nexenta too with no luck. I'll give it a try barring any better ideas though. Thanks for the tip, Arthur On 01/04/2017 12:51 PM, Linda Kateley wrote: > I would have tried omnios for this.. much closer to nexenta. > > If you can import the pool, sometimes I can just run zpool online on > the UNAVAIL drive and have it pop in.. > > Linda > > > On 1/4/17 12:13 PM, Arthur Ramsey wrote: >> Hello, >> >> I had 2 pools on Nexenta 4. One pool caused Nexenta to boot loop, so >> I decided to install FreeNAS 9.10.2. No idea why it starting acting >> up: no changes were made nor was a scrub started. I've previously >> migrated pools from Nexenta 4 to FreeNAS 9.3 without issue. FreeNAS >> reported one of the pools reported as corrupted though all disks were >> online, which is the pool that was causing the boot loop I think. I >> recreated that pool since the data was more easily replaceable. I >> had another pool that reported as online, but it failed to import >> with a missing disk error and dmesg had errors about incompatible >> mediasize. One disk was shown with the blkdev name (daXXpX) in the >> zfs import output and zdb -l revealed what I thought was a label for >> an old pool, so I did a zpool labelclear on it; however, it still >> failed to import with the same error and as expected now reported as >> degraded. I then tried FreeNAS 9.3.1 and got the same missing disk >> error, but nothing interesting in dmesg: >> http://pastebin.com/w0VBcCfy, http://pastebin.com/NH0uyULV. No >> combination of -f, -F, -n, -N, -X, -T or -o readonly=on will import >> the pool on FreeNAS 9.3.1, FreeNAS 9.10.2, OpenIndiana Hipster or >> Ubuntu 16.04.1. On FreeNAS, I had vfs.zfs.recover=1 and >> vfs.zfs.debug=1. A memory test passed on the machine and the >> recreated pool seemed to work OK, but I tried moving the pool's disks >> to a known good machine running FreeNAS 9.3 and I had the same result. >> >> # zpool import >> pool: xensr >> id: 17993649064102742628 >> state: DEGRADED >> status: The pool was last accessed by another system. >> action: The pool can be imported despite missing or damaged >> devices. The >> fault tolerance of the pool may be compromised if imported. >> see: http://illumos.org/msg/ZFS-8000-EY >> config: >> >> xensr DEGRADED >> mirror-0 DEGRADED >> gptid/f3ececf5-a319-9266-b870-bc3259f24b68 ONLINE >> 5862692444503195050 UNAVAIL >> cannot open >> mirror-1 ONLINE >> mfisyspd6p1 ONLINE >> gptid/7cbacbcb-30f8-b5cd-a569-c92eea865edd ONLINE >> mirror-3 ONLINE >> mfisyspd5p1 ONLINE >> mfisyspd4p1 ONLINE >> mirror-4 ONLINE >> mfisyspd3p1 ONLINE >> mfisyspd1p1 ONLINE >> cache >> 12574043822818177481 >> spares >> 11626098521560667599 >> logs >> mirror-2 ONLINE >> mfisyspd8p1 ONLINE >> mfisyspd7p1 ONLINE >> >> # zpool import -f xensr >> cannot import 'xensr': one or more devices is currently unavailable >> >> Could it be a bug with importing non-exported degraded pools or >> unreported corruption? I tried the FreeNAS IRC channel and got some >> assistance, but no solution. I cannot get logged into their forums. >> The OpenZFS advises to use platform specific mailing lists. I >> decided to try this mailing list. >> >> >> Thanks, >> Arthur >> >> This e-mail and any attachments may contain CONFIDENTIAL information, >> including PROTECTED HEALTH INFORMATION. If you are not the intended >> recipient, any use or disclosure of this information is STRICTLY >> PROHIBITED; you are requested to delete this e-mail and any >> attachments, notify the sender immediately, and notify the Mediture >> Privacy Officer at privacyofficer@mediture.com. >> >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the Mediture Privacy Officer at privacyofficer@mediture.com.