I know that there are ways around this, like creating a separate virtual hard disk for the swap partition at the time of creating the virtual machine, or creating a new partition from the new space and then somehow merging that with the one you’re fixing to extend. This is an issue, since the VMware expand operation (and all other hypervisors I’m aware of for that matter) adds new space at the end of the disk, and if you aren’t trying to expand the swap partition, you are stuck since the new space and the partition you’re looking to extend need to be next to each other. On a Windows VM it usually isn’t a problem, since you usually assign a virtual hard drive per system volume, but on Linux even if you try to just give it a single physical disk and tell it to just use the whole disk, it’ll still create a pesky swap partition at the end of the disk. If you’ve done any work with virtual machines for any amount of time, you’ve probably ran into the problem that virtual machines tend to fill up their disks quite rapidly.
0 Comments
Leave a Reply. |