- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root file system space
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-16-2008 11:25 PM
10-16-2008 11:25 PM
root file system space
Im using HP-UX 11.11. Sudenly the root file system grou up until 100%. During the backup i see tha t the root file system has only 380MB ocupied but it still showing 1048064 KB in BDF wich is near to the size of root size.
when I do df -k it shows for /:
1048576 total allocated Kb
512 free allocated Kb
1048064 used allocated Kb
99 % allocation used
how can I free the space in order to have 318M when I do BDF?
Best regards.
Ernesto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 11:33 PM
10-16-2008 11:33 PM
Re: root file system space
Check any open file is there under / also check any backgound process is running which is generating any files under root FS or check any core/zip files is there under /
For checking open files
lsof +L1 +D /
find / -name core -print
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2008 12:36 AM
10-17-2008 12:36 AM
Re: root file system space
Suggestion:
bdf reports disk space occupied by files plus space reserved by processes/or some running program. you may check your system for such reservation or you can reboot or fsck to resolve the issue.
sometimes this space calculation is "virtual" like a process working on a log file, now after removing log file, you expect the system to show you increase in free space, well until process/daemon dies, you may not get this result.
and sometimes it could be "real" like a program has reserved some space that you don't know and you want your system to report "physical" space and not "logical"
hope you get good idea what i have in my suggestion. :)
" My Answers are Not Final"
Regards,
Asghar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2008 04:08 AM
10-17-2008 04:08 AM
Re: root file system space
Are you getting logs from some application or like in the root directory ..
check it out by..
#find / -name "*.log" -print -exec ls -l {} \;
check out for any tar file by
#find / -name "*.tar" -print -exec ls -l {} \;
and you may truncate the unnecessary files/tar file..
regards,
prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2008 06:08 AM
10-17-2008 06:08 AM
Re: root file system space
find / -xdev -depth -size +7000 â xdev -exec ll {} \; | more
OR
find / -type f -size +1000000c -xdev -exec ls -l {} \;
(if you want to search for a number of characters try the lower case c after the number
OR
A little fof your topic but:/usr/sbin/cleanup -c 2 (will remove all patches superseded more that 2 times. useful knowledge is all)
OR
Also I would search for any core files and remove them. Sometimes I have them in /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2008 06:40 AM
10-17-2008 06:40 AM
Re: root file system space
Pls check if there are any regular files (instead of the special device files) in /edv directory.
Many times during backup - due to wrong target device name files get created in /dev.
do
find /dev -xdev -type f -print
Do a du -ks / | sort -nr | head -20
This will give you the top 20 files/directories consuming space in / filesystem.
Then before deleting any file - if you find being large and unwanted in / filesystem, check that it is not being used - by
fuser -u
or use lsof as suggested above.
Regards,
Ninad
Regards,