Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 23:05:32 +0900
From:      Randy Bush <randy@psg.com>
To:        Guido Falsi <mad@madpilot.net>
Cc:        freebsd-current@freebsd.org, Freddie Cash <fjwcash@gmail.com>
Subject:   Re: ZFS pool corrupted on upgrade of -current (probably sata renaming)
Message-ID:  <m21voiyrbn.wl%randy@psg.com>
In-Reply-To: <20090715084801.GA75654@megatron.madpilot.net>
References:  <alpine.BSF.2.00.0907132009040.2027@teapot.cbhnet> <alpine.BSF.2.00.0907142318520.2686@teapot.cbhnet> <b269bc570907141550u6854bc8eh6ea73fe9bd3e788a@mail.gmail.com> <m21voi1ufz.wl%randy@psg.com> <20090715084801.GA75654@megatron.madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> # zpool status tank
>   pool: tank
>  state: ONLINE
>  scrub: none requested
> config:
> 
> 	NAME        STATE     READ WRITE CKSUM
> 	tank        ONLINE       0     0     0
> 	  mirror    ONLINE       0     0     0
> 	    ad0p2   ONLINE       0     0     0
> 	    ad8p2   ONLINE       0     0     0
> 
> errors: No known data errors
> # zpool detach tank ad0p2
> # glabel label disk01 /dev/ad0p2
> # zpool attach tank ad8p2 label/disk01
                        ^ huh?
> # zpool status tank
>   pool: tank
>  state: ONLINE
> status: One or more devices is currently being resilvered.  The pool
> will
> 	continue to function, possibly in a degraded state.
> action: Wait for the resilver to complete.
>  scrub: resilver in progress for 0h6m, 17.06% done, 0h29m to go
> config:
> 
> 	NAME              STATE     READ WRITE CKSUM
> 	tank              ONLINE       0     0     0
> 	  mirror          ONLINE       0     0     0
> 	    ad8p2         ONLINE       0     0     0  60.7M resilvered
> 	    label/disk01  ONLINE       0     0     0  10.4G resilvered
> 
> errors: No known data errors

dfw0.psg.com:/root# zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            ad4s3   ONLINE       0     0     0
            ad5s3   ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            ad6s1   ONLINE       0     0     0
            ad7s1   ONLINE       0     0     0

errors: No known data errors
dfw0.psg.com:/root# zpool detach tank ad6s1
dfw0.psg.com:/root# glabel label disk02 /dev/ad6s1
dfw0.psg.com:/root# zpool attach tank ad6s1 label/disk02
cannot attach label/disk02 to ad6s1: no such device in pool

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m21voiyrbn.wl%randy>