1835253 Members
2244 Online
110078 Solutions
New Discussion

increase size /opt

 
SOLVED
Go to solution
Marcelo Costa_2
Occasional Contributor

increase size /opt

Mrs,

what I must make to increase /opt and as to stop the service of resmom

thanks[]
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: increase size /opt

Hi,

depends a bit on what you are running on the server and if you have online jvs installed.

Could you give us the OS + filesystem (vxfs hfs)

Regards,
Robert-Jan.
Robert-Jan Goossens
Honored Contributor
Solution

Re: increase size /opt

Hi again,

If resmond is the only process running on /opt, you can stop it.

# cd /sbin/init.d
# ./predictive stop
# ./diagnostic stop
# cd /
# umount /opt
# lvextend -L XXX /dev/vg00/lvolx
# extendfs /dev/vg00/rlvolx
# mount /opt
# bdf
# /sbin/init.d/diagnostic start
# /sbin/init.d/predictive start

HTH,
Robert-Jan
K.C. Chan
Trusted Contributor

Re: increase size /opt

if you don't have online jfs, you will have to umount /opt then proceed to increasing the file system size on it, provided you have enough free extent on you volume group. If you have Advance Journal Filesystem, you could increase the file system size on /opt on the fly.
Reputation of a thousand years can be determined by the conduct of an hour
Pippo_9
Frequent Advisor

Re: increase size /opt

Hi,

- about extend of /opt:

KBRC00003170 - How to extend a filesystem using Online JFS, Base JFS or HFS.

- about resmon:

If you would like to stop monitoring by EMS you should launch

# /etc/opt/resmon/lbin/monconfig
Use the K option in monconfig

otherwise if you would like resmon, stop ems:

# /sbin/init.d/ems stop

For more details about resmon

# man ems

I hope this helps you.

Best regards,
Ettore
Jairo Campana
Trusted Contributor

Re: increase size /opt

also you can do
bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol6 1572864 1249153 303733 80% /opt

fuser -u /dev/vg00/lvol6
display the process running in file system /opt
example:
nms1 # fuser -u /dev/vg00/lvol6
/dev/vg00/lvol6: 1260mt(root) 931mt(root) 1052mt(root) 1237mt(root) 1197mt(root) 1266mto(root) 1164mto

kill with
fuser -uk /dev/vg00/lvol6
legionx