Unmounting GPFS remote mount on compute nodes

Learn how to unmount GPFS filesystem from compute nodes.

To perform some GPFS administration tasks, you must first unmount the file system.

You can unmount a GPFS file system by using the cloudkit revoke filesystem command.

To unmount a GPFS file system by using the revoke command, enter the following line:
#./cloudkit revoke filesystem
Example:
#./cloudkit revoke filesystem
I: Logging at /root/scale-cloudkit/logs/cloudkit-20-9-2023_0-47-40.log
? Cloud platform name:  GCP
=========================================================================
|                              ! Note !                                 |
========================================================================|
|  Revoke cluster involves unmount of filesystem. Make sure the I/O is  |
|  stopped and data is flushed before proceeding further.               |
=========================================================================
? Select remotemount name:  ibm-strg-inst01-ibm-comp-inst01
? Compute cluster management GUI username:  administrator
? Compute cluster management GUI password:  [? for help] ***********
? Storage cluster management GUI username:  administrator
? Storage cluster management GUI password:  [? for help] ***********
? Connectivity method to cloud:  JumpHost
? Bastion/JumpHost instance login username:  gcpuser
? Bastion/JumpHost SSH private key file path (will be used only for configuration):  /root/scale-cloudkit/data/gcp/ibm-strg-inst01/bastion_ssh_keys/id_rsa
I: To revoke access to "ibm-strg-inst01" filesystem again in the future, you can run: 
	cloudkit revoke filesystem --cloud-platform GCP --resource-name ibm-strg-inst01-ibm-comp-inst01 --network-mode JumpHost --strg-gui-username administrator --cmp-gui-username administrator --jumphost-login-user gcpuser --jumphost-public-ip 1.1.1.1 --jumphost-private-key-path /root/scale-cloudkit/data/gcp/ibm-strg-inst01/bastion_ssh_keys/id_rsa --project-id spectrum-scale-349401 --credential-jsonpath /root/.config/gcloud/legacy_credentials/example@spectrum-scale-11111.iam.gserviceaccount.com/adc.json

I: Obtaining IBM Storage Scale storage cluster definition.
I: Obtaining IBM Storage Scale compute cluster definition.
I: Initiating remote mount revoke configuration.
 100% |██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (2/10, 1 it/min)           
I: IBM Storage Scale cluster configuration completed.
I: Updating firewall rule to revoke traffic from storage cluster 'ibm-strg-inst01'.
I: Updating firewall rule to revoke from compute cluster 'ibm-comp-inst01'.
I: Access to IBM Storage Scale cluster 'ibm-strg-inst01-ibm-comp-inst01' has been revoked.