HP-UX 11i v2 mismatch JFS versions

From Wiki-UX.info
Jump to: navigation, search


This article present information on how to detect and correct mismatched Veritas JFS (VxFS) license and kernel module version on HP-UX 11i v2 (11.23) Operating Environment.

VxFS 4.1 is installed but vxlicrep command shows VxFS 3.5[edit]

In some situations HP-UX 11i v2 may have already installed the JFS 4.1 version, but the kernel may still have linked the JFS 3.5. For example:

# swlist -l fileset | grep -i JFS | grep -v PH
# JFS                                   B.11.23        The Base VxFS File System
  JFS.JFS-ENG-A-MAN                     B.11.23        JFS Manual Pages for HP-UX
  JFS.JFS-JPN-E-MAN                     B.11.23        JFS Manual Pages for HP-UX
  JFS.JFS-JPN-S-MAN                     B.11.23        JFS Manual Pages for HP-UX
  JFS.VXFS-BASE-KRN                     B.11.23        The Base VxFS File System Kernel files
  JFS.VXFS-BASE-RUN                     B.11.23        Utilities for JFS management
  JFS.VXFS-PRG                          B.11.23        Subproduct contains the necessary header files for prog env
# OnlineJFS01                           4.1.008        Online features of the VxFS File System
  OnlineJFS01.VXFS41-AD-RN              4.1.004        Utilities for JFS management

# vxlicrep   

VERITAS License Manager vxlicrep utility version 3.02.006 
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved. 

Creating a report on all VERITAS products installed on this system 


   License Key                         = 3JZH-CNP6-DP3N-RP40-4HSP-ZNPP-P 
   Product Name                        = VERITAS File System 
   Serial Number                       = 1 
   License Type                        = PERMANENT 
   OEM ID                              = 4095 

 Features := 
   HP_OnlineJFS                        = Enabled 

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

This situation is often caused by incorrect vxfs AND|OR vxportal kernel modules linked on the kernel. For example:

# kcmodule vxfs41 vxportal41 vxfs vxportal
Module      State   Cause
vxfs        static  explicit
vxfs41      unused
vxportal    static  explicit
vxportal41  unused

Switch the kernel modules to use the VxFS 4.1 versions.

# kcmodule vxfs41=static vxportal41=static vxfs=unused vxportal=unused

Reboot the system

# cd /
# shutdown -ry 0