[OpenIndiana-discuss] Migrating root zpool from old disks to new one. only one system available

Hans J. Albertsson hans.j.albertsson at branneriet.se
Mon Jun 11 22:39:32 UTC 2012


Suppose:

I have a system with but two disks. They're fairly small: 300GB, and use 
512B sectors.

These two disks are a mirror zpool, creqated from the entire disks.

There are about 20 or so filesystems in there.

The system has room for only two disks.

I'd like to replace these two small disks with two 2TB disks using 4kB 
blocks.

So:

Is there a writeup on how to connect one of these new disks to the 
existing machine, using an external esata cabinet.
set up a new zpool on this new disk, and transfer all the root pool data 
to the new single disk zpool.
then set up the new zpool to be bootable.
And last: taking the old disks out of the machine, place the new single 
disk, and another, empty, similar 2TB disk in the machine, and boot from 
the single new one as the new root zpool. And then add the second new 
disk as a mirror.. effectively running the old system exactly as it was 
w/o reinstalling anything significant, but with much roomier disks.

Note: in this case there is no way to get another system to do it on. 
And a third disk can only be connected using an external cabinet and 
Esata or USB.






More information about the OpenIndiana-discuss mailing list