Operating System - HP-UX
1820234 Members
3366 Online
109620 Solutions
New Discussion юеВ

Re: extending /var and /opt

 
KAT_5
Advisor

extending /var and /opt

We currently have a 2 GB disk as our boot disks.
The disk contains the /var & /opt file systems.
We would like to apply a patch & convert the system to trusted mode.
However, there is not enough disk space on /var & /opt.

Please give us solutions on how to upgrade the boot disk & file system. I am using 10.20 hp unix

2 REPLIES 2
Sunil Sharma_1
Honored Contributor

Re: extending /var and /opt

There can be two way.

1. take ignite backup
change disk
restore in interactive mode so you can choose new layout of volumes.

2. Add another disk and extend /opt/var file system on that
a)add disk physically
b)extend volume group vg00 to new disk
c) if you have Online Jfs you can increase file system online other wise go to single user mode and increase volume and File system usinf lvextend and extendfs commands.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
MarkSyder
Honored Contributor

Re: extending /var and /opt

As far as /var is concerned there are some things you can move into their own filesystems: e.g. /var/adm/crash and /var/adm/sw.

It's also worth looking for large log files that you can null to release some space.. NB - do not delete these files as you will still need them. Null them thus:

> /var/adm/syslog/syslog.log

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing