IBM Support

How to rebuild MVFS for Linux

How To


Summary

MVFS is released using native OS packaging and there is a helper script to facilitate the task of rebuilding it from the source code, after the initial installation.

Objective

Rebuild MVFS using the source code.

Environment

Linux

Steps

  1. Rebuild the MVFS shipped with ClearCase® for the current kernel:
    1. Open a terminal and take note of the current MVFS version, if it is loaded:
      $ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
    2. Run the following command line (as root):
      # /opt/ibm/RationalSDLC/clearcase/etc/install_mvfs.sh srcinstall
    3. Restart ClearCase:
      # /opt/ibm/RationalSDLC/clearcase/etc/clearcase restart
    4. Verify if it is now running the MVFS version that you just installed:
      $ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
  2. Rebuild the latest MVFS, for the current kernel:
    1. Download the latest MVFS zip file from the support page, for example, “linux-mvfs.zip”.
    2. Take note of the MVFS version that you are downloading.
    3. Save the file to a directory, for example, "/tmp".
    4. Open a terminal and take note of the current MVFS version, if it is loaded:
      $ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
    5. Run the following command line (as root):
      # /opt/ibm/RationalSDLC/clearcase/etc/install_mvfs.sh -z linux-mvfs.zip install
    6. Restart ClearCase:
      # /opt/ibm/RationalSDLC/clearcase/etc/clearcase restart
    7. Check if it is now running the MVFS version that you just installed:
      $ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
  3. Rebuild MVFS for the current kernel, without using the script:
    1. Follow the instructions in the technote How to get the MVFS for Linux source code.
    2. Open a terminal and take note of the current MVFS version, if it is loaded:
      $ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
    3. Uninstall the current MVFS. This is important, since you will be installing a new MVFS without using the OS native install mechanism.
      # /opt/ibm/RationalSDLC/clearcase/etc/install_mvfs.sh uninstall
      You can also use a native tool, for example:
      # rpm -e mvfs
    4. The file "/var/adm/rational/clearcase/mvfs/mvfs_src/README.txt" has detailed information to rebuild MVFS. You can also follow these simple steps:
           Open a terminal, as root, and run the following command lines:
           # cd /var/adm/rational/clearcase/mvfs/mvfs_src/
           # make clean
           # make
           # make install
    5. Restart ClearCase:
      # /opt/ibm/rational/clearcase/etc/clearcase restart
    6. Verify the MVFS version that you just built and installed is loaded:
      # /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion

Document Location

Worldwide

Operating System

Cross Brand:Linux

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"ARM Category":[{"code":"a8m50000000L0i5AAC","label":"ClearCase"},{"code":"a8m0z000000boUPAAY","label":"ClearCase->Core->MVFS"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.0.1;9.0.2;9.1.0;and future releases"}]

Document Information

Modified date:
31 August 2021

UID

ibm16467171