[OpenIndiana-discuss] Replacing a faulty rpool disk

EM - SC eyal.marantenboim at storecast.de
Sun Dec 18 16:02:37 UTC 2016


Hi, 
I followed these instructions here:
https://omnios.omniti.com/wiki.php/GeneralAdministration#MirroringARootPool

Resilvering ran ok, I have some chksum in the new disk but it is ONLINE. 

I'm a bit hesitant to remove the faulty disk because it was the original
boot disk. 
But maybe I shouldn't worry, and now that I have a mirror, it will
continue to run without complaining 'where is the boot disk'?

Thanks!
em


> Hans J Albertsson <mailto:hans.j.albertsson at gmail.com>
> 18 December 2016 at 16:05
> Doesn't this miss on the installgrub bits?
>
> Hans J. Albertsson
> From my Nexus 5
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> Udo Grabowski (IMK) <mailto:udo.grabowski at kit.edu>
> 18 December 2016 at 14:45
>
>
> zpool attach yourPool badDevice newDevice
>
> and wait for resilver to have finished (and
> pray your bad disk doesn't die in that process),
> now you have a mirror with one good and one bad
> device,  then (if you'll keep the mirror layout,
> otherwise just detach the bad device)
>
> zpool replace yourPool badDevice otherNewDevice
>
> and let resilver finish. That's all.
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> EM - SC <mailto:eyal.marantenboim at storecast.de>
> 17 December 2016 at 10:34
> Hello
>
> I have a failing disk in my rpool.
> This pool has only one disc (oops).. and I would like to replace it,
> hopefully without data loss.
>
> The server has a spare disk, but I never thought about making rpool
> mirror.
>
> Can I mirror this rpool now, and then replace the faulty disk (hoping
> that resilvering finishes OK)?
> Or do I need to mirror the rpool and reboot the server before removing
> the faulty one?
>
> Thanks!
> e


More information about the openindiana-discuss mailing list