Removing all GPFS file systems and configuration
In a test environment, it is often useful to remove all GPFS configuration to the point where it is identical to a fresh install. This is also required if you want to uninstall GFFS.
The broad procedure is as follows:
-
Unmount all the file systems with umount.
It is easiest to do this using the dsh command. If you have multiple file systems, you must umount all of them.
-
Delete all file systems with mmdelfs.
Again, you must run the mmdelfs command once for each file system but it, like all the remaining commands in this process, need only be run on the GPFS primary node.
-
Delete all NSDs with mmdelnsd.
You will most certainly have multiple NSDs. Each one must be deleted using the mmdelnsd command.
-
Shutdown GPFS on all nodes with mmshutdown -a.
If you have multiple nodesets, you must run the mmshutdown -a command for each nodeset as follows:
# mmshutdown -C <nodeset> -a
-
Remove all nodes from nodeset with mmdelnode -a.
The removal should be done for each nodeset in the GPFS cluster using the mmdelnode command as follows:
# mmdelnode -C <nodeset> -a
-
And finally, remove the GPFS cluster definition with mmdelcluster -a.
Comentarios
Publicar un comentario