[OpenIndiana-discuss] ZFS replacement problem
Michelle Knight
michelle at msknight.com
Tue Jun 3 19:23:18 UTC 2014
Hi Tim,
I don't recall creating them with slices; like you say, only the root
pool needs that, which was done because originally it had two SSD units
for root in another machine.
There was a bit of kerfaffery with other versions, but I do beleive I
copied everything off, then destroyed the set and re-created it ...
... but given what you're saying, I think I'm better to copy all the
data off again, blast the pool and re-create again using whole drives.
Many thanks,
Michelle.
On Tue, 3 Jun 2014 14:06:14 -0500 (CDT)
Tim Mooney <Tim.Mooney at ndsu.edu> wrote:
> 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
More information about the openindiana-discuss
mailing list