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
matchpathcon_checkmatches(3)				     SELinux API documentation				      matchpathcon_checkmatches(3)

NAME
matchpathcon_checkmatches, matchpathcon_filespec_add, matchpathcon_filespec_destroy, matchpathcon_filespec_eval - check and report whether any specification index has no matches with any inode. Maintenance and statistics on inode associations SYNOPSIS
#include <selinux/selinux.h> void matchpathcon_checkmatches(char *str); int matchpathcon_filespec_add(ino_t ino, int specind, const char *file); void matchpathcon_filespec_destroy(void); void matchpathcon_filespec_eval(void); DESCRIPTION
matchpathcon_checkmatches() checks whether any specification has no matches and reports them. The str argument is used as a prefix for any warning messages. matchpathcon_filespec_add() maintains an association between an inode ino and a specification index specind, and checks whether a conflict- ing specification is already associated with the same inode (e.g. due to multiple hard links). If so, then it uses the latter of the two specifications based on their order in the file context configuration. Returns the specification index used or -1 on error. matchpathcon_filespec_destroy() destroys any inode associations that have been added, e.g. to restart for a new filesystem. matchpathcon_filespec_eval() displays statistics on the hash table usage for the inode associations. RETURN VALUE
Returns zero on success or -1 otherwise. SEE ALSO
selinux(8), matchpathcon(3), matchpathcon_index(3), freecon(3), setfilecon(3), setfscreatecon(3) sds@tycho.nsa.gov 21 November 2009 matchpathcon_checkmatches(3)
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy