Steps to permanently uninstall GPFS and/or Protocols
GPFS™ maintains a number of files that contain configuration and file system related data. Since these files are critical for the proper functioning of GPFS and must be preserved across releases, they are not automatically removed when you uninstall GPFS.
Follow these steps if you do not intend to use GPFS on any of the nodes in your
cluster and you want to remove all traces of GPFS:
Attention: After
following these steps and manually removing the configuration and
file system related information, you will permanently lose access
to all of your current GPFS data.
- Unmount all GPFS file systems on all nodes by issuing the mmumount all -a command.
- Issue the mmdelfs command for each file system in the cluster to remove GPFS file systems.
- Issue the mmdelnsd command for each
NSD in the cluster to remove the NSD volume ID written on sector 2.
If the NSD volume ID is not removed and the disk is again used with GPFS at a later time, you will receive an error message when issuing the mmcrnsd command. For more information, see NSD creation fails with a message referring to an existing NSD in IBM Spectrum Scale: Problem Determination Guide.
- Issue the mmshutdown -a command to shutdown GPFS on all nodes.
- Uninstall GPFS from each
node:
- For your Linux nodes, run
the de-installation program to remove GPFS for
the correct version of the packages for your hardware platform and Linux distribution. For example,
on SLES and Red Hat Enterprise Linux nodes:
- rpm -e gpfs.crypto (IBM Spectrum Scale™ Advanced Edition only)
- rpm -e gpfs.adv (IBM Spectrum Scale Advanced Edition only)
- rpm -e gpfs.ext (IBM Spectrum Scale Standard Edition and IBM Spectrum Scale Advanced Edition only)
- rpm -e gpfs.gpl
- rpm -e gpfs.msg.en_US
- rpm -e gpfs.base
- rpm -e gpfs.docs
- rpm -e gpfs.gskit
- dpkg -P gpfs.crypto (IBM Spectrum Scale Advanced Edition only)
- dpkg -P gpfs.adv (IBM Spectrum Scale Advanced Edition only)
- dpkg -P gpfs.ext (IBM Spectrum Scale Standard Edition and IBM Spectrum Scale Advanced Edition only)
- dpkg -P gpfs.gpl
- dpkg -P gpfs.msg.en_US
- dpkg -P gpfs.base
- dpkg -P gpfs.docs
- dpkg -P gpfs.gskit
- For your AIX® nodes:
- installp -u gpfs
- For your Windows nodes,
follow these steps:
- Open Programs and Features in the Control Panel.
- Uninstall IBM General Parallel File System.
- Reboot the system.
- From a Command Prompt, run the following command:
sc.exe delete mmwinserv
- For your Linux nodes, run
the de-installation program to remove GPFS for
the correct version of the packages for your hardware platform and Linux distribution. For example,
on SLES and Red Hat Enterprise Linux nodes:
- Remove the /var/mmfs and /usr/lpp/mmfs directories.
- Remove all files that start with mm from the /var/adm/ras directory.
- Remove /tmp/mmfs directory and its content, if present.