## Our test environment is using IDE disk c1d0 of size 30GB as the ZFS root pool
## we have added a new IDE disk c1d1 of size 100GB
## we want to attach c1d1 to create a mirror with c1d0
## then split the mirror and then detach c1d0
## List the available disks
root@solaris11:~# echo | format Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1d0 <VBOX HAR-8d863925-302723f-0001-31.25GB>
/pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0
1. c1d1 <VBOX HAR-66d06e8c-40fd842-0001-100.00GB>
/pci@0,0/pci-ide@1,1/ide@0/cmdk@1,0
Specify disk (enter its number): Specify disk (enter its number):
## attach 2nd disk to create zfs mirror
root@solaris11:~# zpool attach rpool c1d0 c1d1 Make sure to wait until resilver is done before rebooting.
## Check status continously until resilvering of the new disk is completed
root@solaris11:~# zpool status pool: rpool
state: ONLINE
scan: resilvered 8.85G in 1m43s with 0 errors on Sat Jun 4 21:28:25 2022