标签:linux
创建文件时,突然报错:
[root@rhn ~]# touch /var/satellite/a touch: cannot touch ‘/var/satellite/a’: No space left on device
但文件系统剩余空间充足:
Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-rootfs 14G 6.0G 8.1G 43% / devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs 3.8G 25M 3.8G 1% /run tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/mapper/datavg-rhnfs 100G 57G 44G 57% /var/satellite /dev/sda1 473M 286M 188M 61% /boot tmpfs 773M 0 773M 0% /run/user/0
Inode使用率也正常:
[root@rhn ~]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/rootvg-rootfs 14M 76K 14M 1% / devtmpfs 964K 399 964K 1% /dev tmpfs 967K 1 967K 1% /dev/shm tmpfs 967K 496 966K 1% /run tmpfs 967K 13 967K 1% /sys/fs/cgroup /dev/mapper/datavg-rhnfs 100M 130K 100M 1% /var/satellite /dev/sda1 476K 360 476K 1% /boot tmpfs 967K 1 967K 1% /run/user/0
经查,此报错为BUG,解决办法如下:
[root@rhn ~]# mount -o remount,inode64 /var/satellite [root@rhn ~]# touch /var/satellite/a [root@rhn ~]# rm -rf /var/satellite/a
参考文档:
本文出自 “candon123” 博客,谢绝转载!
Linux XFS: "no space left on device"
标签:linux
原文地址:http://candon123.blog.51cto.com/704299/1828108