- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX FREEING SPACE FROM /
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-30-2006 09:29 AM
10-30-2006 09:29 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 09:46 AM
10-30-2006 09:46 AM
Re: HP-UX FREEING SPACE FROM /
The sane, guaranteed way to increase the root ("/") filesystem is to re-Ignite your server form a make_tape_recovery tape.
That said, you should not need any appreciable free space in '/' to install patches or products if your configuration uses standard HP-UX logical volumes.
If '/' is short of space, you probably have files other than those that belong in directory's like '/etc', '/dev', '/sbin' and '/stand'. Perhaps you have multiple copies of kernels. Perhaps you have multiple backup copies of configuration files in '/etc'.
Look in '/dev' for non-special files. A common mistake when doing a backup is to specify '/dev/rmt/om' when you should use '/dev/rmt/0m'. This leaves a (usually large) non-special file in '/dev' which was supposed to go to tape!
Look for the largest directories in '/' first with:
# du -xk / | sort -k1nr
Having determined which directory(s) is using the most space, look for files that can be removed.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 10:52 AM
10-30-2006 10:52 AM
Re: HP-UX FREEING SPACE FROM /
There should not be any files on /
cd /
du -k | sort -rn
You may need to pipe to more and grep -v mounted filesystems.
Also note the old hidden file trick:
mkdir /steve
copy 50 MB
mount a fs on it
The space is taken and the files are invisible.
I've seen this happen with /var. To fix it you need to go to single user mode.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 03:17 PM
10-30-2006 03:17 PM
Re: HP-UX FREEING SPACE FROM /
/ root should not be used for installing programs, because if root fills up your whole system will go down. instaead use var. that being said if you need to increase / size you could do it via ignite, or im unsure if you could do it in single user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2006 05:51 AM
10-31-2006 05:51 AM
Re: HP-UX FREEING SPACE FROM /
The previous system administrator installed NSR (networker) on /, and is one of the directories that shouldn't be there. swremove says it can't be relocated, but I'm pretty sure we're not using it. I'll uninstall it.
Actually, what I need to do is to install a QualityPack, but swinstall says there is not enough free space in / and /usr.
Someone mentioned a tool to remove old patches and the like, have you heard of it?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2006 05:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2006 06:02 AM
10-31-2006 06:02 AM
Re: HP-UX FREEING SPACE FROM /
To remove old patches, use 'cleanup'. This will not change the root filesystem utilization, though. The Installed Product Database resides in '/var'.
That said, if you are using Legato Networker, you most certainly can symbolic link '/nsr' to '/var/nsr'. I do just to keep the "stuff" out of my root directory.
Regards!
...JRF...