myesn

myEsn2E9

hi
github

Expand Virtual Machine Storage on Ubuntu Server 22

Steps#

  1. Power off the virtual machine.
  2. Edit virtual machine settings > Hardware > Hard Disk (If an error occurs, refer to "Error Resolution" below):
    image
    After the expansion progress is complete, power on the virtual machine.
  3. After powering on, refer to this article for disk expansion operations within the operating system. It is important to note that most commands need to be prefixed with sudo to elevate permissions: Expand Virtual Space on Ubuntu Server 22

Error Resolution#

Insufficient space in the file system to perform the selected operation#

Following the instructions below, I deleted some long-unused files to free up enough space to support the expansion operation. Alternatively, you can also copy the files to a partition with sufficient space, perform the expansion operation, and then copy them back to the original location.
https://blog.csdn.net/Haidijoya/article/details/127980779
image

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.