(mysqld),uid 88 inumber 281675 位于 /: 文件系统已满

(mysqld),uid 88 inumber 281675 位于 /: 文件系统已满

我创建了一个有点太大的交换文件。所以我删除了它。交换文件消失了,但空闲空间从未重新分配。我重新启动了,fdisk 没有帮助,不知道接下来该怎么办。文件已删除。

错误:

(mysqld), uid 88 inumber 281675 on /: filesystem full


[\u@vader:/root] # du -sh /usr/
4.8G    /usr/



[\u@vader:/root] # ls -l /usr
total 88
drwxr-xr-x   2 root  wheel   8192 Apr 11 23:07 bin
drwxr-xr-x   2 root  wheel    512 Nov 11 21:03 games
drwxr-xr-x  53 root  wheel   6144 Nov 11 21:03 include
drwxr-xr-x   8 root  wheel  13312 Apr 11 22:51 lib
drwxr-xr-x   5 root  wheel  13824 Apr 11 22:51 lib32
drwxr-xr-x   6 root  wheel    512 Nov 11 21:03 libdata
drwxr-xr-x   8 root  wheel   1536 Dec 31 15:21 libexec
drwxr-xr-x  15 root  wheel    512 Apr 13 00:19 local
drwxr-xr-x   2 root  wheel    512 Nov 11 21:03 obj
drwxr-xr-x  70 root  wheel   2048 Apr 11 23:14 ports
drwxr-xr-x   2 root  wheel   5120 Apr 11 22:51 sbin
drwxr-xr-x  32 root  wheel    512 Nov 11 21:03 share
drwxr-xr-x   2 root  wheel    512 Nov 11 21:03 src



[\u@vader:/root] # du -sh /* | sort -rn
477M    /boot
256K    /libexec
210M    /home
 21M    /tmp
 12M    /devd.core
9.3M    /lib
8.6M    /dhclient.core
8.0K    /COPYRIGHT
7.7M    /rescue
5.9M    /sbin
4.8G    /usr
4.0K    /proc
4.0K    /mnt
4.0K    /media
4.0K    /entropy
2.6M    /etc
2.5K    /dev
2.1M    /root
1.2M    /bin
1.2G    /var
  0B    /sys

首字母缩略词:

[\u@vader:/root] # cat /etc/fstab
/dev/vtbd0p2 / ufs rw 0 0
#md99   none    swap    sw,file=/usr/swap0      0       0

我该如何重新分配未释放的新空间?

更新

# df -i
/dev/vtbd0p2  15230472 15140800 -1128764   108%  411454 1572544   21%   /
devfs                1        1        0   100%       0       0  100%   /dev

相关内容