1833814 Members
2068 Online
110063 Solutions
New Discussion

Re: expanding /var

 
Ishmael Lesolame_1
Occasional Advisor

expanding /var

Hi all

I have an HP-ux 10.20 whose file system sizes were initially not allocated
properly but is has been runnig confortably well. I am trying to put the June
'99 patches but the Install Analysis fails on disk space on /var [and very
little more is required on /opt and /usr, which also reside on /dev/vg00]. I
tried linking /var symbolically to a different location in /dev/vg00/data which
has more than enough space{I am quite aware HP does not support this trick}.
But I did not win still. Now I need some suggestions as to how I can extend
/var and /usr in the most hassle free manner because I want to pinch some
space from /dev/vg00/data. About 400Mb. I am reluctant to do a clean install
and restructure my file systems anew!!

I will very much appreciate a "step by step" type of suggestion but any tip
like references will be highly valued.

Ishmael
4 REPLIES 4
Ishmael Lesolame_1
Occasional Advisor

Re: expanding /var

Sorry guys, it is Hp-UX 10.10
javier juarez_1
Occasional Advisor

Re: expanding /var

1.- Start server in single user, interrumping the starting in to 10 secs from
message to interrump the normal start.
2.- boot from primary path
3.- answer "y" to interact with IPL
4.- In prompt ISL> type "hpux -is"
5.- When prompt root appear expand your lvol ( which is var, you can check with
"cat /etc/fstab"
6.- command to expand is "lvextend -L 524 /dev/vg00/lvol8" ( if this is the
value you want,524 mb, and if the logical volume is lvol8)
7.- expand the filesystem, eg
extendfs /dev/vg00/rlvol8
8.- mount all the filesystem to check results.
mount -a
9.- reboot server in normal mode
shutdown -ry 0

Anthony Goonetilleke_1
Regular Advisor

Re: expanding /var

I did notice you said "the most hassle free manner" in this case a product line
Online JFS would help tremendously.

1) get into SAM
2) go to "Disks and File Systems"
3) go to "Logical Volumes"
4) highlight the /var LV
5) go to the "Actions" menu and "Increase Size.."

and whalla just enter the new size you want...

regards,
AG
Paul Winchcombe_1
Occasional Advisor

Re: expanding /var

I would think the swinstall program is trying to save a backup copy of the old
version of software.

You may be able to create a new logical volume and mount it as /var/adm/sw

You would need to copy the old /var/adm/sw directory out first though before
mounting the new logical volume.

You would also need to restart swagentd daemon just for good measure.

Regards