- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr directory
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
01-24-2003 02:50 AM
01-24-2003 02:50 AM
/usr directory
my /usr directory is 95% i want to reduce it what do i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 03:11 AM
01-24-2003 03:11 AM
Re: /usr directory
vgdisplay -v vg00 and look if there are Free PE if there are free PE you can make the filesystem larger
if there are none:
please do a du -ks /usr/*
and see look for ting that are not used on the system...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 03:16 AM
01-24-2003 03:16 AM
Re: /usr directory
If you can't reclaim enough room to live comfortably, then you'll have to expand. If you're lucky enough to have Online/JFS, you can do this on the fly. If not you will need to boot into single user mode in order to unmount the file system to extend it. The third alternative is, if you have enough extra space, make a new file system (call it /newusr), copy the contents of /usr into it, /switch the mount points in /etc/fstab, and reboot.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 04:07 AM
01-24-2003 04:07 AM
Re: /usr directory
bigger directory.
Regards,Stan
- Tags:
- LOFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 04:10 AM
01-24-2003 04:10 AM
Re: /usr directory
Regards, Vicente.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 04:38 AM
01-24-2003 04:38 AM
Re: /usr directory
In addition to the suggestions to expand the filesystem; compress files that may not be needed in it (doubtful); and remove files that were inadvertantly placed there, there is yet another possibility.
If you have a subdirectory of /usr which represents significant space you cound make that directory a symbolic link to another mountable filesystem in a different logical volume. You could also make a subdirectory its own mountpoint in its own filesystem. Thus a 'bdf' might show /usr and /usr/local as two discrete mountpoints on two discrete logical volumes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 04:40 AM
01-24-2003 04:40 AM
Re: /usr directory
/usr is fairly static EXCEPT /usr/local and /usr/contrib which can grow unexpectedly when adding programs. Analyse the big directories with:
du -kx /usr | sort -rn | more
For today's HP-UX installations, /usr should be 800 to 1500 megs in size, about the same for /opt too.
Bill Hassell, sysadmin