05-27-2003
A while ago I had a problem with the internal file table in an HP-UX system. The file table (I think) is an internal kernel table that the OS is maintaining for all it's inodes - or something like that.
When the file table became full up all sorts of weird things started happening to my system and they were not restricted to (what looked like) file system errors.
The problem was the system was running out of inodes it could use and maintain in the file system. The number of inodes can be configured on a HP-UX as a kernel parameter and I would imagine that it could be on other flavours of Unix too. You might try increasing this parameter.
In my system the inodes usage was the result of a directory structure which went to too many levels. This structure was associated with data storage by processing date. When the data was finished with, the data files were removed, but the directories were left behind. Thus, the disk space was reclaimed but not necessarily all the inodes. To solve this I had a pruning process written which would remove empty directories from this directory structure and therefore reclaim the inodes.
This may or may not be the cause of your problems but it won't hurt to check how your diretories are organised; it is always useful to audit disk usage from time to time!
Hope this helps
MBB
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I recently discovered the ! command. I think it's great that !cd ? will match the last command that began with cd ?. However, for ! to be particularly useful to me (for now anyway) it would be nice if there was a tab completion option available (as with the cd command). Does anyone know... (3 Replies)
Discussion started by: x-375HK-x
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there a way to turn on tab completetion on Solaris 10? (2 Replies)
Discussion started by: annointed3
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all
How do you configure unix terminal to list files as you tab complete. I'm using a unix terminal at work and when i first started tab complete on a folder would list all matches if there were more than one.
eg.
monkey.xml
mon.xml
monkeyboy.xml
in one folder if i cd into... (2 Replies)
Discussion started by: GNUless
2 Replies
4. Shell Programming and Scripting
Is it possible to set up my .cshrc so that a single tab attempts to autocomplete, while a double tab gives a list of all possible options. In other words, I want it to work like bash in this regard.
Thanks! (3 Replies)
Discussion started by: James McMurray
3 Replies
5. HP-UX
hello,
i'm a linux zealot (fedora), so i know a some about unix. the company i work for uses HP-UX though and there are a few quirks i'd like smooth out by making them work more like my beloved redhat type systems...=)
right now they have all users using ksh and completion is done by hitting... (4 Replies)
Discussion started by: clockworks
4 Replies
6. Shell Programming and Scripting
hi guys,
i am new to HP unix , i am doing Solaris , i am just asking is there any thing like "bash" in hp unix including tab completion? (8 Replies)
Discussion started by: dagigg
8 Replies
7. UNIX Desktop Questions & Answers
Hi there,
I ve been using cygwin for some time now without any problems. However, recently I ve mapped a new drive on Windows and are now having problems with TAB completion for awk scripts in cygwin on this newly mapped drive (cygdrive t). I can access and run all files but cygwin doesn't do... (5 Replies)
Discussion started by: Tommes
5 Replies
8. Shell Programming and Scripting
Hi,
I am very new to Unix script. Suppose i have a file with column header:
NAME1 NAME2 Address Tel
And I always need to make a file with column header:
ID NAME1 NAME2 EMail Address Tel
For the columns that do not exist in the file, I would still like to make a column with blank.
... (11 Replies)
Discussion started by: nightrider
11 Replies
9. UNIX for Dummies Questions & Answers
I have a setup where I have two drives.
TV
TVbackup
For what ever reason, I have a lot of content on my TVbackup drive which isn't on my TV drive.
I want to copy all the files across which are on TVbackup but are not currently on TV.
If there is a file with the same name but a... (2 Replies)
Discussion started by: Spadez
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm having a problem with tab completion at the bash command line. For some reason, whenever I type g<tab>, the terminal will freeze up for 5-10 seconds before asking me if I want to display all 325 possibilities. I thought that maybe it's because of the high number of commands, but I have... (4 Replies)
Discussion started by: Raz716
4 Replies
LEARN ABOUT OPENSOLARIS
space
space(4) File Formats space(4)
NAME
space - disk space requirement file
DESCRIPTION
space is an ASCII file that gives information about disk space requirements for the target environment. The space file defines space needed
beyond what is used by objects defined in the prototype(4) file; for example, files which will be installed with the installf(1M) command.
The space file should define the maximum amount of additional space that a package will require.
The generic format of a line in this file is:
pathname blocks inodes
Definitions for the fields are as follows:
pathname Specify a directory name which may or may not be the mount point for a filesystem. Names that do not begin with a slash ('/')
indicate relocatable directories.
blocks Define the number of disk blocks required for installation of the files and directory entries contained in the pathname (using
a 512-byte block size).
inodes Define the number of inodes required for installation of the files and directory entries contained in the pathname.
EXAMPLES
Example 1 A sample file.
# extra space required by config data which is
# dynamically loaded onto the system
data 500 1
SEE ALSO
installf(1M), prototype(4)
Application Packaging Developer's Guide
SunOS 5.11 7 Feb 1997 space(4)