/home 空间不足
总磁盘80G,'/'30G。如何扩容'/',或者类似的解决方法感谢?
以下是磁盘信息,感谢
➜ ~ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 80G 0 disk
├─xvda1 202:1 0 1M 0 part
└─xvda2 202:2 0 30G 0 part /
➜ ~ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 30G 13G 18G 44% /
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.7G 0 3.7G 0% /dev/shm
tmpfs 3.7G 17M 3.7G 1% /run
tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
tmpfs 757M 0 757M 0% /run/user/1000
➜ ~ fdisk -l
Disk /dev/xvda: 85.9 GB, 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
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/xvda1 1 62914559 31457279+ ee GPT
➜ ~
尝试解决的方法
输入n
再输入e
全部默认回车就行
最后重启服务器