Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

High INODE Count?

Status
Not open for further replies.

KOG

MIS
Jan 31, 2002
303
GB
Hi Folks,

I am a bit concerned about the high count of inodes for one of my filesystem /opt (it has oracle archives files within it, other datafiles are spread across other disks).

$ df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 65536 55184 16% 966 6% /
/dev/hd2 786432 35504 96% 13159 14% /usr
/dev/hd9var 229376 200784 13% 146 1% /var
/dev/hd3 983040 947680 4% 82 1% /tmp
/dev/hd1 65536 63032 4% 55 1% /home
/dev/lv00 20054016 7999152 61% 19335 1% /opt
/dev/lv01 16384000 6246112 62% 42 1% /backup
/dev/lv02 4194304 647240 85% 25 1% /oracledata1
/dev/lv03 3145728 584800 82% 26 1% /oracledata2
/dev/lv04 6029312 262424 96% 48 1% /oracledata3

Does this cause for any concern? As I compared the size and structure of the df from new server to old and it seems for some reason this inodes is generating very quickly (any way of controlling it esp for the archives?)

drwxr-sr-x 2 oracle oinstall 1536 Aug 11 10:59 archive
-rw-r----- 1 oracle oinstall 2023424 Aug 12 09:28 control02.ctl
-rw-r----- 1 oracle oinstall 536879104 Aug 12 09:21 temp01.tmp

Also, what does the 's' within file permission represent, all I know is x, w & r.

Thanking you all in advance,

regards

Katherine
 
A high number of inodes used isn't a cause for concern: it simply reflect the number of files present on the filesystem. Oracle archive logs can easily make that number grow. I personally wouldn't be terribly concerned.

(warning: I am not a DBA)
If the file count is still a concern: if you have a highly active database, you might consider increasing the size or time period for switching Oracle archive logs.
 
/proc is a new filesystem addition in v5.1 and has much information available about running processes. It can be valuable in tracking down problems.
 
Your inode% is still 1% so no worries.

The 's' permission is, in this case, setgid, which sets the effective group id of the user to that of the prog, in this case oinstall.

My personal favorite way to set these is using four-digit octal. A file of rwsr-xr-x would be 4755, where the leading digit represents the placement of the 's' bit. rw-rwsrw- would then be 2676. Check out man page for chmod. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top