- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem full, but no files in it?
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
07-30-2002 06:40 AM
07-30-2002 06:40 AM
Filesystem full, but no files in it?
/dev/vg00/debuglogs 524288 451776 72512 86% /usr/aethos/snss/logs
Now I check the FS detail, with du:
/usr/aethos/snss/logs>du -sk *
225 CFDSA
2 checkPoint.log
8038 debug
0 lost+found
0 snmp
0 src
0 syslog
In the debug directory on this FS there are some files, but my du calculations dont match what bdf shows .. please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:42 AM
07-30-2002 06:42 AM
Re: Filesystem full, but no files in it?
Unmount the filesystem and then do a 'll' to see if there's stuff underneath the mount point that's using up all the space.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:44 AM
07-30-2002 06:44 AM
Re: Filesystem full, but no files in it?
Is it possible that a file was deleted but that an application still has it opened?
get a copy of "lsof":
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:47 AM
07-30-2002 06:47 AM
Re: Filesystem full, but no files in it?
You should be able to reclaim the space by killing off the process(es) that is(are) using it.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:48 AM
07-30-2002 06:48 AM
Re: Filesystem full, but no files in it?
`du -sk *` doesn't catch hidden files.
do a `ls -a` to check if there are any , or do
du -sk .[a-z]* .{A-Z]* .0* .[1-9]*
You can't do a ./.* because of . and .. dir's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:50 AM
07-30-2002 06:50 AM
Re: Filesystem full, but no files in it?
I cannot unmount the filesystem, it is continually written to. I used fsadm to defrag it, still no change. I did fuser -cu and a couple of users have procs in it, but as said cannot kill any of them. Checkmate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:52 AM
07-30-2002 06:52 AM
Re: Filesystem full, but no files in it?
just run du -ks one step obove /usr/aethos/snss
and see how much logs is occupying.
also run du -ks on /usr/aethos/snss/logs/debug
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:55 AM
07-30-2002 06:55 AM
Re: Filesystem full, but no files in it?
That's in the question .. if you add the amount togethor ... same as du in a directory up .. 8265 for du -sk logs/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:56 AM
07-30-2002 06:56 AM
Re: Filesystem full, but no files in it?
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 06:59 AM
07-30-2002 06:59 AM
Re: Filesystem full, but no files in it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:26 AM
07-30-2002 07:26 AM
Re: Filesystem full, but no files in it?
i understood that, i observed in my system if parent and sub directories are mount points there is difference in du and bdf outputs. any way lsof is the best option, to see is there any process which is writing to the deleted file. iam attaching lsof shar file (unshar it to use - sh lsof64.shar).
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:43 AM
07-30-2002 07:43 AM
Re: Filesystem full, but no files in it?
Should I use lsof with any special switches when running it on the mounted FS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:50 AM
07-30-2002 07:50 AM
Re: Filesystem full, but no files in it?
Bugger... I need lsof for 64-bit kernel .. I am running N-4000's in a cluster here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:53 AM
07-30-2002 07:53 AM
Re: Filesystem full, but no files in it?
lsof with no options gives entire list of all opened files, thereis no problems with the mounted file systems. but to cut down, u can use grep, if any process that writes to logs directory or grep /usr/aethos/snss/logs
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:54 AM
07-30-2002 07:54 AM
Re: Filesystem full, but no files in it?
64 bit lsof is out there, I just can't remember where off the top of my head. When the search engine is fixed, you can do a boolean search on +"lsof" +"64 bit" and that should, eventually, lead you to it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 07:57 AM
07-30-2002 07:57 AM
Re: Filesystem full, but no files in it?
it is for 64 bit kernel only, its working on my system. further i suggest run top and observe top processes and identify if u can, is there any process that is owned by some user and it is writing to logs directory, if it is a stray process just kill it.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 08:07 AM
07-30-2002 08:07 AM
Re: Filesystem full, but no files in it?
With no search engine it took a while, but I think this is the site where I got a 64 bit version of lsof:
ftp://coast.cs.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/
Hope This Helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 10:46 PM
07-30-2002 10:46 PM
Re: Filesystem full, but no files in it?
I'm not familiar with the applications you are running that would be writing to this log directory, but it is not uncommon for applications to close and reopen their log file(s) if you send them a SIGHUP signal. This might be enough to cause the file(s) in question to be closed so they can finish being deleted, without requiring the application to be stopped.
Caveat: I know nothing about your applications, so I can't say what else might happen if you send them a SIGHUP signal.
Please check the documentation for your application before trying this.