Date: Tue, 6 Apr 2010 09:36:40 GMT From: vermaden <vermaden@interia.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/145423: ZFS/zpool status shows deleted/not present pools after scrub Message-ID: <201004060936.o369aeit080364@www.freebsd.org> Resent-Message-ID: <201004060940.o369e6SC032431@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004060936.o369aeit080364>