Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 11:47:44 +0900
From:      Randy Bush <randy@psg.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   re-adding a replacement into a pool of mirrors
Message-ID:  <m2eir5khm7.wl%randy@psg.com>

next in thread | raw e-mail | index | archive | help
a drive in a 12x2tb array died and i have replaced it

    # zpool status
      pool: tank
     state: DEGRADED
     scrub: scrub completed after 0h14m with 0 errors on Wed Aug 19 12:03:14 2009
    config:

	    NAME        STATE     READ WRITE CKSUM
	    tank        DEGRADED     0     0     0
	      mirror    DEGRADED     0     0     0
		da0s3   ONLINE       0     0     0
		da1s3   REMOVED      0     0     0
	      mirror    ONLINE       0     0     0
		da2s1   ONLINE       0     0     0
		da3s1   ONLINE       0     0     0
	      mirror    ONLINE       0     0     0
		da4s1   ONLINE       0     0     0
		da5s1   ONLINE       0     0     0
	      mirror    ONLINE       0     0     0
		da6s1   ONLINE       0     0     0
		da7s1   ONLINE       0     0     0
	      mirror    ONLINE       0     0     0
		da8s1c  ONLINE       0     0     0
		da9s1   ONLINE       0     0     0
	      mirror    ONLINE       0     0     0
		da10s1  ONLINE       0     0     0
		da11s1  ONLINE       0     0     0

    errors: No known data errors

i want to place da1s3 back in the pool, but

    # zpool add -fn tank da1s3
    would update 'tank' to the following configuration:
	    tank
	      mirror
		da0s3
		da1s3
	      mirror
		da2s1
		da3s1
	      mirror
		da4s1
		da5s1
	      mirror
		da6s1
		da7s1
	      mirror
		da8s1c
		da9s1
	      mirror
		da10s1
		da11s1
	      da1s3

so zpool add would put it in the wrong place

clue please?  thanks.

randy



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