How To Change GPFS File-Systems Name in AIX

  • GPFS File system name change it’s like Aix normal AIX File-system LVM command, but before change the file-system name we have to follow the mentioned steps.

Step 1: Ask application team to stop the services and which is currently using that particular filesystem.

Step 2: After getting confirmation from application team, needs to verify all the nodes is that particular file-systems currently holding any application process or not.

NODE1+NODE2:# fuser -duV /dev/testgpfs 

For Linux

NODE1+NODE2:# lsof -a +L1 /dev/testgpfs_lv

Step 3: If that GPFS mount point not used for any of the application process we will go for the file-system name change activity.

Step 4: Before change the file-system name we have to unmount GPFS mount point from all GPFS cluster nodes.

NODE1:# mmumount /testgpfs -a

Step 5: Once mount point successfully unmounted, we will change the GPFS file-system name.

Syntax : 

mmchfs /dev/old_mountpoint_lv -T /new_mountpoint_Name
NODE1:# mmchfs /dev/testgpfs -T /testgpfsnew

mmchfs: Propagating the cluster configuration data to all
 affected nodes. This is an asynchronous process.

Step 6: After changing the file-system name we have to mount into all the nodes.

NODE1:# mmmount /testgpfsnew -a

Step 7: Verify if that mount point successfully mounted with new name or not.

NODE1+NODE2:# df -gt /testgpfsnew

Filesystem GB blocks Used Free %Used Mounted on
/dev/testgpfs 272.00 138.60 133.40 51% /testgpfsnew

 

Related posts

Leave a Comment