[OpenIndiana-discuss] ZFS pool move from one server to another?
Rainer Heilke
rheilke at dragonhearth.com
Sun Feb 2 21:11:51 UTC 2025
I've done something similar, but I did zpool export and zpool import, if
I'm following what you're wanting to do correctly.
Rainer
------ Original Message ------
>From "Carl Brewer via openindiana-discuss"
<openindiana-discuss at openindiana.org>
To "Discussion list for OpenIndiana"
<openindiana-discuss at openindiana.org>
Cc "Carl Brewer" <carl at bl.echidna.id.au>
Date 2025-02-02 12:53:36 PM
Subject [OpenIndiana-discuss] ZFS pool move from one server to another?
>
>Hi,
>
>I think this'll work ...
>
>I have an OI box from a couple of years ago with a raidz array that's full. I got some new, bigger HDDs and set them up on a new OI instance (new hardware), did a recent install (2410 I think?), created a new raidz with the new, bigger HDDs, rsync'ed everything over.
>
>Labels : the old raidz : "pond"
>
>the new raidz : "bigfish"
>
>What I'd like to do :
>
>detach the raidz array "bigfish" from the new box, pull the drives out.
>
>Detach the old raidz array "pond" on the old box, shut it down, remove the old HDDs
>
>Physically install the new drives in the old box
>
>Attach bigfish (zpool attach?)
>
>Will this "just work"? Any caveats? I think the ZFS version should be ok, does ZFS care about the device names? I don't expect /dev/dsk/cXtYdZ's to match, but I don't think that matters once an array is created? zpool attach will "just do it"?
>
>Thank you for suggestions!
>
>Carl
>
>
>
>_______________________________________________
>openindiana-discuss mailing list
>openindiana-discuss at openindiana.org
>https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list