Sponsored Content
Full Discussion: FS inode 58%
Operating Systems AIX FS inode 58% Post 302204633 by bakunin on Thursday 12th of June 2008 07:01:00 AM
Old 06-12-2008
The OS wont give you any alerts, regardless of how much filled a filesystem is. If you have some monitoring software, which does that for you (Patrol, HP/OpenView, CA-Unicenter, ....) then perhaps this software (more precisely: probably its agent) is at fault.

Every filesystem is a collection of disk space units - blocks, usually 512 bytes in size - which can be used by a file or be free. The ratio of used to unused blocks is what makes the filling percentage of the filesystem. "95%" means out of every 100 blocks 95 are used.

So far, so simple. But there is another side to it: whenever you create a file one special bookkeeping entry is being created - the inode. Inodes contain the information you see when you issue an "ls" - filename, modifikation date, size, etc.. Inodes are stored in a special part of the filesystem, which has to be set aside when the filesystem is being created.Your number of 58% says that of these inodes 58% are being used.

The ratio of inodes to available raw space is not fixed - when creating a filesystem there is an attribute "nbpi" - "number of bytes per inode". You can tune this number to fit your purposes: The default is good for the "usual mix" of files, but if you know that the filesystem will hold many small files you might wat to increase the number of inodes, otherwise you might run into the situation where you still have space left on the disk but have no inodes left to create files and use that space.

On the other hand, if you know that the FS will contain very few very large files (best example: databases) you can decrease the number of inodes to make more diskspace available for storage purposes.

bakunin
 

10 More Discussions You Might Find Interesting

1. Solaris

inode = which block

hiho, i would like to show my apprentices the auto-defrag/perform mechanism from UFS. new FS, creating new directories, each directory get its own cylinder on the disk. hmm.... they want proofs..... *embarrassing* i couldn't remember how to look on which block the inode is linked.... so,... (4 Replies)
Discussion started by: pressy
4 Replies

2. Shell Programming and Scripting

INode

hi i am nitin... jus a new kid on the block... my query is... does the concept of region invovle sharin of inodes wen the sticky it is set... eg... if two process share two text regions... wat actually happens thank u (1 Reply)
Discussion started by: nitinsharma_ssn
1 Replies

3. Red Hat

inode no and fd path

hi, can anyone please tell me where i can extract inode numbers and path associated with all file descriptors. i want these informations only. is there any system call or functions to get these things? i hav a RHEL 4. also /proc/pid/fd shows some file descriptor list. is that the proper path to... (1 Reply)
Discussion started by: sanjaykhuntia
1 Replies

4. UNIX for Dummies Questions & Answers

incore inode

Dear Friend , what is incore inode ? and what is difference between incore inode and inode ????? sanjay (1 Reply)
Discussion started by: sanjaygoyan
1 Replies

5. Solaris

about inode

how can i see inode table information of a perticler inode.anybody knows pls tell me. Than.Q (3 Replies)
Discussion started by: nag.mi2000
3 Replies

6. UNIX for Dummies Questions & Answers

inode filename

can someone please tell me why is the filename not inlcuded in the inode of the file? (2 Replies)
Discussion started by: wowman
2 Replies

7. Homework & Coursework Questions

free inode

usually there are no free inode whose number is less than remembered inode but exception are there..tell me those exception (4 Replies)
Discussion started by: pk_mal
4 Replies

8. Solaris

Inode Usage

Inode usage on one of my servers is up to 85% Whats the best way of finding which directories are storing loads of files? (1 Reply)
Discussion started by: JayC89
1 Replies

9. Solaris

inode in solaris

Dear, How can i check inode information in my Solaris box? With Regards, Mjoshi (4 Replies)
Discussion started by: mjoshi87
4 Replies

10. UNIX for Dummies Questions & Answers

Inode usage

Environment: O.S Version HP-UX B.11.31 U ia64 What is the recommended Inode free nodes? On our server Unix Sys Admin, have setup warning email alert when % of I-node usage is above or equal at 5%. Sample Email: --------------------------------------------------- Subject: WARNING:... (6 Replies)
Discussion started by: Siva SQL
6 Replies
df_hfs(1M)																df_hfs(1M)

NAME
df_hfs: df - report number of free CDFS, HFS, or NFS file system disk blocks SYNOPSIS
FStype] specific_options] [special|directory]... DESCRIPTION
The command displays the number of free 512-byte blocks and free inodes available for file systems by examining the counts kept in the superblock or superblocks. If a special or a directory is not specified, the free space on all mounted file systems is displayed. If the arguments to are path names, reports on the file systems containing the named files. If the argument to is a special of an unmounted file system, the free space in the unmounted file system is displayed. Options recognizes the following options: Report only the number of kilobytes (KB) free. Report the total number of blocks allocated for swapping to the file system as well as the number of blocks free for swapping to the file system. This option is supported on HFS file systems only. Report the number of files free. Report only the actual count of the blocks in the free list (free inodes are not reported). When this option is specified, reports on raw devices. Report only on the FStype file system type (see fstyp(1M)). For the purposes of this manual entry, FStype can be one of and for the CDFS, HFS, and NFS file systems, respectively. Report the entire structure described in statvfs(2). Report the total number of inodes, the number of free inodes, number of used inodes, and the percentage of inodes in use. Report the allocation in kilobytes (KB). Report on local file systems only. Report the file system name. If used with no other options, display a list of mounted file system types. Specify options specific to the HFS file system type. specific_options is a comma-separated list of suboptions. The available suboption is: Report the number of used and free inodes. Report the total allocated block figures and the number of free blocks. Report the percentage of blocks used, the number of blocks used, and the number of blocks free. This option cannot be used with other options. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. When is used on an HFS file system, the file space reported is the space available to the ordinary user, and does not include the reserved file space specified by Unreported reserved blocks are available only to users who have appropriate privileges. See tunefs(1M) for information about When is used on NFS file systems, the number of inodes is displayed as -1 . This is due to superuser access restrictions over NFS. EXAMPLES
Report the number of free disk blocks for all mounted file systems: Report the number of free disk blocks for all mounted HFS file systems: Report the number of free files for all mounted NFS file systems: Report the total allocated block figures and the number of free blocks, for all mounted file systems: Report the total allocated block figures and the number of free blocks, for the file system mounted as /usr: WARNINGS
does not account for: o Disk space reserved for swap space, o Space used for the HFS boot block (8K bytes, 1 per file system), o HFS superblocks (8K bytes each, 1 per disk cylinder), o HFS cylinder group blocks (1K-8K bytes each, 1 per cylinder group), o Inodes (currently 128 bytes reserved for each inode). Non-HFS file systems may have other items that this command does not account for. The option, from prior releases, has been replaced by the option. FILES
File system devices. Static information about the file systems Mounted file system table SEE ALSO
du(1), df(1M), fsck(1M), fstab(4), fstyp(1M), statvfs(2), mnttab(4). STANDARDS CONFORMANCE
df_hfs(1M)
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy