[OpenIndiana-discuss] ZFS pool move from one server to another?

Carl Brewer carl at bl.echidna.id.au
Sun Feb 2 20:53:36 UTC 2025


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





More information about the openindiana-discuss mailing list