I'm running Solaris 10 x86 on VMWare.
I need more space in the zfs root pool.
I doubled the provisioned space in Hard disk 1, but it is not visible to the VM (format).
I tried creating a 2nd HD, but root pool can't have multiple VDEVs.
How can I add space to my root pool without rebuilding?
I've not tried this before but these are the steps I would try to accomplish this task:
cfgadm -c configure cX (where X is the controller that your rpool disk is on)
run format on the disk, type -> auto -> label -> quit
zpool set autoexpand=on rpool
DISCLAIMER - Like I stated before, I've not tried this but it would seem logical that these steps would work. If anyone sees a flaw in my thinking PLEASE speak up.
The actual objective of this effort was to enable luupgrade in a production environment and there was insufficient space to create an ABE.
This is how I resolved it:
· # Create a new, larger, TEMPORARY disk.
· # Create a TEMPORARY root pool and BE on the TEMPORARY disk with a different root pool name ( I could have done luupgrade here).
· # Boot from the TEMPORARY BE.
· # Destroy the original disk, This could complete the effort, except that we wanted to sustain a naming convention
· # Create a new disk with the larger size
· # Create a new root pool and BE from the active one, but with our standard names
· # Upgrade the patch level of thenew BE
· # Boot from the new disk
· # Destroy the old Disk
True, you can't have non-redundant rpool devices, but you can have mirrored rpool devices, which
means you can use the zpool attach and detach features to attach the larger disk and detach the
I'm unfamiliar with VMWare but next time you might consider these easier steps:
1. Create a larger disk
2. Attach the larger disk to the existing (smaller) root pool disk
3. Let the new disk resilver
4. Detach the smaller disk
This process is described here: