[OpenIndiana-discuss] zpool import sees nothing after detaching mirror

Peter Tribble peter.tribble at gmail.com
Mon Aug 18 15:52:26 UTC 2014


On Mon, Aug 18, 2014 at 4:37 PM, solarg <solarg87 at gmail.com> wrote:

> hello all,
> in my Ultra 20, the 2 disks are mirrored with zfs. I detached them, to
> install a new release of the first disk, and keeping the second disk to
> access old datasets.
>         rpool         ONLINE
>           mirror-0    ONLINE
>             c4t1d0s0  ONLINE
>             c4t0d0s0  ONLINE
> root at openindiana:/jack# #zpool detach rpool c4t1d0s0
>
> But after that, the zpool doesn't show the second disk when doing import!
> Is it normal? Is there a way to force it? i also tried with -D argument. I
> did nothing on the second disk, so the bits are always here.
>

You told the system to remove the second disk and forget about it,
so it knows that it's no longer part of any pool.

If you want to simply take one disk out of a mirror and keep the data
on it as a separate copy, you probably want to look at 'zpool split'.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


More information about the openindiana-discuss mailing list