10-24-2014
Before you start juggling filesystems, perhaps verify that the data on that filesystem is where it belongs...
Check for dangling filehandles - compare the output of du -sk /usr and df -k /usr, if the du output is significantly lower, you've probably deleted a file but left a process using the handle. Use lsof (or fuser, /proc or pfiles) to locate the process that is holding the handle and restart it.
Look for the big blobs in /usr - du -sk /usr/* | sort -n will show you the largest directories in there, you can drill deeper from there as required.
Look for recently modified files - /usr should be fairly static, if something is changing frequently, maybe it doesn't belong in there. find /usr -mtime -10 will show files modified in the last 10 days.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I m working on about 16 Unix Servers, Sometime a file is generated in the root names STA, which causes the root to run out of space within few seconds ,,, and the server crashes.....
hlp me out to find why the file is generated , what does it contain 'n' what is the cause ! (0 Replies)
Discussion started by: scorpiyanz
0 Replies
2. AIX
Aix 5.2
If you install Aix and accept the default settings for the various filesystems how much space is allocated for /usr?
I've just accepted the default settings for the install prompts and no third party apps have been installed.
TIA (3 Replies)
Discussion started by: Westy564
3 Replies
3. HP-UX
Greetings,
I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space.
I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Discussion started by: Dirk_
5 Replies
4. Solaris
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)
Discussion started by: SmartAntz
6 Replies
5. Solaris
Hi,
Im currently having my diskspace allocation of my UFS filesystem in solris as 100% for /usr
directory.I have created a zfs pool of 3 gb.I want to allocate space from my zfs pool to /usr so that i can free space in /usr.Please help me it is quiet urgent. (6 Replies)
Discussion started by: navjotmannan
6 Replies
6. AIX
=========================================================================
Hi
I should make hd6 as 6144MB and remove paging00
How to do ?
root@dbspsdbn1 #lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging01 hdisk2 ... (1 Reply)
Discussion started by: newtoaixos
1 Replies
7. AIX
AIX 6.1
Of course, right at the end of the day I see that my "/" file system is just about out of space. I've been googling and reading man pages, but my google-fu is weak today. How do I find out what is taking all the space? I think I found the process that is cause *some* file to grow but I... (15 Replies)
Discussion started by: Spellbound
15 Replies
8. Solaris
We have a script which when run consumes the space of the disk from where it is being run. we have to kill this script every time to release space.
why do this happen ? any work around please
we are using solaris 10
P.S. : a part of the code will make some connection to the DB (1 Reply)
Discussion started by: chidori
1 Replies
9. Solaris
Hi
I am trying to run a script in a sub-directory, that has one space on it: such as:
/internaldisk1/Task Logs1, but my entry in cron is not working:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /internaldisk1/Task\ logs1/./remov_reject.sh > /var/tmp/interd_`date '+%Y%M%d'`.log 2>&1 Please can... (4 Replies)
Discussion started by: fretagi
4 Replies
10. BSD
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)
Discussion started by: AntumDeluge
2 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)