最近我尝试更新 Centos(物理机箱)中的软件包,但出现空间不足的错误。调整非 LVM 挂载点大小的最佳方法是什么?
以下是一些信息:
[root@sever ~]# yum update
:#skipped
:#skipped
Disk Requirements:
At least 26MB needed on the / filesystem.
[root@sever ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 9.5G 9.0G 28M 100% /
/dev/sda8 9.5G 151M 8.9G 2% /tmp
/dev/sda6 95G 4.6G 86G 6% /usr
/dev/sda5 139G 825M 131G 1% /var
/dev/sda3 95G 213M 90G 1% /var/log
/dev/sda2 95G 4.2G 86G 5% /home
/dev/sda1 965M 34M 882M 4% /boot
tmpfs 1.9G 0 1.9G 0% /dev/shm
[root@sever ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 127 1020096 83 Linux
/dev/sda2 128 12875 102398310 83 Linux
/dev/sda3 12876 25623 102398310 83 Linux
/dev/sda4 25624 60801 282567285 5 Extended
/dev/sda5 25624 44228 149444631 83 Linux
/dev/sda6 44229 56976 102398278+ 83 Linux
/dev/sda7 56977 58251 10241406 82 Linux swap / Solaris
/dev/sda8 58252 59526 10241406 83 Linux
/dev/sda9 59527 60801 10241406 83 Linux
如果我想将一些空间从 /dev/sda5 移到 /dev/sda9,可以吗?感谢您的评论。