Operating System - HP-UX
1752812 Members
5817 Online
108789 Solutions
New Discussion юеВ

Re: NNM DISK SPACE REQUIERMENTS

 
Ahmed_41
Super Advisor

NNM DISK SPACE REQUIERMENTS

Dear all,

how can i increase the disk space for one or some of the partions i got on my disk.
i faced the following error mesgs while installing NNM on HP-UX


##################################################################################
NOTE: The used disk space on filesystem "/" is estimated to increase
by 6176 Kbytes.
This will leave 54392 Kbytes of available user disk space
after the installation.
ERROR: The used disk space on filesystem "/opt" is estimated to
increase by 225944 Kbytes.
This operation will exceed the absolute limit on this volume
by 150424 Kbytes. You should free up at least 150424 Kbytes
to avoid installing beyond the minimum free threshold of
available user disk space.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 816 Kbytes.
This will leave 3834912 Kbytes of available user disk space
after the installation.

#######################################################################################


so how to do the resize operation, what commands shall i use, what steps shall i go on, and any precautions, will the resize operation remove any of my installed software ??


thanks in advance
2 REPLIES 2
Michael Tully
Honored Contributor

Re: NNM DISK SPACE REQUIERMENTS

The /opt filesystem needs to be increased. If you have the on-line JFS component installed, then no problem. If not you will have to place the system into single-user mode from a system boot and do it that way. The command below will tell you if you have the product installed.

# swlist -l fileset | grep -i online
# OnlineJFS B.11.11 Online features of the VxFS File System
OnlineJFS.VXFS-ADV-RUN B.11.11 VXFS-ADV-RUN

To increase /opt to 2Gb, use this example.
# fsadm -F vxfs -b 2097152 /opt

If you need to reboot, interrupt the boot at the 10second opportunity and use:

# mount /usr
# lvextend -L /dev/vg00/lvol? (whatever maps to /opt)
# extendfs -F vxfs /dev/vg00/rlvol?

Once this has be done, place the system into multi-user mode and the installation should be able to continue.

Have a look at the man pages for further info on the commands used.
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: NNM DISK SPACE REQUIERMENTS

Hi Ahmed,

If you have online jfs (swlist -l product |grep -i onlinejfs ) installed, then you can do it online. Note the logical volume and the size of it.

#bdf /opt

For ex., say it as /dev/vg00/lvol5 with 2000MB. Increase it to 2500 MB.

#lvextend -L 2500 /dev/vg00/lvol5
#fsadm -b 2500m /opt

If you don't have onlineJFs, then you will need to bring up the system into single usermode. Bring down all the apps and databases and reboot the box.

#shutdown -r y now

When the system boots, it will give you 10 secs for interrupting the boot. Interrupt and interact with ISL.

bootadmin> bo pri
Interact with ISL> Y

(above sequence may be different depending on the type of hardware you have)

Once you are in single user mode, mount usr and tmp

#mount /usr
#mount /tmp
#lvextend -L 2500 /dev/vg00/lvol5
#extendfs -F vxfs /dev/vg00/rlvol5
#mount /opt
#bdf /opt

(make sure it shows the new size.Boot to multi mode now)

#init 3

-Sri



You may be disappointed if you fail, but you are doomed if you don't try