Linux determines if the storage space is full

Source: Internet
Author: User

1. The storage space is full.

The 2.inode node is full.

View: http://www.cnblogs.com/predisw/p/4799664.html

The number of Inode nodes allowed for a file system is limited, and if the number of files is too large, even if each file is a 0-byte empty file, the system will eventually run out of node space and no more files can be created. So when you find that you can't build a file, consider whether there is space in the hard drive data area (via the du command), and then check the node space.

Multiple files that are hard-connected to each other must reside on the same file system. The root device and any partition, floppy disk, NFS, optical drive, etc. that require mount to be mounted are a separate file system with a corresponding device number for each file system, and there is no connection between files with the same Inode node in different file systems. The system uniquely identifies a file by the combination of the device number and the inode number.

Linux can support a variety of file systems, in fact, because Linux provides a virtual file system Vfs,vfs as the actual file system of the upper layer of software, masking the actual file system underlying specific structural differences, for the system to access files located in different file systems provide a unified interface. In fact, many file systems do not have inode structure, and its directory structure is different from the above discussion, but through the VFS, the system provides a virtual consistent inode and directory item structure. Therefore, the ' ls-il ' command actually shows that the inode should be the VFS inode, which means that the inode is a data structure that exists in memory, not necessarily the actual hard disk structure.

Linux determines if the storage space is full

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.