[OpenIndiana-discuss] rpool mirror disk problems when moved to different slot
Michelle
michelle at msknight.com
Fri Aug 6 10:59:01 UTC 2021
Ah, if you're moving a live rpool, that's a bit more complex.
I'd have destroyed the mirror, moved the drive and then re-mirrored...
but only if I'd put another boot on the other drive.
After all, if you've mirrored your rpool, but there's no boot on the
mirror drive, then it will still not boot the mirror drive.
On Fri, 2021-08-06 at 12:54 +0200, Stephan Althaus wrote:
> On 8/6/21 12:47 PM, Michelle wrote:
> > Did you export the zpool before moving the drives and then import
> > again
> > after?
> >
> > If I don't export before I move things, then I wouldn't expect ZFS
> > to
> > be able to track it automatically.
> >
> >
> >
> > On Fri, 2021-08-06 at 11:19 +0200, Stephan Althaus wrote:
> > > Hello!
> > >
> > > i just added a new disk to my system, which i put into the slot
> > > where
> > > a
> > > mirror disk of my rpool resided.
> > >
> > > The mirror disk of my rpool went to a other slot, so the device
> > > name
> > > was
> > > changed c27t1d0 -> c27t0d0
> > >
> > > Booting into my OI system, the zpool was found as the first
> > > mirror
> > > disk
> > > was there,
> > > but the second partition was not found.
> > >
> > >
> > > Is there a chance that the rpool mount procedure could try harder
> > > to
> > > find the mirrors, even when moved ??
> > >
> > >
> > > Yes i know this may be a rare case :-/
> > >
> > >
> > > Greetings,
> > >
> > > Stephan
> > >
> > >
> > > _______________________________________________
> > > openindiana-discuss mailing list
> > > openindiana-discuss at openindiana.org
> > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
> > _______________________________________________
> > openindiana-discuss mailing list
> > openindiana-discuss at openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
>
> Hi!
>
> This is my root pool, is it exported on shutdown? i would think so..
>
> I think, if i move the mirror drive to a different slot and leave the
> origin-slot empty, it could work..
>
> I should have imported and exported the pool with a illumos-live-
> USB,
> _before_ trying to boot the installed system with the change.
>
> i had no live-medium at hand so i just gave it a try..
>
> Stephan
>
> BTW, the mirrored pool is up and working:
>
> $ zpool status rpool
> pool: rpool
> state: ONLINE
> scan: resilvered 194G in 0 days 00:50:39 with 0 errors on Fri Aug
> 6
> 12:04:20 2021
> config:
>
> NAME STATE READ WRITE CKSUM
> rpool ONLINE 0 0 0
> mirror-0 ONLINE 0 0 0
> c9t002538B471B9EFD3d0s8 ONLINE 0 0 0
> c27t0d0s0 ONLINE 0 0 0
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list