Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag for United Kingdom of Great Britain and Northern Ireland asked on

How to extend a Solaris 11 Partition?

should be an easy one BUT.....

How to extend a Solaris 11 Partition?

Disk is currently 16GB, need to extend to 40GB, it's a Virtual Machine hosted under vSphere 5.0. (/dev/dsk/c4t0d0p1)

Please note I've tried the usual partition tools, and they do not recognise the partition.

e.g. Parted Magic, GParted Live CDROM, Acronis etc

I've also tried writing out the partiton table with

fdisk -W table.tmp but it seems not to work correctly in this version of Solaris 11. (not 10!).
Unix OSVMwareVirtualizationAcronis

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
IanTh

Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

ASKER
growufs only works on ufs. this is a zfs root pool.
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

ASKER
Solution:-

Booted the VM with Gparted Live CDROM, altered the partition table, by deleting existing Solaris partition table, and re-creating the at the same starting cylinder, and accepting the default end cyclinder (so technicall expanding the partition).

Rebooted using Solaris LiveCDROM, updated the Partition Table 0 root and 1 backup, and then partitions are larger.

finally zpool scrub, and zpool autoexpand, and we are all done.

40GB new partition.

(EE must be sleepy Friday!, Thanks Ian for reply).
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes