- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange of filesystem size
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
10-10-2006 08:06 PM
10-10-2006 08:06 PM
Strange of filesystem size
I don't understand with this thing:
From bdf result, the filesystem show that nearly 6.6GB was used but when I check for the "du" command, it says only 2GB of data.
/dev/vg00/lvora 7340032 6893242 421219 94% /home/oracle
#du -sk /home/oracle
2185668 /home/oracle
Can anybody recommend a command to check realtime which file is writing on?
I need to check which file is writing on it.
Has any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 08:21 PM
10-10-2006 08:21 PM
Re: Strange of filesystem size
check with fuser -cu /home/oracle
which should give you the process ids/users using the disk.
With the process ids you should be able to establish which session is writing.
However, please note that filespace is only released after the process of deletion has completed, so bdf/du can show differences whilst deletion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 08:23 PM
10-10-2006 08:23 PM
Re: Strange of filesystem size
cheers,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 08:29 PM
10-10-2006 08:29 PM
Re: Strange of filesystem size
I completely forgot about lsof, which should be able to get you the filenames you need.
Binaries from:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
With the manpage at:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/man.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 08:36 PM
10-10-2006 08:36 PM
Re: Strange of filesystem size
How can I know which session?
The filesystem now almost full :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 09:05 PM
10-10-2006 09:05 PM
Re: Strange of filesystem size
you could try and search for big files, but the problem might be that someone has deleted a file which was in use when deleted: this behaviour is described in "man 2 unlink".
Check the relevant users' history files and cronjobs for suspicious file deletion, particularly logfiles.
Unfortunately, it will not help to recreate the file in question.
regards,
John K.