misc/145423: ZFS/zpool status shows deleted/not present pools after scrub

vermaden vermaden at interia.pl
Tue Apr 6 09:40:07 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list