1. Backup your data :)
2. I would suggest to create mirror and then detach old disk from mirrror...
Attach new disk, and then do something like this:
//I've created test pool rpool on local files, you should use real drive paths
(you may receive them from "format" output)
# zpool attach rpool /home/alp/tmp/disk2
// Wait for resilvering to complete
# zpool status rpool
pool: rpool
state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Thu Dec 10 11:07:30 2009
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
/home/alp/tmp/disk1 ONLINE 0 0 0 44K resilvered
/home/alp/tmp/disk2 ONLINE 0 0 0 70,5K resilvered
//Detach old disk
# zpool detach rpool /home/alp/tmp/disk1
I think that after attaching new device to rpool (if it is boot pool), boot
code should be added to second device automatically.
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]