1833519 Members
2618 Online
110061 Solutions
New Discussion

vxupgrade

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

vxupgrade

hello, as I can update the system of files mounted in / inetpub to JFS. version 4 notices: jfs already installs the patches
legionx
12 REPLIES 12
Sanjay_6
Honored Contributor

Re: vxupgrade

Hi Jairo,

Can you be more clear. What are you trying to convey. Are you having a problem. If so, post the error.

Thanks
Jairo Campana
Trusted Contributor

Re: vxupgrade

my problem is like doing vxupgrade
legionx
harry d brown jr
Honored Contributor

Re: vxupgrade

What version of hpux are you running? 10.20, 11.00, or 11i??

Also, are saying you want to upgrade JFS? If so, do it with the latest patches, or is that what you are asking, where and what patches you need?
Live Free or Die
Jairo Campana
Trusted Contributor

Re: vxupgrade

the version of hpux is 11,0 and I want to do upgrade of / inetpub to version the 4 installed patches are: B3929CA B.03.03 JFS 3.3 Filesystem For 11.00

B3929CA-fndation B.11.00 Foundation Patch Bundle for JFS 3

I was reading in man that the commando is vxupgrade ?n 4 /inetpub

my question is :
if it is made during boot or if I can do it in line of commands , and if I must modify several files of configurations.

Thanks
legionx
harry d brown jr
Honored Contributor

Re: vxupgrade

from the man pages of vxupgrade, you have to follow these rules:

To upgrade a disk layout Version 2 file system with n * 1024 inodes (allocated only) and m * 32768 blocks to disk layout Version 3, the worst-case minimum value is at least n * 2432 bytes + m * 8220 bytes + 115 kilobytes, in extents of 8 kilobytes or larger. Free extents of larger than 8 kilobytes may be required, so this is only a lower bound on the worst-case minimum required. Since this is the worst-case minimum, it may be possible to upgrade with less free space available. After an upgrade to a new disk layout is completed, all of this free space, plus some additional free space, will be reclaimed.

You cannot upgrade a Version 2 disk layout to Version 4 directly. You must first upgrade from Version 2 to a Version 3 disk layout, and then upgrade to Version 4. The upgrade may fail due to a lack of space at each step.

Then you should be ready to execute it. You don't need to reboot to upgrade the filesystem "/inetpub"
Live Free or Die
Deshpande Prashant
Honored Contributor

Re: vxupgrade

Hi Jairo
I'm also planing for upgrading the JFS version in coming week ends on my systems.
This is what so far I have found.
As per hp instead of B3929CA-fndation patch set install XSWGR1100 bundle from Sep2001 Support CD, as foundation patch set has two bad/recalled patches(PHCO_17556 and PHKL_19800).

Once JFS is enabled you can use #/sbin/fs/vxfs3.3/vxupgrade
to upgrade the file sysetm layout while filesystems are mounted. You will have to run this command manually for each file systems. Also this upgrade is not recomended for root file systems.
-------------------------------------------
Here are coments about vxupgrade from docs.hp.com site.
-------------------------
You cannot upgrade the root (/) or /usr file systems to Version 4 on an 11.00 system running JFS 3.3. Additionally, we do not advise upgrading the /var or /opt file systems to Version 4 on an 11.00 system. These core file systems are crucial for system recovery. The HP-UX 11.00 kernel and emergency recovery media were built with an older version of JFS that does not recognize the Version 4 disk layout. If these file systems were upgraded to Version 4, your system might have errors booting with the 11.00 kernel as delivered, or booting with the emergency recovery media.
-------------------------

Thanks.
Prashant.
Take it as it comes.
Jairo Campana
Trusted Contributor

Re: vxupgrade

the /inetpub is version 3

# vxupgrade -n 4 /inetpub
vxupgrade: new_version must be 3
usage: vxupgrade [-n new_version] [-r rawdev] mount_point

# vxupgrade /inetpub
/inetpub: vxfs file system version 3 layout
#bdf /inetpub
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol10 524288 1229 490375 0% /inetpub

legionx
Deshpande Prashant
Honored Contributor
Solution

Re: vxupgrade

Hi
Did you enable onlineJFS features after installation.
Use #/sbin/fs/vxfs3.3/vxenablef -a to enable OnlineJfs features.

Check OnLineJFS features were enabled using following command

# /sbin/fs/vxfs3.3/vxenablef

vxenablef displays the licensed features enabled in the kernel. If
OnLineJFS features are enabled, it will print the following:

System is licensed for features
Full_VxFS HP_DMAPI

Thanks.
Prashant.
Take it as it comes.
harry d brown jr
Honored Contributor

Re: vxupgrade


Try not putting a space between the "-n" and the "4", but also read the following:
From the man pages of vxupgrade:

Once a file system has been upgraded to Version 3, it is no longer mountable on HP-UX 10.01 and 10.10.

Once a file system has been upgraded to Version 4, it is no longer mountable on:

+ HP-UX 10.x

+ HP-UX 11.0 without JFS 3.3 from Application CD

Version 4 file systems are mountable on:

+ HP-UX 11.0 with JFS 3.3 from Application CD
+ HP-UX 11.1x

You cannot upgrade the root (/) or /usr file systems to Version 4 on an 11.0 system running JFS 3.3 from the Application CD. Additionally,we do not advise upgrading the /var or /opt file systems to Version 4on an 11.0 system. These core file systems are crucial for system recovery. The HP-UX 11.0 kernel and emergency recovery media were built with an older version of JFS that does not recognize the Version 4 disk layout. If these file systems were upgraded to Version 4, your system would fail to boot with the 11.0 kernel as delivered or the emergency recovery media. You can, however, upgrade these core file systems to Version 4 on an HP-UX 11.1x system.

Disk layout versions cannot be downgraded, for example, you cannot change a file system from disk layout version 4 to disk layout version 3.

A file system cannot be upgraded from a Version 3 disk layout to a Version 4 disk layout if its intent log size is less than 256 kilobytes.
Live Free or Die
Jairo Campana
Trusted Contributor

Re: vxupgrade

# ./vxenablef -a the response is ok
## ./vxenablef
Failed to check the license, errno 19
Usage:
vxenablef [-e online|dmapi|full] | [-a]
#
I do not have the licenses and to me it reports east error
legionx
Deshpande Prashant
Honored Contributor

Re: vxupgrade

Hi
You need to get license to enable Online JFS features from HP.
These are numbers to contact.
-------------------------
Hewlett-Packard World Wide Licensing Services
U.S.A.
Phone: 650-960-5111
fax: 650-960-5670
e-mail: hplicense@mayfield.hp.com
Hours: Monday through Friday, 8am-5pm PST
----------------------------------
After you get license from HP use following command to apply it.

# /sbin/vxlicense -c
Please enter your key: (Enter 29-digit license key)

After the installation, OnlineJFS features will be immediately usable; no
reboot is needed.


Thanks.
Prashant.
Take it as it comes.
Jairo Campana
Trusted Contributor

Re: vxupgrade

thanks for everything
legionx