myrizvi
asked on
out of inodes HP UX 11.11
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=819 2,version= 4,inosize= 256,logsiz e=256,nola rgefiles
/dev/vg1/lv7 2216114848
What is the quick fix for this problem other than deletion of old files?
Thanks
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=819
/dev/vg1/lv7 2216114848
What is the quick fix for this problem other than deletion of old files?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks tfewster,
I will go through these links and see if the larg file option can resolve this problem.
I will go through these links and see if the larg file option can resolve this problem.
ASKER
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.
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...
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...
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