- 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
09-12-2001 03:09 AM
09-12-2001 03:09 AM
Every help wolud be appreciated.
P.S.And we all pray for America
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 03:18 AM
09-12-2001 03:18 AM
Re: File system full
you may have a core file,try to use the comand
find /home -name core
david
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 03:20 AM
09-12-2001 03:20 AM
Re: File system full
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 03:21 AM
09-12-2001 03:21 AM
Re: File system full
cd /home
du -k .
it gives output in Kb of all the directories under home, look for something unusual, if not use a bit of maths and compare the figure at the end of the output to the bdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 03:45 AM
09-12-2001 03:45 AM
Re: File system full
I do not have a core file and anything unusual in /var/adm/syslog/syslog.log.The only unusual is that the total size of all files in /home directory is 130Kbytes and the file system is 12Mbytes.The output of the command:
cd /home
du -k
8 lost+found
132 /data(directory with the files)
141 .
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 03:51 AM
09-12-2001 03:51 AM
Re: File system full
1. First of check the sizes of the files/directories in /home
du -ks /home/* |sort -nr
(would sort the sizes in reverse order, you the highext user would be at the end of the list)
2. Look for core files
find /home -name core -exec ll {} \;
If you are certain you don't need the core files in /home, (check with the users first)
find /home -name core -exec rm {} \;
3. Sometimes even though you remove a file, if a process is writing to it the free space is not recovered.
do a
fuser -cu /home
to see which processes are writing to the filesystem.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 04:03 AM
09-12-2001 04:03 AM
Re: File system full
And my greatest problem is that the toatl size of my files is about 10 times than the file system size.How could be full??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 04:16 AM
09-12-2001 04:16 AM
Re: File system full
Let us know what you find.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 04:17 AM
09-12-2001 04:17 AM
Re: File system full
bdf sometimes shows incorrect informations about fs usage. If its possible umount /home and mount again. Mayb some proceses keep /home - check it with fuser.
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 04:22 AM
09-12-2001 04:22 AM
Re: File system full
Sometime even though a file has been removed via the rm command, if there are processes still holding the file open, the file will continue to take up space on the filesystem.
You would have to do a fuser -cu /home (assume that home is a separate filesystem) and then try to determine which process might be holding on to a large file. Or alternatively, just kill off all the processes listed from teh fuser command (if that's an option).
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 05:35 AM
09-12-2001 05:35 AM
Re: File system full
Would you please post the results of these two commands?
bdf /home
du -kxs /home
du -kx /home | sort -rn | head -20
All the best,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 06:30 AM
09-12-2001 06:30 AM
Re: File system full
from /home run
#find * -type f -size +1000000c | xargs ll | sort -n +4.0
this find command will find the biggest files in the home dir and every sub dir.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 06:45 AM
09-12-2001 06:45 AM
Re: File system full
I have seen cases where bdf reports wrong information (HP recommends installing patches) but we before install any patches, you might want to check the output of du and bdf of other filesystems)
From what you have said so far, du definitely reports (141K) much less usage than the actual filesystem size (12MB). But did you do a "fuser -cu /home" and try killing the processes "fuser -kcu /home"?
Did you try unmounting/mounting the filesystem?
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 08:07 AM
09-12-2001 08:07 AM
Re: File system full
fuser /home
fuser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 10:24 PM
09-12-2001 10:24 PM
Re: File system full
Thanks a lot to all You. I have a sh running in this f.s. ane writing to a log file.I could not kill the processes cause this would stop the work in my network.Any other ideas?
The log file is 106000bytes long. Such f.s. with -sh running and log files are on 5 machines in my network, but the only machine with file system full is this one.
Unmounting is impossible-the work shouldn't be stooped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 10:42 PM
09-12-2001 10:42 PM
Re: File system full
You can try to increase the file system size online provided you have installed online JFS.
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 11:09 PM
09-12-2001 11:09 PM
Re: File system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2001 12:53 AM
09-13-2001 12:53 AM
Re: File system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2001 01:28 AM
09-13-2001 01:28 AM
Re: File system full
Did you mean to say that there is a shell script that's writing to a log file or the acutal shell is writing to the log file?
If its the former, then I would think zeroing the log file would be relatively okay since I know of very few shell scripts that keep files open indefinitely.
In fact, more shell scripts do automic writes to log files, i.e. a quick redirect to a file, etc.
Also, in any case, 106000 bytes is not very big...its only 106k, so I don't think this is the culprit.
Can you run the following short script which will generate a list of processes running on the filesystem:
!#/bin/sh
for PROC in $(fuser -cu
do
ps -ef|grep $PROC|grep -v grep
done
From here you can try to narrow down which process is hogging the space.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2001 02:02 AM
09-13-2001 02:02 AM
Re: File system full
But it didn'y show anything unusual-just the shell script, writing to my log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2001 02:17 AM
09-13-2001 02:17 AM
Re: File system full
One of the functions of the shell script is to check whether interface is up or down-if it is down the script crteates an empty file in the same directory with the command "touch" and when the interface of the machine is up again, it removes this empty file with "rm " command.
Maybe this has something to do with my problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2001 03:30 AM
09-13-2001 03:30 AM
Re: File system full
I would like to tell You that I talked to my boss and he allowed me to stop the user defined shell script. When I did this, the file system usage falled down to 1%.After that I started the script again and the usage remained low.I don't have explanation..but help You very much for Your help.
Lora Ganeva