Link to home
Start Free TrialLog in
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!).
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

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

ASKER

growufs only works on ufs. this is a zfs root pool.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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).