1825766 Members
2045 Online
109687 Solutions
New Discussion

online JFS question.

 
Jeffrey F. Goldsmith
Super Advisor

online JFS question.

I purchased the online JFS and installed it on my rp3440-4 server that has HP-UX 11.23. Now that online JFS is on my server how do I us it? I tried to do a man on it but got no responce. If I need to increase an lvol how do I do that? Do I use SAM?

Thanks for the help.
9 REPLIES 9
Deoncia Grayson_1
Honored Contributor

Re: online JFS question.

You can use sam if you like to increase a lvol size.


you can use if from the command like so....

lvextend -L ???? /dev/vg??/lvol??

fsadm -F vxfs -b ????? /

i'm curious did you do a mna on fsadm?
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Pupil_1
Trusted Contributor

Re: online JFS question.

check the o/p of the command
/sbin/fs/vxfs/vxenablef

and also check /etc/inittab for
vxen::bootwait:/sbin/fs/vxfs/vxenablef -a
There is always something new to learn everyday !!
IT_2007
Honored Contributor

Re: online JFS question.

you can do this way..

lvextend -L /dev/vgXX/lvolYY
fsadm -F vxfs -b$((1024 * totalsize)) /mountpoint

ex: To extend lvol4 from 100MB to 500MB

lvextend -L 500 /dev/vg01/lvol4
fsadm -F vxfs -b$((1024*500)) /mount

Pupil_1
Trusted Contributor

Re: online JFS question.

if you have onlineJFS, then the need to umount the FS to use the extendfs command can be removed !!

ie, after lvextend, you will not have to use umount and extendfs, but use fsadm -b to increase the size of the FS.
There is always something new to learn everyday !!
rayche
Frequent Advisor

Re: online JFS question.

After installing OnlineJFS, you can extend file system online,this is very important to HA environment, for example, if you want to extend lvxx to 2000M :

lvextend -L 2000 /dev/vgxx/lvxx

fsadm -b 2000m /mountpoint


Thanks.
A. Clay Stephenson
Acclaimed Contributor

Re: online JFS question.

Essentially the whole point about OnlineJFS is that it is invisible to you and the applications until you need it. The one thing that I would do is make sure that the run-time is enabled by executing "vxlicense -p".

There really is no man page for OnlineJFS; it simply adds additional options and abilities to existing commands. For example, man mount_vxfs. You will see some of the mount options (e.g. snapof=, convosync=direct, mincache=direct) are only available with OnlineJFS. Also, fsadm is able to work online to extend filesystems "on the fly". Man fsadm_vxfs for those details.
If it ain't broke, I can fix that.
nanan
Trusted Contributor

Re: online JFS question.

It is easy to increase your file system on line because you are having Onlin JFS.

Just extend lvol
lvextend -L
and extend the file system
fsadm -L M /

refer to man ; fsadm_vxfs

Reagrds
nanan
Muthyala
Frequent Advisor

Re: online JFS question.

Hi

Just follow this steps.

Checked and proved on live systems

#Pvcreate â f /dev/rdsk/c14t6d5

-use the above if you need to add additional disk.

#lvextend â L (Present Space + New Space) /dev/vg00/lvol4

-If OnlineJFS is avaible please carry the next step. (It is available on all HP Servers)

#fsadm â F vxfs â b (Present Space + New Space X 1024) /mount_point

Live Example

#Pvcreate â f /dev/rdsk/c14t6d5

#vgextend /dev/vgoraDEVdb /dev/dsk/c14t6d5

#lvextend -L 184288 /dev/vgoraDEVdb/lvdevdat3

Logical volume "/dev/vgoraDEVdb/lvdevdat3" has been successfully extended.
Volume Group configuration for /dev/vgoraDEVdb has been saved in /etc/lvmconf/vgoraDEVdb.conf

#fsadm -F vxfs -b 188710912 /oradata/DEV/devdata3

vxfs fsadm: /dev/vgoraDEVdb/rlvdevdat3 is currently 157253632 sectors - size will be increased

Srikanth
dinlok
Occasional Contributor

Re: online JFS question.

hi
in online jfs u can increase size of file system without umount it..ok thats a main diffrence.
first find out respective logical volume of filesystem bye ;bdf command
to extend lv you can use sam.
sam-->Disk & FileSystems-->Logical Volumes-->Action-->modify---> Extend Logical volume.

u have to mention full size of lv u want to extend eg:- if u want to ext /dev/vg01/lvol12
to be 500 mb,currently it is 100 mb then,,
u will mention size 500 mb in sam, do not mention 100 + 400=500 this is wrong.

bye