System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding increase /opt filesystem....

SOLVED
Go to solution
Kannandgl_1
Frequent Advisor

Regarding increase /opt filesystem....

Dear friends,...

Gud day for all..
I have on rx1620 running hp-unix 11.23.now the server /opt file system was reached arround 80 %.I was plan to increase the /opt file system.. i am trying to bellow steps.
1.shutdown -y o in sigle user mode .
2.I am trying to via SAM increase but i can't increase i getting the error.
3.After that i was trying to unmount the file system using the #umount /opt .
4.Please any one give advice to me.. how to increase to /opt file system in singlr user mode via SAM.
Thanks and regards
Kanna
6 REPLIES
Javed Khan_1
Valued Contributor

Re: Regarding increase /opt filesystem....

i believe you do not have online JFS installed on your system.

you can extend /opt using below process

umount /opt
lvextend -L newsize in MB /dev/vg00/lvol*
extendfs -F vxfs /dev/vg00/rlvol*



Javed
Never Give Up
Kannandgl_1
Frequent Advisor

Re: Regarding increase /opt filesystem....

Dear Javed Khan ,

I am trying to these steps.. already .

At the time i getting error drive error ...
online JFS installed in my system.

via online how to resolve these problem ..
Please advise for this issue...


Reagrds
kanna
sujit kumar singh
Honored Contributor
Solution

Re: Regarding increase /opt filesystem....

Hi Kanna
are you sure that the OnlineJFS is installed
just do
#swlist -l product -l bundle | grep -i online
you can see OnlinrJFS product

#vxlicense -p
see if the Product is Licesed.
if both of them meet.
#vgdisplay -v vg00 | grep -i -e "free pe" -e "pe size"

multiply the PE size with Free PE to know the availabble size in the VG in MB.

#lvdisplay -v
see if that is mirrored.
if that is 1 way mirrored and you wish to increase that by X MB then you shall need 2X MB of space in the VG to get that.

if all these meet , then you can do this online as
#lvextend -L
#fsadm -b m /opt

if you do not use the "m" sufffix in earlier fsadm then you can specify the size with -b in Kilobytes
as
#lvextend -b /opt
regards
sujit
Kannandgl_1
Frequent Advisor

Re: Regarding increase /opt filesystem....

Dear sujit kumar,

# swlist -l product -l bundle | grep -i online
# OnlineDiag B.11.23.11.05 HPUX 11.23 Support Tools Bundle, March 2008 OnlineDiag.Contrib-Tools B.11.23.11.05 HPUX Contributed Tools
OnlineDiag.EMS-Core A.04.20.23 EMS Core Product
OnlineDiag.EMS-Config A.04.20.23 EMS Config
# vxlicense -p
vrts:vxlicense: INFO: No valid license installed
Here no valied licence for that one..

Reagrds
Kanna
sujit kumar singh
Honored Contributor

Re: Regarding increase /opt filesystem....

HI kanna
the system does not have the ONlineJFS in there.


Make a notice of the Size description check in my earlier post if you have enough free space in the VG so that the lvextend shall succeed and also mind the consideration if mirroring is there.


you will need to do that using
#lvextend -L

reboot the system in single user mode as you might be facing probs unmounting /opt


when in single user mode
Unmount /opt
#mount
to see what FS are mounted, if not all are mounted then,

#for i in /dev/vg00/lvol*
>do
>fsck $i
>done
#mount -a
#umount /opt
#umount /opt
#extendfs -F vxfs
then reboot and come in the normal mode.
#mount /opt
#bdf
to check

but make a notice of the Size description check in my earlier post.

regards
sujit
sujit kumar singh
Honored Contributor

Re: Regarding increase /opt filesystem....

HI kanna

There had been Certain mistakes in earlier post,

please find them corrected in here.

the system does not have the ONlineJFS in there.


Make a notice of the Size description check in my earlier post if you have enough free space in the VG so that the lvextend shall succeed and also mind the consideration if mirroring is there.


you will need to do that using

#lvextend -L

reboot the system in single user mode as you might be facing probs unmounting /opt


when in single user mode

#mount
to see what FS are mounted, if not all are mounted then,

(The basic Idea is that if you do not have /usr mounted then many of the coammnda shall not work.So fsck amd mount all the entries as mentioned in the /etc/fstab)



#for i in /dev/vg00/lvol*
>do
>fsck $i
>done

#mount -a
#umount /opt

#extendfs -F vxfs

Mount the /opt Filesys and check

#bdf

then reboot and come in the normal mode.


but make a notice of the Size description check in my earlier post.

regards
sujit