HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Using OnlineJFS on HP-UX

 
SOLVED
Go to solution
JM asks
Advisor

Using OnlineJFS on HP-UX

I have several servers needing filesystem extended, they are different levels of OS: 11.11, 11.23, 11.31.

It may be obvious, but still getting to know HP-UX. Does the following means:

- that the system has a licensed and active onlineJFS running?

- that the filesystems themselves are using onlineJFS and I can try to increase the filesystems online?

Whether the systems are using or not using onlineJFS, is the difference that the system will do nothing and return some error code.

I noticed on 4.1 it added File Change Log.

thanks in advance

on one system ....


vxlicrep/vxlicense -p returns:

License Key = ####################
Product Name = VERITAS File System
Serial Number = 1
License Type = PERMANENT
OEM ID = ####

Features :=
HP_OnlineJFS = Enabled

CPU Count = Not Restricted
Platform = HP-UX
Version = 4.1
File Change Log = Enabled
Maximum number of file systems = Not Restricted

on the system ....

License Key = #####################
Product Name = VERITAS File System
Serial Number = 1
License Type = PERMANENT
OEM ID = ####

Features :=
HP_OnlineJFS = Enabled

CPU Count = Not Restricted
Platform = HP-UX
Version = 3.5

and on the 11.11 ...

# vxlicense -p

vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50]
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 22
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Site ID: 0
3 REPLIES
Deeos
Regular Advisor
Solution

Re: Using OnlineJFS on HP-UX

Hi John,

You can extend your filesystem using online JFS

you can check availablity of online JFS by

#swlist -l bundle|grep -i online

#swlist -l product|grep -i jfs



You can use "fsadm" cammand to extend online your filesystems without unmounting the filesystems!


Deepak
Matti_Kurkela
Honored Contributor

Re: Using OnlineJFS on HP-UX

> system has a licensed and active onlineJFS running?

Yes. All the vxlicrep/vxlicense -p outputs you posted indicate that some version of OnlineJFS is installed.

> the filesystems themselves are using onlineJFS and I can try to increase the filesystems online?

All VxFS filesystems are compatible with OnlineJFS by design. Installing the OnlineJFS depot/license just enables the online extension tools and some other things.

> Whether the systems are using or not using onlineJFS, is the difference that the system will do nothing and return some error code.

Yes. I think it even outputs an error message that says something like "you don't have a license to use this feature" if you don't have the OnlineJFS installed.

MK
MK
JM asks
Advisor

Re: Using OnlineJFS on HP-UX

Thanks for the confirmation, things went well and when they didn't, I learned a little with no major issues.

just some follow up and to keep relevant info in the post and to help others.

This was on a 11.11 system, note it was not mirrored:
# lvextend -L 3584 /dev/vg00/lvol4
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# fsadm -F vxfs -b 3584M /home
vxfs fsadm: /dev/vg00/rlvol4 is currently 3072000 sectors - size will be increased


This was on a 11.31 system, it WAS mirrored, so learned a little. I ran the fsadm command first since I thought someone didnt' use all the extends (on this mirrored system).

# bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 8192000 7985584 204896 97% /opt

# lvdisplay -v /dev/vg00/lvol7
--- Logical volumes ---
LV Name /dev/vg00/lvol7
...
Mirror copies 1
...
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 1000
...
Allocation strict

so i ran the command ...

# fsadm -F vxfs -b 9712M /opt
UX:vxfs fsadm: ERROR: V-3-25811: cannot expand /dev/vg00/rlvol7 more than size of the underlying device - 8192000 sectors

someone thought since it was mirrored, all extents were actually used.

so did the math and doubled the space needed and it worked . . .

# lvextend -L 20000 /dev/vg00/lvol7
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 8192000 7985592 204888 97% /opt

obviously needed to do the fsadm command to compete the task.

# fsadm -F vxfs -b 10000M /opt
UX:vxfs fsadm: INFO: V-3-25942: /dev/vg00/rlvol7 size increased from 8192000 sectors to 10240000 sectors
# bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 10240000 7985656 2236824 78% /opt