From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 6 09:40:06 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D16091065673 for ; Tue, 6 Apr 2010 09:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 95B418FC1D for ; Tue, 6 Apr 2010 09:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o369e6vg032432 for ; Tue, 6 Apr 2010 09:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o369e6SC032431; Tue, 6 Apr 2010 09:40:06 GMT (envelope-from gnats) Resent-Date: Tue, 6 Apr 2010 09:40:06 GMT Resent-Message-Id: <201004060940.o369e6SC032431@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vermaden Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CB42106564A for ; Tue, 6 Apr 2010 09:36:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 424A58FC27 for ; Tue, 6 Apr 2010 09:36:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o369aeKc080365 for ; Tue, 6 Apr 2010 09:36:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o369aeit080364; Tue, 6 Apr 2010 09:36:40 GMT (envelope-from nobody) Message-Id: <201004060936.o369aeit080364@www.freebsd.org> Date: Tue, 6 Apr 2010 09:36:40 GMT From: vermaden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/145423: ZFS/zpool status shows deleted/not present pools after scrub X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 09:40:07 -0000 >Number: 145423 >Category: misc >Synopsis: ZFS/zpool status shows deleted/not present pools after scrub >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 06 09:40:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 8.0-RELEASE-p2 >Organization: >Environment: Stock 8.0-RELEASE-p2 KERNEL/BASE SYSTEM from freebsd-update(8). FreeBSD savio 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi, I get strange behaviour with ZFS zpool status/scrub I think. Almost everytime when I launch zpool scrub the old pool that is not existent in that system for quite a long time (2 months) applies after launching zpool scrub. Other thing is that I the 'oldfs' pool was not on these disks, but was created on other disks that were removed from that system. Of course zpool destroy helps, but only until next zpool scrub. # zpool status pool: basefs state: ONLINE scrub: scrub in progress for 0h0m, 0.00% done, 1572h56m to go config: NAME STATE READ WRITE CKSUM basefs ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ada0s3 ONLINE 0 0 0 ada1s3 ONLINE 0 0 0 ada2s3 ONLINE 0 0 0 # zpool scrub basefs # zpool status pool: basefs state: ONLINE scrub: scrub in progress for 0h0m, 0.00% done, 1572h56m to go config: NAME STATE READ WRITE CKSUM basefs ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ada0s3 ONLINE 0 0 0 ada1s3 ONLINE 0 0 0 ada2s3 ONLINE 0 0 0 errors: No known data errors pool: oldfs state: UNAVAIL status: One or more devices could not be opened. There are insufficient replicas for the pool to continue functioning. action: Attach the missing device and online it using 'zpool online'. see: http://www.sun.com/msg/ZFS-8000-3C scrub: none requested config: NAME STATE READ WRITE CKSUM oldfs UNAVAIL 0 0 0 insufficient replicas ada3s3 UNAVAIL 0 0 0 cannot open # zpool destroy oldfs # zpool status pool: basefs state: ONLINE scrub: scrub in progress for 0h6m, 2.61% done, 4h9m to go config: NAME STATE READ WRITE CKSUM basefs ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ada0s3 ONLINE 0 0 0 ada1s3 ONLINE 0 0 0 ada2s3 ONLINE 0 0 0 errors: No known data errors Regards, vermaden >How-To-Repeat: # zpool status # zpool scrub ${EXISTING_POOL} # zpool status >Fix: >Release-Note: >Audit-Trail: >Unformatted: