I'm having a strange Phenomenon here in one of my servers /usr file system is growing fast and it went wild.
I have searched the entire file system for large , growing and newly created files with no clue what's going on I have found nothing strange.
Any further idea
a snapshot from df's , lsvg's and lsfs's outputs
Any ideas would be a great assist.
When a file is deleted the file is removed from the directory, but will continue to occupy disk space until all references to the file are closed. It is quite possible that you, or some automated process, has 'cleaned up' the large file, but that there is still one or more programmes that have the file open and thus the real disk space isn't being released.
if lsof is installed, you can use it to see which processes on your system have files open under /usr. Further, the output will show the file size and if the corresponding directory entry to the file has been deleted. I wrote a quick programme that opened a file, immediately unlinked it, and then slept long enough for me to run lsof; the output is below as an example of what to look for:
If you run the command and grep for /usr, that might identify the process that has the huge file open.
Last edited by agama; 08-27-2011 at 02:31 PM..
Reason: clarification
Did you or someone else install new software ? - or upgraded the patchset level?
Committing applied software is freeing up lots of space on most systems.
Anyways I would not be too concerned about /usr running full. This is pretty much the only filesystem where you will have adverse effects if it really happens and if you install packages and the space is insufficient, than the -X option will make more space for you on the fly as long as there is free space left in rootvg.
I have figured out why it's running out of space quickly , It seems that guy who has configured the filesystems didn't configure them properly , He made mount point under /usr to be mount point for a new file sytem and didn't assign that to an LV.
Now I'll move this data under /usr to new LV.
Thanks everybody
OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)
Hello,
I have a filesystem that I'm trying to grow but it's giving me the error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The... (5 Replies)
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
I am trying to be pro-active and prevent FS from filling up. I know about
the df/du command also find -size -mtime .......
What I want to know is there a way I can do a find to see which files have been accessed or modified after a specifc YYYYMMDD-HHMMSS. What I am really looking for is to... (4 Replies)
Ok so I just installed Solaris 10 on my x86 laptop. But I too the defaults and now all of the FS's are very small. I can't install anything. The drive is a 40GB but only about 11GB is being seen and used. How can I get the OS to see and use the rest of the drive? I was just going to reinstall, but... (3 Replies)
Greeting Forumers!
I've been asked to increase space in a FS that is currently 740G in size:
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d664 740G 424G 308G 58% /ora_back
My SAN administrator has allocated 5 LUNs of 200G each - this will make... (3 Replies)
Hi,
/opt on my disk is almost 90%. I thought of growing it. I followed the below procedure:
1. added a new hard disk
2. formatted the same with ufs
3. created a slice and tried to label it as "opt" with "wm" permissions.
but got stuck at 3 as it is not allowing me to label the slice... (9 Replies)
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
Hi Everybody,
I want to know the names & locations of the common AIX files which it's size keep growing. I think there is a procedure to clean these files to avoid the space overflow, I wish also if anybody can tell me what is the proper procedure to make more available space.
Another issue, that... (2 Replies)