我将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的大小,有什么帮助吗?
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句