Linux XFS: "No space left on device"

Source: Internet
Author: User
Tags inode usage

A sudden error occurred while creating the file:

[[email protected] ~]# touch/var/satellite/atouch:cannot touch '/var/satellite/a ': No space left on device

But the file system has plenty of space left:

filesystem                  Size  Used Avail Use% Mounted on/dev/mapper/rootvg-rootfs    14G  6.0G  8.1G  43% /devtmpfs                    3.8G      0  3.8G   0% /devtmpfs                       3.8G      0  3.8G   0% /dev/shmtmpfs                       3.8G    25M  3.8G   1% /runtmpfs                       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%  /boottmpfs                       773M     0  773M    0% /run/user/0

Inode usage is also normal:

[[email protected] ~]# df -ifilesystem                 inodes iused ifree iuse% mounted on/ dev/mapper/rootvg-rootfs    14m   76k   14m     1% /devtmpfs                     964k   399  964k    1%  /devtmpfs                        967K     1  967K     1% /dev/shmtmpfs                        967K   496   966k    1% /runtmpfs                        967k    13  967k    1%  /sys/fs/cgroup/dev/mapper/datavg-rhnfs    100M  130K  100M     1% /var/satellite/dev/sda1                    476K   360  476K     1% /boottmpfs                        967K     1   967k    1% /run/user/0

After investigation, this error is a bug, the solution is as follows:

[Email protected] ~]# mount-o remount,inode64/var/satellite[[email protected] ~]# touch/var/satellite/a[[email Protec Ted] ~]# rm-rf/var/satellite/a

Reference Documentation:

Xfs_faq

This article from "candon123" blog, declined reprint!

Linux XFS: "No space left on device"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.