Operating System - HP-UX
1833107 Members
3253 Online
110051 Solutions
New Discussion

How to increase size of /usr in HP UX

 
Sunny Anthony
Occasional Advisor

How to increase size of /usr in HP UX

I want to increase the size of /usr filesystem.
Its current size is 10 GB.
I want to increase it to 15 GB.

Please help me.


regards...
Sunny
6 REPLIES 6
RAC_1
Honored Contributor

Re: How to increase size of /usr in HP UX

Unless you have OnlineJFS, you will have to go into single user mode and then
lvextend, fsadm and check it.
There is no substitute to HARDWORK
Cem Tugrul
Esteemed Contributor

Re: How to increase size of /usr in HP UX

Hi Sunny,
Please have a look the link as below;
Good Luck,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=890112
Our greatest duty in this life is to help others. And please, if you can't
Cem Tugrul
Esteemed Contributor

Re: How to increase size of /usr in HP UX

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=885957
Our greatest duty in this life is to help others. And please, if you can't
Muthukumar_5
Honored Contributor

Re: How to increase size of /usr in HP UX

what is the file system that /usr configured?

If online JFS then, use lvextend to make it.

# lvextend -L 5120 /dev/vg06/lvol7

Else,

# fuser -fu /usr == kill all users who are using /usr

# umount /dev/vg06/lvol7
# lvextend -L 5120 /dev/vg06/lvol7
# extendfs /dev/vg06/lvol7
# mount /dev/vg06/lvol7 /usr

-Muthu
Easy to suggest when don't know about the problem!
Adisuria Wangsadinata_1
Honored Contributor

Re: How to increase size of /usr in HP UX

Hi Sunny,

Check the url below (docID : UNX1030070) about 'How to extend OnLineJFS or Base JFS file system' :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080063572

The document show the detail steps for OnlineJFS and Based JFS.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Cem Tugrul
Esteemed Contributor

Re: How to increase size of /usr in HP UX

As Muthukumar's description
# extendfs /dev/vg06/lvol7
must be;
# extendfs /dev/vg06/rlvol7
Good Luck,

PS:Muthukumar please go to
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979703

10 is still waiting for you
:-))

Our greatest duty in this life is to help others. And please, if you can't