- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr is closed to 90% full
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
05-09-2002 09:57 AM
05-09-2002 09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:06 AM
05-09-2002 10:06 AM
Solution2. Anything under /usr/tmp is probably fair game.
3. The same should be true for /usr/examples.
Anything else is probably risky.
Check for core or large user files that may have snuck in.
Other than that, you'll probably need to enlarge it.
HTH,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:18 AM
05-09-2002 10:18 AM
Re: /usr is closed to 90% full
# ls -l /usr|grep -e "->"
there are some sym link directories that goes to /var
like /var/mail; /var/spool.. at least on my machine. That leaves nothing much behind for you to house keep.
- /usr/tmp
is about all I would cleanup.
You would want to do 2 things though ..
# cd /usr
# find . -name core -exec ls -l {} \;
==> list core files and if found remove them.
# find . -size +2000000c -exec ls -l {} \;
==> find out if you have any files bigger than 2MB (just an example) and see if those files really does belong here.
Other than that . 1 option
- extend /usr
You do not want to be moving system directories/files from /usr to some other location and create sym link to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:19 AM
05-09-2002 10:19 AM
Re: /usr is closed to 90% full
#find /usr -name core -print
to find a file of 10000000byte = 10MB or larger
#find /usr -type f -size -10000000c -exec ls -la {} \;
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 10:31 AM
05-09-2002 10:31 AM
Re: /usr is closed to 90% full
I would first try to find out which files are taking up space in /usr
cd /usr
ls -lR | grep "^-" | sort -nr -k 5 | more
will list biggest first and so on ...
Hope this helps !
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 01:20 PM
05-09-2002 01:20 PM
Re: /usr is closed to 90% full
cd /usr; du -kx | sort -rn | more
This will show you usage by directory in the file system /usr.
If you need to exend /usr and it is a hfs file system, you will have to shut the box down complely, then boot in single user mode. Do a mount /usr; umount /usr, then do your extend and extendfs.
You can't just shutdown to single user mode. There are processes still running that use /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 04:42 PM
05-09-2002 04:42 PM
Re: /usr is closed to 90% full
Analysing /usr is a little different to some of
the other filesystems. You must rememeber that
some of the directories underneath here actually belong to /var and they are shown as symbolic links.
What I would do is actually look for any large files first as suggested, but look at how the
filesystem has grown. Since /usr generally does
not grow very much, now is the time to look at
planning to increase it. If you have a copy of the On-Line JFS software loaded, you can increase this on the fly. (Assuming JFS) If not
you will need an outage regardles.
Cheers
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 04:58 PM
05-09-2002 04:58 PM
Re: /usr is closed to 90% full
Unless you need more space to install a patch or to install a new application then I would leave it alone.
Another thing to consider is the number of megabytes (shown as kb in bdf) free. This is a more important value than % free.
My 2c discalimer applies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2002 05:05 AM
05-10-2002 05:05 AM