1752569 Members
5018 Online
108788 Solutions
New Discussion юеВ

Re: extend /opt

 
SOLVED
Go to solution
Jes Yu
Advisor

extend /opt

If I need to extend fs /opt, should I put the system in service mode?
I extened its LV, but I cannot umount /opt when the system is up to run extendfs command. Anyone has how to steps? Thank!

Jessica
11 REPLIES 11
Lijeesh N G_1
Respected Contributor

Re: extend /opt

Hi,

Boot in Single user mode and extend the file system.

If you have Online JFS installed ,without unmounting you can extend it.

Regards,
LIJEESH N G
Jes Yu
Advisor

Re: extend /opt

LIJEESH,
Thank you for your quick reply. I also need to extend /usr. Where can I download Online JFS? It would be an usefull tool.

Jessica
Tingli
Esteemed Contributor

Re: extend /opt

You need to buy it.
Jes Yu
Advisor

Re: extend /opt

OK. Thanks for everyone!

Jessica
Lijeesh N G_1
Respected Contributor

Re: extend /opt

Hi,

Its not a free product and we can get the information about it from software.hp.com site.

Check it whether it installed,
# swlist -l product|grep -i online
OnlineJFS B.11.23.0609 Online features of the VxFS File System
OnlineJFS01 4.1.008 Online features of the VxFS File System

Regards,
LIJEESH N G
Mark S Meadows
Valued Contributor

Re: extend /opt

Hi Jes,

Do you have online JFS installed :

# swlist | grep -i jfs
B3929EA B.11.31 HP OnLineJFS (Server)

If you have then you can run the following command :

/sbin/fsadm -F vxfs -b XXXXM /opt

where XXXX equates to the total new size of /opt.

If you do not have Online JFS then you will need to boot the server into single user mode and then :

mount /usr

extendfs -F vxfs /dev/vg00/rlvol4

bdf /opt

Regards,

Mark

Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Jes Yu
Advisor

Re: extend /opt

No, not installed.
If I need to extend /usr, would I do the same to put the system in single mode?
Jessica
Lijeesh N G_1
Respected Contributor
Solution

Re: extend /opt

If I need to extend /usr, would I do the same to put the system in single mode?

Yes.
Jes Yu
Advisor

Re: extend /opt

Thank you! I will try.