ZFS adding a partition to the "root" pool
646178Nov 12 2008 — edited Nov 12 2008I have only one disk, and the format command output looks bellow.
---------------------------------------------------------------------------------------------------------------
[disk formatted]
/dev/dsk/c0t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
/dev/dsk/c0t0d0s2 is part of active ZFS pool rpool. Please see zpool(1M).
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 4148 20.13GB (4149/0/0) 42220224
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 4149 - 14086 48.22GB (9938/0/0) 101129088
--------------------------------------------------------------------------------------------------------------------
Now i am trying to add c0t0d0s7 to "root" pool
bash-3.00# zpool add -f rpool c0t0d0s7
cannot add to 'rpool': root pool can not have multiple vdevs or separate logs
It is throwing an error .
What is the way that i can add c0t0d0s7 to "root" pool to increase the "/" space ?
Thanks.