- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Adding Patches - /var fills up and the patch proce...
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
Discussions
Discussions
Forums
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
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-13-2003 11:54 AM
тАО08-13-2003 11:54 AM
Bundled the patches and downloaded the tar. Since there wsn't enough room in the /tmp/patches directory we created another directory and linke to the /var/patches directory to create the required depot.
When running:
create_depot_hp-ux_11 -d/tmp/patches/depot
the /var directory fills up and the create _depot starts sending errros.
Thanks,
Jane Lewicke
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 02:57 PM
тАО08-13-2003 02:57 PM
SolutionYou can download all the patches into a single directory, unshar them, swcopy them to a single depot and then install them.
You can use any directory you like. Have a look at the attached document and make any adjustments necessary (such as location of patches and resultant depot).
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 05:48 PM
тАО08-13-2003 05:48 PM
Re: Adding Patches - /var fills up and the patch process fails
This is a common patching problem even when the depot is remote. You'll need to either trim /var or extend it.
Trim:
1) cd /var
du -akx | sort -nr | more
This will show you the largest space hogs in /var. Find the culprits..logs..old superseded patches, etc. You can commit earlier patches superseded twice with
cleanup -c -2 #add a -p for preview
Look for PerfData logs to be trimmed in /var/opt/perf/datafiles, look in /var/opt/stm for the same reasons. And don't neglect /var/tmp - *anything* in a *tmp dir is fair game.
Extend:
Do a
vgdisplay /vg00
If you have free space AND you have OnLine JFS, you can grow /var on-the-fly using
lvextend -L XXXX /dev/vg_name/lv_name # where XXXX=the NEW size in MB
and
fsadm -F vxfs -B XXXXM /var # where XXXX=New MB size
If you don't have free space you'll have to be much more aggressive in trimming or wait until you can *physically* add space.
Biggest piece of advice I can give you is:
"Don't use /var to store patches to load".
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 06:19 PM
тАО08-13-2003 06:19 PM
Re: Adding Patches - /var fills up and the patch process fails
# cleanup -p -c 1
And if you do not want have your 'crash' files analyzed, then, you can remove them(/var/adm/crash).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 04:14 AM
тАО08-15-2003 04:14 AM
Re: Adding Patches - /var fills up and the patch process fails
As the first person indicated. It doesn't have to be in /var. It doesn't even have to be in the vg00 volume group. In vg01 we have a directory called "hp_patches" with 5GB of space. We get put our tar file in it and follow the procedures outlined in the README file. Works fine.
To install
swinstall -s /hp_patches/bundle.depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 06:28 AM
тАО08-15-2003 06:28 AM
Re: Adding Patches - /var fills up and the patch process fails
If not, /var may be difficult to extend while system is up. Many products put themselves there, and files are in use after boot, preventing unmounting when you try to extend.
You may need to go to single user to extend, and use command line LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 08:37 AM
тАО08-15-2003 08:37 AM
Re: Adding Patches - /var fills up and the patch process fails
Run cleanup to remove superseded patches. This will make room in /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2003 03:06 PM
тАО08-16-2003 03:06 PM
Re: Adding Patches - /var fills up and the patch process fails
bdf /var
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 12:20 PM
тАО08-18-2003 12:20 PM
Re: Adding Patches - /var fills up and the patch process fails
We cleaned the system and found sufficient space to apply the patches.
Now if you have a method to get the users off the system to allow application of the patches during somewhat normal hours -- that would be great -- -Power outages don't count -- ups doesn't have enough capacity to last through them all!