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!).
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!).
ASKER
growufs only works on ufs. this is a zfs root pool.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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).
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).
see
http://docs.oracle.com/cd/E18752_01/html/816-4520/tasks-metadevices-41.html