我将 Ubuntu 作为托管在 esxi 服务器中的虚拟机来宾。 Ubuntu 磁盘存储为 5 GB,我想将磁盘扩展到 30 GB。我通过 esxi 客户端扩展了它,现在我在 Ubuntu 终端中看到了这个
root@linux:/temp# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 5.6G 5.3G 31M 100% /
none 497M 184K 497M 1% /dev
none 502M 0 502M 0% /dev/shm
none 502M 108K 502M 1% /var/run
none 502M 4.0K 502M 1% /var/lock
none 502M 0 502M 0% /lib/init/rw
root@linux:/temp# fdisk -l
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001c70e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 743 5964800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 743 3917 25490433 5 Extended
/dev/sda3 1 1 992+ 8e Linux LVM
Partition 3 does not end on cylinder boundary.
/dev/sda5 2025 3917 15192064 83 Linux
Partition table entries are not in disk order
root@linux:/temp#
如何将 sda1 扩展到完整的 32 GB(如fdisk -l
输出所示)?
我尝试从 gparted 启动并可以看到以下内容
我的 sda1 无法调整大小,有什么帮助吗?