- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem issue
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
03-12-2003 09:33 AM
03-12-2003 09:33 AM
Filesystem issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 09:39 AM
03-12-2003 09:39 AM
Re: Filesystem issue
This is not at all unusual. A file may have been unlinked (rm'ed) but not yet closed by a process. Sparse files will also do this. Imagine writing 1 byte at offset 0 and then seeking to offset 1,000,000 and writing 1 byte. You now have a two-byte file that occupies 1MB - a sparse fiile. Bdf and du report different aspects of the filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 09:40 AM
03-12-2003 09:40 AM
Re: Filesystem issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 09:42 AM
03-12-2003 09:42 AM
Re: Filesystem issue
Suspect someone deleted a file that's still in use by a process. When that process ends or is terminated the space will truly be freed.
Use lsof on that FS to determine the process in question.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 12:08 PM
03-12-2003 12:08 PM
Re: Filesystem issue
There may be some parent process which has died leaving child process in defunct state ,user fuser to check the process and kill if not nessary ,the space would return to normal .
Rizwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 12:41 PM
03-12-2003 12:41 PM
Re: Filesystem issue
Might be related to a deleted file which might still have not got closed.
So you don't see the file however see no difference in filesystem size.
I find it strange however, that it shows your bdf and du -sk outputs different.
Pls run a fuser -kc /dirname
from another directory. It would kill all links associated with that filesystem thus freeing up your space.
Let me know if this helps.
Regards,
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 12:45 PM
03-12-2003 12:45 PM
Re: Filesystem issue
Use fuser -ku and fuser -ck and then try unmounting and mounting it back.
This should resolve the problem. Otherwise unmount and fsck the filessytem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:24 PM
03-12-2003 01:24 PM
Re: Filesystem issue
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 1843200 1783823 56717 97% /usr
wau009:/usr> du -sk .
1074460 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:31 PM
03-12-2003 01:31 PM
Re: Filesystem issue
download and install lsof,
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/
hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:36 PM
03-12-2003 01:36 PM
Re: Filesystem issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:48 PM
03-12-2003 01:48 PM
Re: Filesystem issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:53 PM
03-12-2003 01:53 PM
Re: Filesystem issue
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME
oraclePBR 2796 oracle 9w VREG 64,0x7 10956211 0 28648 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 10w VREG 64,0x7 10847762 0 29677 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 11w VREG 64,0x7 606105 0 30053 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 12w VREG 64,0x7 538843 0 24251 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 13w VREG 64,0x7 10813995 0 24282 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 14w VREG 64,0x7 11059174 0 25091 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 15w VREG 64,0x7 10723377 0 24287 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 16w VREG 64,0x7 10824955 0 29085 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 17w VREG 64,0x7 10654592 0 30141 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 18w VREG 64,0x7 693123 0 30549 /usr (/dev/vg00/lvol7)
oraclePBR 2796 oracle 19w VREG 64,0x7 605286 0 30645 /usr (/dev/vg00/lvol7)