Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

out of inodes HP UX 11.11

Posted on 2006-07-21
5
Medium Priority
?
1,245 Views
Last Modified: 2013-12-16
Hi Experts,

one of the Vxfs filesystem is giving "out of inodes" error while tryinging to create any new file or directory.

I check "df -i /filesystemx" and its show only "27%" used.

The filesystem was created with unlimited inodes option.

mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=4,inosize=256,logsize=256,nolargefiles
/dev/vg1/lv7 2216114848

What is the quick fix for this problem other than deletion of old files?

Thanks
0
Comment
Question by:myrizvi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 17160509
It shouldn't happen with ninode=unlimited set, but if you have a directory with millions of entries, the directory itself may not be able to grow past 2Gb, so you'll need to enable largefiles

See: http://mailman.eng.auburn.edu/pipermail/veritas-vx/2000-September/000562.html   - It appears that the inode list itself requires the "largefiles" option, even if the directory structure doesn't

If you ARE using a flat file structure with millions of entries in a directory, I'd seriously consider reorganising it as filesystem performance will be poor.

Otherwise, you should look at patches for vxfs
0
 
LVL 21

Accepted Solution

by:
tfewster earned 1500 total points
ID: 17160512
Here's an HP-specific link that explains it better:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1009318
0
 

Author Comment

by:myrizvi
ID: 17162619
Thanks tfewster,

I will go through these links and see if the larg file option can resolve this problem.
0
 

Author Comment

by:myrizvi
ID: 17162826

So I have to unmount the filesystem, then set the largefile option and re-mount the filesyste. But I need to know what other steps are required as the filesystem is part of high availability cluster. If I add the largefile option in one node then do I need to do something on other node of the cluster.

I think I might open another question for this.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 17162979
If this fileystem is part of the cluster resource that gets failed over, the largefile setting within the filesystem will get switched across too.

However, it needs to be mounted with the "largefiles" option (Or at least, without the "nolargefiles" option - HP-UX detects the settings from the filesystem if not specified); Normally this would be specified in /etc/fstab, but if it's clustered, the cluster config may need updating -   If I recall correctly, the config file will be in /etc/cmcluster/<package name> and changes can be checked/applied using cmcheckconf/cmapplyconf respectively. Personally, I'd use cmgetconf to extract the current applied config just in case the config file doesn't match what has actually been applied ;-)

I suspect you'll need to halt the ServiceGuard package that uses this filesystem, convert the filesystem (using the special device name rather than the mount point name), [modify the cluster config if needed] and then restart the package. In theory you could just drop this filesystem from the cluster config so it could be converted without halting the entire package, but that needs a good understanding of how the volume group & filesystem are used.

So until you can arrange an outage, the short-term fix might be to back up some files and remove them...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question