I've spent quite a bit of time on this using the manual and Googling but I still haven't been successful.
Situation: FreeBSD 11.2, ESXi initially with 80G VHD, expanded to 130G. It is the last slice, /home, that I am attempting to expand.
Initial:
Here is where the problem starts:
Thank you in advance for your help.
Situation: FreeBSD 11.2, ESXi initially with 80G VHD, expanded to 130G. It is the last slice, /home, that I am attempting to expand.
Initial:
Code:
. # gpart show
=> 63 272629697 da0 MBR (130G)
63 1 - free - (512B)
64 167772095 1 freebsd [active] (80G)
167772159 104857601 - free - (50G)
=> 0 167772095 da0s1 BSD (80G)
0 4194304 1 freebsd-ufs (2.0G)
4194304 8388608 2 freebsd-swap (4.0G)
12582912 2097152 4 freebsd-ufs (1.0G)
14680064 10485760 5 freebsd-ufs (5.0G)
25165824 2097152 6 freebsd-ufs (1.0G)
27262976 31457280 7 freebsd-ufs (15G)
58720256 109051838 8 freebsd-ufs (52G)
167772094 1 - free - (512B)
gpart resize -i 1 da0
gpart commit da0s1
Code:
gpart show
=> 63 272629697 da0 MBR (130G)
63 1 - free - (512B)
64 272629696 1 freebsd [active] (130G)
=> 0 272629696 da0s1 BSD (130G)
0 4194304 1 freebsd-ufs (2.0G)
4194304 8388608 2 freebsd-swap (4.0G)
12582912 2097152 4 freebsd-ufs (1.0G)
14680064 10485760 5 freebsd-ufs (5.0G)
25165824 2097152 6 freebsd-ufs (1.0G)
27262976 31457280 7 freebsd-ufs (15G)
58720256 109051838 8 freebsd-ufs (52G)
167772094 104857602 - free - (50G)
Here is where the problem starts:
Code:
gpart resize -i 8 -s 102G -a 4k da0
gpart: invalid partition index
Thank you in advance for your help.