Migrates data to SAN File System.
>>-migratedata-- -log--filename--+-----+------------------------> '- -f-' .-------------------------------------------------------------------. V | >----+---------------------------------------------------------------+-+--> | .-migrate--+-----------------------+--+----------+-. | | | '- -checkpoint--blocks -' '- -resume-' | | '- -phase--+-plan---------------------------------------------+-' '-verify--+--------+-------------------------------' '- -data-' .-------------. V | >-- -destdir--dest_directory_name ----source_path-+------------><
If specified with the –phase verify parameter, this command adjusts any missing metadata attributes, such as permissions and times. If there is a mismatch in size, however, this command does not try to readjust the metadata attributes.
This is the default value.
You can specify more than one phase. For example, to plan, migrate, and verify the data, specify –phase plan –phase migrate –phase verify. Although you can specify the phases in any order, this command always estimates the completion time, migrates data, and then verifies the migrated data.
If the –phase parameter is not specified, this command runs only the migration phase.
If the migration process is interrupted, this parameter allows you to resume the migration at the place it left off.
If unspecified, the migratedata command makes an entry in the log file after each complete file has been migrated. You can resume the migration at the point of the last migrated file.
You must have root privileges on a UNIX-based client or Administrative privileges on Windows® to use this command.
All storage pools, all filesets, and at least one policy must be set up. All activity (from applications, such as database servers and application servers, or users) that modifies data on the source and destination file systems must be stopped and remain stopped to guarantee consistency of the migrated data.
The destination directory must exist with correct set of permissions and appropriate storage policies must be configured.
migratedata -log /mgrtlogs/mgrt_capital.log -phase migrate -checkpoint 20 -destdir /mnt/tank/sanfs/cnt1 work/capital
Parent topic: Common client commands
Parent topic: SAN File System installation commands
Related tasks
Estimating the time to migrate data
Importing data into the SAN File System
Resuming a data migration
Verifying the data integrity of migrated data
Related information
Data migration considerations
What is my data migration schedule?