Uninstalling IBM Storage Scale Erasure Code Edition

IBM Storage Scale Erasure Code Edition maintains a number of files that contain configuration and file system-related data. Because these files are critical for the proper functioning of IBM Storage Scale Erasure Code Edition and that they must be preserved across releases, they are not automatically removed when you uninstall IBM Storage Scale Erasure Code Edition.

Follow these steps if you do not intend to use IBM Storage Scale Erasure Code Edition on any of the nodes in your cluster and you want to remove all traces of IBM Storage Scale Erasure Code Edition.

Attention: After following these steps and manually removing the configuration and file system-related information, you will permanently lose access to all data of your current IBM Storage Scale Erasure Code Edition cluster.
  1. List all GPFS file systems that are mounted in the cluster by issuing the following command.
    mmlsmount all -L
  2. If there are file systems that are mounted, unmount all GPFS file systems in the cluster by issuing the following command.
    mmumount all -a
  3. Verify whether all GPFS file systems in the cluster are unmounted by issuing the following command.
    mmlsmount all -L
  4. Remove GPFS file systems by issuing the following command for each file system in the cluster.
    mmvdisk filesystem delete
  5. Verify that all GPFS file systems are removed by issuing the following command.
    mmvdisk filesystem list
  6. Remove vdisk sets by issuing the following command for each vdisk set in the cluster.
    mmvdisk vdiskset delete
  7. Undefine vdisk sets by issuing the following command for each vdisk set in the cluster.
    mmvdisk vdiskset undefine
  8. Verify that all vdisk sets are removed and undefined by issuing the following command.
    mmvdisk vdiskset list
  9. Remove recovery groups by issuing the following command for each recovery group in the cluster.
    mmvdisk recoverygroup delete
  10. Verify that all recovery groups are removed by issuing the following command.
    mmvdisk recoverygroup list
  11. Unconfigure all node classes by issuing the following command for each node class in the cluster.
    mmvdisk server unconfigure
  12. Delete all node classes by issuing the following command for each node class in the cluster.
    mmvdisk nodeclass delete
  13. Verify that all node classes are removed by issuing the following command.
    mmvdisk nodeclass list
  14. Shut down GPFS on all nodes in the cluster by issuing the following command.
    mmshutdown -a
  15. Uninstall IBM Storage Scale Erasure Code Edition packages by issuing the following commands on each node.
    1. List IBM Storage Scale Erasure Code Edition packages and check the list has all IBM Storage Scale Erasure Code Edition installed packages by using the following command:
      rpm -qa|grep "^gpfs"
    2. If the list is correct, remove the packages by using the following command:
      rpm -qa|grep "^gpfs"|xargs rpm -e
  16. Remove the /var/mmfs and /usr/lpp/mmfs directories on each node in the cluster.
  17. Remove all files whose names start with mm from the /var/adm/ras directory on each node in the cluster.
  18. Remove the /tmp/mmfs directory and its content on each node, if present.
Note: For information on uninstalling components such as GPFS clients, performance monitoring, management GUI, and Cloud services, see the Steps to permanently uninstall GPFS topic in the IBM Storage Scale: Concepts, Planning, and Installation Guide.