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:
- 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.
- Stop all user activity in the file systems.
- Follow any local administrative backup procedures to provide for protection of your file system data in the event of a failure.
- Cleanly unmount all affected GPFS file systems. Do not use force unmount.
- 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:
ormmexportfs fileSystemName -o ExportDataFile
mmexportfs all -o ExportDataFile
- 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.
- 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:
ormmimportfs fileSystemName -i ExportDataFile
mmimportfs all -i ExportDataFile