From owner-freebsd-fs@FreeBSD.ORG Tue Apr 22 16:39:35 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1166CD6C for ; Tue, 22 Apr 2014 16:39:35 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFD251D1D for ; Tue, 22 Apr 2014 16:39:34 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id as1so5513936iec.31 for ; Tue, 22 Apr 2014 09:39:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=QadoYXp6NLYLFGkzqpYUwN349NyehcYIxyWZSmg53LE=; b=NYYqCxuBW6FS4L3Kp2azgGk5aBT8/AN4ZbyXgB6sGr0vu7cFDdwYZi7M8emZUCtWM3 bU3q0pmpWNsg995PNiCvuIMuBUDlnJb7M3ZkpSqow0gJ3cGgENbR31VnxWeDpP5Ty0uA BIe4k6isr03CKd1XgzrkbwIzXo5TPur9A8g3uAezlcrt0OzZ8O8+24NlkOyg3f4iYeWJ FgdZ2rRjyhl1rhfGlS9EoDhWm5Txka04kgDU7iUlHnikVq0mP3YRfigjP1RSxsjVwuRe MZPrlLHYv11sPIBmE4+63IaesPHF7byUHO41lnm/P4lJ/oOTSul95CgsmRkGFWg6sWSh mt5Q== X-Gm-Message-State: ALoCoQlFOtw8Dsx4LLeZxXXEC4j6SUP9gUaZUHzQz4GRNxE5mrPm1WXXwAlvkjR+f3B/bbcmyhPM X-Received: by 10.50.82.73 with SMTP id g9mr31332587igy.0.1398184767871; Tue, 22 Apr 2014 09:39:27 -0700 (PDT) Received: from kateleycoimac.local ([63.231.252.189]) by mx.google.com with ESMTPSA id b6sm29374629igm.2.2014.04.22.09.39.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 09:39:26 -0700 (PDT) Message-ID: <53569B38.7010406@kateley.com> Date: Tue, 22 Apr 2014 11:39:20 -0500 From: Linda Kateley User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: ZFS unable to import pool References: <6DACDF6E-E1ED-49C0-975C-A91F68EA8840@icloud.com> In-Reply-To: <6DACDF6E-E1ED-49C0-975C-A91F68EA8840@icloud.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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:39:35 -0000 Have you tried to offline the disk? Then online the disk? lk On 4/22/14, 11:36 AM, Gena Guchin wrote: > Ronald, > > 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: >> >>> Hello FreeBSD users, >>> >>> my appologies for reposting, but I'd really need your help! >>> >>> >>> 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’t 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. >>> >>> >>> >>> >>> #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 >>> >>> #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: >>> >>> storage UNAVAIL missing device >>> raidz1-0 DEGRADED >>> ada3 ONLINE >>> ada4 ONLINE >>> ada5 ONLINE >>> ada6 ONLINE >>> 248348789931078390 UNAVAIL cannot open >>> cache >>> ada1s2 >>> logs >>> ada1s1 ONLINE >>> >>> Additional devices are known to be part of this pool, though their >>> exact configuration cannot be determined. >>> >>> >>> # zpool list >>> NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT >>> zroot 920G 17.9G 902G 1% 1.00x ONLINE - >>> >>> # zpool upgrade >>> This system supports ZFS pool feature flags. >>> >>> All pools are formatted using feature flags. >>> >>> Every feature flags pool has all supported features enabled. >>> >>> # zfs upgrade >>> This system is currently running ZFS filesystem version 5. >>> >>> All filesystems are formatted with the current version. >>> >>> >>> Thanks a lot! >> 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. >> >> 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" > _______________________________________________ > 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"