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
- Rebuild the MVFS shipped with ClearCase® for the current kernel:
- Open a terminal and take note of the current MVFS version, if it is loaded:
$ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion - Run the following command line (as root):
# /opt/ibm/RationalSDLC/clearcase/etc/install_mvfs.sh srcinstall - Restart ClearCase:
# /opt/ibm/RationalSDLC/clearcase/etc/clearcase restart - Verify if it is now running the MVFS version that you just installed:
$ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
- Open a terminal and take note of the current MVFS version, if it is loaded:
- Rebuild the latest MVFS, for the current kernel:
- Download the latest MVFS zip file from the support page, for example, “linux-mvfs.zip”.
- Take note of the MVFS version that you are downloading.
- Save the file to a directory, for example, "/tmp".
- Open a terminal and take note of the current MVFS version, if it is loaded:
$ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion - Run the following command line (as root):
# /opt/ibm/RationalSDLC/clearcase/etc/install_mvfs.sh -z linux-mvfs.zip install - Restart ClearCase:
# /opt/ibm/RationalSDLC/clearcase/etc/clearcase restart - Check if it is now running the MVFS version that you just installed:
$ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
- Rebuild MVFS for the current kernel, without using the script:
- Follow the instructions in the technote How to get the MVFS for Linux source code.
- Open a terminal and take note of the current MVFS version, if it is loaded:
$ /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion - 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 - 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 - Restart ClearCase:
# /opt/ibm/rational/clearcase/etc/clearcase restart - Verify the MVFS version that you just built and installed is loaded:
# /opt/ibm/RationalSDLC/clearcase/bin/mvfsversion
Document Location
Worldwide
[{"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"}]
Was this topic helpful?
Document Information
Modified date:
31 August 2021
UID
ibm16467171