- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File system Full
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:44 AM
04-22-2002 12:44 AM
File system Full
There's no core on this file system.
The quot command display that bin user use 60% of space..
I can not increasing the size of this FS. How can I free some space from this FS
Thins for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:47 AM
04-22-2002 12:47 AM
Re: File system Full
Probably you have a link to /var/adm
Look in there for a lot of old syslog files or any admin files left since long time ?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:47 AM
04-22-2002 12:47 AM
Re: File system Full
find /usr -size +10000000c -xdev -exec ll {} \;
See if you can identify any files this lists which you can delete/trim
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:51 AM
04-22-2002 12:51 AM
Re: File system Full
Check for any processes hanging on to opened files that have already been deleted. A reboot should resolve an open file problem.
Otherwise if you don't wish to reboot, you can use lsof to identify the process and to terminate or restart it to fix this problem.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:52 AM
04-22-2002 12:52 AM
Re: File system Full
You should first determine where all the space went. We use the mbused (MegaBytes used) script for this :
#!/sbin/sh
#
# Author : Tom Geudens
#
# Usage : mbused
#
if [ $# -lt "1" ]
then
echo "enter : mbused
exit
fi
du -s -x $1/* | awk '$1=$1/2000 {printf("%s\t%sMB USED\n",$2,$1)}' |sort -n -k 2,2
Put this script in /usr/local/bin.
Next cd to /usr and execute /usr/local/bin/mbused . (the point indicating the local directory).
This should give you an idea where the space went ...
Hope this gets you started,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 12:54 AM
04-22-2002 12:54 AM
Re: File system Full
have you checked for rubbish in /usr/tmp
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 01:01 AM
04-22-2002 01:01 AM
Re: File system Full
I might have jumped the gun.
Execute a bdf (includes space held by opened files) and a du -sk (does not include space held by opened files) command. Is there any big difference from your bdf output vs your du -sk output?
# bdf /usr
# du -sk /usr
If no, follow the instructions provided by the rest and search for large files that are taking up space in /usr.
If yes, then it is likely that you have an open file that got deleted. In such cases, you will need to use lsof to identify the process to terminate it. Otherwise, a reboot suffices.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:12 AM
04-22-2002 02:12 AM
Re: File system Full
1. Fetch out what's under /var/adm/crash
2. du -k /var will list all the tree under /var and you can easly find out where your increasing directory(ies) is(are).
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:31 AM
04-22-2002 02:31 AM
Re: File system Full
# du -s /usr/*
to see which directory is taking up the most space.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:30 AM
04-22-2002 06:30 AM
Re: File system Full
/var is a host of lots of log files which range from mail, sam,sw install ,spool, stm , tmp ( for applications ) In any case one of these is having fat log file . To find out that either you can do find with a conditon for fatter log file or just do ls -lR > /tmp/abc . and then you vi abc to see which file/files have grown . Genrally the priority that I take to check is to go /var/tmp first then to mail , stm and so on , also when u see unwnated files or fat files just empty them so that you are sure that the particular subdirecorty is not to be doubted. Also a goos place to look is stm logs that happens in case you have some recuuring soft faults and that makes stm logs go fatter.
All the best.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:31 AM
04-22-2002 06:31 AM
Re: File system Full
Just do following to determine who is eating more space.
1. du -k from /usr directory.
2. FInd out the directories eating more space using find command.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:34 AM
04-22-2002 06:34 AM
Re: File system Full
Do
du -akx | sort -nr | more
This will sort, descending, the largest files in this FS (only)& will show you the hogs & let you determine what can/can't be removed.
If you have logs or tmp files being created in here then the apps/utilities creating them need to be modified to put them in their proper places.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 06:55 AM
04-22-2002 06:55 AM
Re: File system Full
In case you need to increase the file system size for /usr, please do not forget to issue following command before rebooting or after making the changes.
lvlnboot -R
this is important , the failure to issue this commmand will cause failure to boot your machine next time and you will be in serious trouble.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 08:14 AM
04-23-2002 08:14 AM
Re: File system Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 04:40 PM
04-23-2002 04:40 PM
Re: File system Full
#find / -atime 1 xdev -size +20480(over 10M)
and this command display which directory have most space
#du -ks /usr/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 04:54 PM
04-23-2002 04:54 PM
Re: File system Full
Each one has there own preference of finding out which files are hogging your filesystem..
Here is mine:
cd /usr
ls -lR | grep "^-" | sort -nr -k5 | more
This will list the largest file first and so on...
P.S List only files largest first recursively through the directory tree and sort the numeric field in reverse order (numeric field is size of the file)
Thanks,
Shabu