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@openindiana.org>
To "Discussion list for OpenIndiana"
<openindiana-discuss@openindiana.org>
Cc "Carl Brewer" <c...@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@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss