问题描述
我正在尝试增加Centos VM的大小。我先从VirtualBox开始学习,然后又进行了直播。这些是我的分区。
使用df -h
命令;
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.3G 0 5.3G 0% /dev
tmpfs 5.4G 0 5.4G 0% /dev/shm
tmpfs 5.4G 9.5M 5.4G 1% /run
tmpfs 5.4G 0 5.4G 0% /sys/fs/cgroup
/dev/mapper/cl-root 26G 26G 34M 100% /
/dev/sda1 976M 274M 636M 31% /boot
CentOS_8.2_sf 237G 164G 74G 70% /media/sf_CentOS_8.2_sf
tmpfs 1.1G 1.2M 1.1G 1% /run/user/42
tmpfs 1.1G 4.6M 1.1G 1% /run/user/1000
使用fdisk -l
命令;
disk /dev/sda: 80 GiB,85899345920 bytes,167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
disklabel type: dos
disk identifier: 0x52ce46f7
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 167772159 165672960 79G 8e Linux LVM
disk /dev/mapper/cl-root: 72.9 GiB,78244741120 bytes,152821760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
disk /dev/mapper/cl-swap: 3 GiB,3221225472 bytes,6291456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
/dev/mapper/cl-root
的大小彼此不匹配。我仍然有关于磁盘空间的错误。如何将大小从26 GB增加到73 GB?预先感谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)