From owner-freebsd-fs@FreeBSD.ORG Tue Apr 22 16:36:50 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 727C2A77 for ; Tue, 22 Apr 2014 16:36:50 +0000 (UTC) Received: from mail-out.apple.com (mail-out.apple.com [17.151.62.51]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 522261CD7 for ; Tue, 22 Apr 2014 16:36:49 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Received: from mail-out.apple.com by local.mail-out.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) id <0N4F00800XRMWK00@local.mail-out.apple.com> for freebsd-fs@freebsd.org; Tue, 22 Apr 2014 09:36:48 -0700 (PDT) Received: from relay4.apple.com ([17.128.113.87]) by local.mail-out.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTP id <0N4F00IULY3XA660@local.mail-out.apple.com>; Tue, 22 Apr 2014 09:36:48 -0700 (PDT) X-AuditID: 11807157-f79aa6d0000017b2-12-53569aa0d280 Received: from ggulchin.apple.com (ggulchin.apple.com [17.199.68.248]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by relay4.apple.com (Apple SCV relay) with SMTP id 15.CF.06066.1AA96535; Tue, 22 Apr 2014 09:36:49 -0700 (PDT) Subject: Re: ZFS unable to import pool From: Gena Guchin In-reply-to: Date: Tue, 22 Apr 2014 09:36:48 -0700 Content-transfer-encoding: quoted-printable Message-id: <6DACDF6E-E1ED-49C0-975C-A91F68EA8840@icloud.com> References: To: Ronald Klop X-Mailer: Apple Mail (2.1878) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsUieNzlh+7CWWHBBu1neSyOPf7JZjF3wXVW i+9LNrI7MHvM+DSfxWP5tKOMHof3X2ILYI7isklJzcksSy3St0vgypi5/wJbwQSxisMvJ7M1 MM4X6GLk5JAQMJH48OIEE4QtJnHh3nq2LkYuDiGBKUwSq6+dZwdJCAuoSbxacZS1i5GDg1fA QGLtokiQMLOAnsSO679YQWw2AXWJn18fgdmcAjYSq36cBZvJIqAqMbWpgR2iXkri8pI/ULa2 xLKFr5lBbF4BW4l9W66C1QsJ5Eo8ffaVEWSVCNDaW9uUIU6TlZjYuI1xAiP/LIQjZiE5YhaS oQsYmVcxChSl5iRWmuglFhTkpOol5+duYgSFYENh+A7Gf8usDjEKcDAq8fBKGoQGC7EmlhVX 5h5ilOBgVhLhFesPCxbiTUmsrEotyo8vKs1JLT7EKM3BoiTOq8fsHywkkJ5YkpqdmlqQWgST ZeLglGpg3HXk56WyA+3/tkQKBzSv40wSXM4u7LB7x5+C89dCL/Uc2pVorp8eFfJ6uZl4X/7v 1qJ2339nPNx4bQOu5C5YVFoeKaX2p3rCs6uPxS59/nkv/qNmfcyFbWdf/56lt+LoZKZHkjc+ 3udp37yQTSD156Vn9ZskM/KuVG/xaMq9I/40tMxnkZvSLSWW4oxEQy3mouJEADDwBFQ9AgAA Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 16:36:50 -0000 Ronald,=20 system does see the disk, ada7, in this case. Nothing has been = disconnected from the system. what steps do you suggest I take with GEOM? thanks! On Apr 22, 2014, at 2:49 AM, Ronald Klop wrote: > On Mon, 21 Apr 2014 21:29:27 +0200, Gena Guchin = wrote: >=20 >> Hello FreeBSD users, >>=20 >> my appologies for reposting, but I'd really need your help! >>=20 >>=20 >> I have this huge problem with my ZFS server. I have accidentally = formatted one of the drives in exported ZFS pool. and now I can=92t = import the pool back. this is extremely important pool for me. device = that is missing is still attached to the system. Any help would be = greatly appreciated. >>=20 >>=20 >>=20 >>=20 >> #uname -a >> FreeBSD XXX 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 = 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC = amd64 >>=20 >> #zpool import >> pool: storage >> id: 11699153865862401654 >> state: UNAVAIL >> status: One or more devices are missing from the system. >> action: The pool cannot be imported. Attach the missing >> devices and try again. >> see: http://illumos.org/msg/ZFS-8000-6X >> config: >>=20 >> storage UNAVAIL missing device >> raidz1-0 DEGRADED >> ada3 ONLINE >> ada4 ONLINE >> ada5 ONLINE >> ada6 ONLINE >> 248348789931078390 UNAVAIL cannot open >> cache >> ada1s2 >> logs >> ada1s1 ONLINE >>=20 >> Additional devices are known to be part of this pool, though = their >> exact configuration cannot be determined. >>=20 >>=20 >> # zpool list >> NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT >> zroot 920G 17.9G 902G 1% 1.00x ONLINE - >>=20 >> # zpool upgrade >> This system supports ZFS pool feature flags. >>=20 >> All pools are formatted using feature flags. >>=20 >> Every feature flags pool has all supported features enabled. >>=20 >> # zfs upgrade >> This system is currently running ZFS filesystem version 5. >>=20 >> All filesystems are formatted with the current version. >>=20 >>=20 >> Thanks a lot! >=20 > Does FreeBSD see the disk? Is it in /dev/ada2 (or another number)? > If FreeBSD does not know anything about the disk, ZFS can't either. A = reboot or some fiddling (partitioning?) with GEOM might make the disk = reappear. >=20 > Ronald. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"