1846853 Members
2855 Online
110256 Solutions
New Discussion

To install patch

 
laura kanth
Occasional Contributor

To install patch

Hi
I'm trying to install QPK1100 as you all know that is for HPUX 11.00.The problem is when i install this patch ,the installtion failed due to less space in /usr.needs 58 k in /usr.I checked for core files in /usr and large files in /usr .There is no core files and no large files.Shall i move /usr/share,/usr/sam,/usr/conf to some other place ,and after installing patch can i replace it?.Will it work?Please help.
Thanks
6 REPLIES 6
Craig Rants
Honored Contributor

Re: To install patch

Do you have the ability to increase the size of /usr, because you really don't want to move anything out of /usr.

Do a vgdisplay -v vg00 and look for the free PE's. Then if you have have OnlineJFS do:
lvextend ???L 770 /dev/vg00/lvol7
fsadm ???F vxfs ???b 770M /usr

Without OnlineJFS:
VI) How to reduce the size of a logical volume without online JFS (advanced JFS)
Note: the following example is using the volume group vg01 and the
logical volume lvhome
1) Backup all user data
2) Umount the filesystem
umount /home
3) Reduce the size
lvreduce -L 60 /dev/vg01/lvhome


GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
laura kanth
Occasional Contributor

Re: To install patch

HI Craiq,
There is no possibility for you suggestions.So that only i was thinking to move some thing from /usr.
Thanks.
Helen French
Honored Contributor

Re: To install patch

Hi,

Try allocating more space to /usr instead of moving something. Do you have free space on the disk/vg ?

Check whether you are storing any unwanted files in /usr ? Check for big files in /usr:

# cd /usr
# du -k | sort -rn | pg

OR

# find . -xdev -size +10000 -exec ll {} \; > /tmp/bigfiles

HTH,
Shiju
Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: To install patch

Hi Laura,

I think you should look into increasing the size of /usr rather than moving directories out of /usr. Most of the directories/ files under /usr are system related and may create a problem. Look at the vgdisplay for vg00 and see if you availavble pe extents. If you do, try to increase the size of /usr. That would be the general recommendation.

Hope this helps.

Regds
Craig Rants
Honored Contributor

Re: To install patch

How about adding a disk to vg00. You really don't want to move anything out of /usr.

III) How to add a disk to a Volume Group
Note The following examples is using the disk c1t6d0 and the volume
group vg01

1) Prepare the disk
pvcreate /dev/rdsk/c1t6d0

Note if the disk was previously used in another VG use the
following command instead:

pvcreate -f /dev/rdsk/c1t6d0

Note: Use caution when using pvcreate -f as this will
overwrite the existing volume group information on the disk.

2) Add the disk to the Volume Group
vgextend /dev/vg01 /dev/dsk/c1t6d0

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Steve Steel
Honored Contributor

Re: To install patch

Hi

I agree with the thepry of do not move anything but sometimes you have no choice.

Of preference extend /usr


else move /usr/share/man and /usr/share/doc
to somewhere else

use soft link
ln -s new_dir old_dir

Move them back afterwards


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)