[OpenIndiana-discuss] ZFS replacement problem

Tim Mooney Tim.Mooney at ndsu.edu
Tue Jun 3 19:06:14 UTC 2014


In regard to: [OpenIndiana-discuss] ZFS replacement problem, Michelle...:

>  pool: tank
> state: ONLINE
>  scan: resilvered 1.70M in 0h0m with 0 errors on Tue Jun  3 18:19:48
>  2014 config:
>
>        NAME          STATE     READ WRITE CKSUM
>        tank          ONLINE       0     0     0
>          raidz1-0    ONLINE       0     0     0
>            c3t4d0s1  ONLINE       0     0     0
>            c3t2d0s1  ONLINE       0     0     0
>            c3t3d0s1  ONLINE       0     0     0
>
> errors: No known data errors
>
>
> I try ...
>
> mich at jaguar:~# zpool replace -f tank c3t4d0  c3t0d0
> cannot replace c3t4d0 with c3t0d0: no such device in pool

Your devices have partitions (aka slices, the s1 at the end), but you're
not using that with the replace.  Try adding "s1" to the end of both and
see if that makes a difference.

Note that that means there actually will need to be an "s1" on the
replacement drive, which means you probably need to use "format".

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



More information about the openindiana-discuss mailing list