Exporting file system definitions between clusters

You can export a GPFS™ file system definition from one GPFS cluster to another.

To export file system definitions between clusters, follow these steps:
  1. Ensure that all disks in all GPFS file systems to be migrated are in working order by issuing the mmlsdisk command. Verify that the disk status is ready and availability is up. If not, correct any problems and reissue the mmlsdisk command before continuing.
  2. Stop all user activity in the file systems.
  3. Follow any local administrative backup procedures to provide for protection of your file system data in the event of a failure.
  4. Cleanly unmount all affected GPFS file systems. Do not use force unmount.
  5. Export the GPFS file system definitions by issuing the mmexportfs command. This command creates the configuration output file ExportDataFile with all relevant file system and disk information. Retain this file as it is required when issuing the mmimportfs command to import your file systems into the new cluster. Depending on whether you are exporting a single file system or all of the file systems in the cluster, issue:
    mmexportfs fileSystemName -o ExportDataFile
    or
    mmexportfs all -o ExportDataFile
  6. Ensure that the file system disks from the old GPFS cluster are properly connected, and are online and available to be accessed from appropriate nodes of the new GPFS cluster.
  7. To complete the movement of your file systems to the new cluster using the configuration file created in Step 5, issue one of these commands, depending on whether you are importing a single file system or all of the file systems in the cluster:
    mmimportfs fileSystemName -i ExportDataFile
    or
    mmimportfs all -i ExportDataFile