View Inode, block usage

Source: Internet
Author: User
Tags inode usage

View Inode, block

Background: Each creation of a directory or file in the work will produce an inode, block, the system generated garbage files will also occupy the Inode, block. Inode, block is limited in the system, if the Inode, block full will not be able to create directories and files.

In general, do not change the inode, block size value;

Effect: Writes Inode, block usage to A.log

(1), df-i//view inode usage

Df-h//View block usage

(2), dumpe2fs/dev/sda1 >a.log//write inode, Bolck usage status to A.log

Less A.log//view the following information to confirm if you need to release the Inode, block

Inode count:128016//Used

Block count:512000//Used

Reserved block count:25600//Reserved

Free blocks:462380//remaining

Free inodes:127978//remaining

Inode size:128//Size

Block size:1024//Size


This article is from the "11104762" blog, please be sure to keep this source http://11114762.blog.51cto.com/11104762/1827846

View Inode, block usage

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.