- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- / not showing recent disk availability
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
08-09-2006 08:13 AM
08-09-2006 08:13 AM
HPUX
B.11.11 U 9000/800
Thanks for any insight.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:17 AM
08-09-2006 08:17 AM
Re: / not showing recent disk availability
/ is a filesystem separate from /tmp and /home. /tmp and /home are mounted on /. The space available in / has nothing to do with the space available in /tmp and /home.
Did you also delete files from /, or one of the directories under / (one that is NOT a separate mount point)? If not, then the usage of / will not change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:20 AM
08-09-2006 08:20 AM
Re: / not showing recent disk availability
If you delete a file in a directory, and the directory is listed in the bdf output, then you are freeing space in that file system, and other are not afected.
If you want to free space from /, you must delete files in any other directory that is not under any directory listed by bdf.
Probably, my english is not good enough to explain this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:20 AM
08-09-2006 08:20 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:20 AM
08-09-2006 08:20 AM
Re: / not showing recent disk availability
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:21 AM
08-09-2006 08:21 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:22 AM
08-09-2006 08:22 AM
Re: / not showing recent disk availability
/ (root),/var and /tmp is seperate filesystems.
It is just mounted on /.
WHen you delete a file from /tmp or /var, it wont affect the size of / filesystem.
-sysadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:29 AM
08-09-2006 08:29 AM
Re: / not showing recent disk availability
I'll check to see if any of the files were open and go from there, but I really would like an explaination of why HP and others state to look for large files in the above file systems if / (root) is filling up. Thanks to you all for your quick responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:30 AM
08-09-2006 08:30 AM
Re: / not showing recent disk availability
If / when you see '/' fill up, you should first do a 'du -kx / | sort -n' to see what the largest items in '/' (NOT counting the mountpoints are).
The usual culprits for '/' filling up is an incorrect tape device file, ie. someone used om rather than 0m (that is a lowercase o instead of a zero).
If / fills up, there is absolutely no reason to look anywhere else (/home, /tmp, /var, etc. if they are separate mountpoints).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:36 AM
08-09-2006 08:36 AM
Re: / not showing recent disk availability
Bill's rule #1 for full filesystems:
NEVER LOOK FOR BIG FILES.
(hopefully that got everyone's attention). First, a big file is *NOT* necessarily an extra file that should be removed. I personally took a call from an admin where his manager 'cleaned up' the large files and destroyed the system. The large files? vmunix and vmunix.prev
You manage disk space by percentage full and as a specific filesystem approaches 85-90%, you then look fof big DIRECTORIES, not big files. You do this by running the du command as in:
du -kx / | sort -rn | head -20
That shows you the largest directories in /. Do the same for /var and /tmp if they are getting full. Now that you've found large directories, look inside the directory. There may be 1000 files that are just 1 meg each...no large files but 1 Gb of space has been used, probably a big mistake. To sort the files within a directory by size, use:
ll | sort -rnk5 | head -20
Now as mentioned above, / is a separate filesystem. It is not affected by any other filesystem. In the / directory, you should see something like this:
75240 /
32728 /etc
32344 /sbin
14536 /etc/opt
13216 /etc/vx
As you can see, / is using 75 megs, but the two largest directories in / are /etc and /sbin, each using about 32 megs. This is normal, so if you see any other large directory in /, then there is a mistake. NOTE: always check / for files -- there should be none because all good sysadmins move root's HOME out of /. Check for a core file in / (also a sign of problem scripts or root's home is still in /)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:39 AM
08-09-2006 08:39 AM
Re: / not showing recent disk availability
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080753268
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027052
"look for /dev/rmt.."
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1038602
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:48 AM
08-09-2006 08:48 AM
Re: / not showing recent disk availability
I really don't see anything in the 2nd and 3rd links that talks about much other than /. I just skimmed them, but most of the info looked to be related to / only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:50 AM
08-09-2006 08:50 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 09:01 AM
08-09-2006 09:01 AM
Re: / not showing recent disk availability
While onlineJFS / AdvancedJFS is a must have (all my systems have it), it will do you absolute NO GOOD whatsoever if you attempt to extend '/'.
The reason is that '/', PRI SWAP and '/stand' MUST all be contiguous. Attempting to extend '/' will fail.
The only real supported way to extend '/' is via Ignite/UX. You create a make_tape_recovery tape, or make_net_recovery image on an Ignite server, boot your machine from that backup and then increase the amount of space assigned to '/' and '/stand' if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 09:29 AM
08-09-2006 09:29 AM
Re: / not showing recent disk availability
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 01:34 AM
08-10-2006 01:34 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 01:40 AM
08-10-2006 01:40 AM
Re: / not showing recent disk availability
However, what will you do with the other lvol? Do you have enough free extents on the disk to move it back onto its original disk?
Just something to check before getting too far down the road of extending /.
I see no reason why Oracle would care how large / is. It is irrelevent to Oracle. As long as it isn't growing and isn't causing problems, I would worry too much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 01:57 AM
08-10-2006 01:57 AM
Re: / not showing recent disk availability
This system is a 24/7 system, since our business is 24/7 and 3 remote plants feed off this same server, so it hasn't been bounced in over a year, could that be an issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 10:44 AM
08-10-2006 10:44 AM
Re: / not showing recent disk availability
Post the results of:
du -kx / | sort -rn | head -20
Also make sure you've moved the superuser root's home directory to something like /root and all the junk files in / to that directory. NOTE: you need to identify all the files in / as to their purpose. Occasionally, unknowledgeable sysadmins will put critical scripts in / and refer to them in cron and other locations. Cleanup of the / directory, especially when there is no change control process, can be interesting. Also check /dev for rogue files:
find /dev -type f
(there should be nothing returned from this command).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 12:28 AM
08-11-2006 12:28 AM
Re: / not showing recent disk availability
118040 /
79760 /etc
43552 /etc/opt
37488 /sbin
32224 /etc/opt/OV
32216 /etc/opt/OV/share
24568 /etc/vx
20208 /etc/vx/type
15168 /etc/opt/OV/share/bitmaps/C
15168 /etc/opt/OV/share/bitmaps
10240 /etc/opt/OV/share/conf
7936 /etc/vx/type/static
6008 /etc/opt/resmon
5904 /sbin/fs
5624 /etc/vx/type/gen
5328 /etc/lvmconf
5120 /etc/vx/type/raid5
4184 /etc/opt/OV/share/conf/analysis
3784 /etc/opt/OV/share/backgrounds
3568 /etc/opt/resmon/lbin
ProdServ # find /dev -type f
ProdServ #
Nothing as you can see above comes back within /dev and there are no script's in or writing to root. I cat /dev/null a couple old log files from resmon but can't find much more that I'm sure can be removed or cat /dev/nulled .
Thanks for your patience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 01:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 01:14 AM
08-11-2006 01:14 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 01:33 AM
08-11-2006 01:33 AM
Re: / not showing recent disk availability
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 01:39 AM
08-11-2006 01:39 AM
Re: / not showing recent disk availability
I checked a couple of my servers and /etc/opt/samba is less than 4MB on those machines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 01:45 AM
08-11-2006 01:45 AM