InfoScale™ 9.0 Solutions Guide - Linux
- Section I. Introducing InfoScale
- Section II. Solutions for InfoScale products
- Solutions for InfoScale products
- Solutions for InfoScale products
- Section III. Stack-level migration to IPv6 or dual stack
- Section IV. Improving database performance
- Overview of database accelerators
- Improving database performance with Concurrent I/O
- Improving database performance with atomic write I/O
- Section V. Using point-in-time copies
- Understanding point-in-time copy methods
- Backing up and recovering
- Preserving multiple point-in-time copies
- Online database backups
- Backing up on an off-host cluster file system
- Database recovery using Storage Checkpoints
- Backing up and recovering in a NetBackup environment
- Off-host processing
- Creating and refreshing test environments
- Creating point-in-time copies of files
- Section VI. Maximizing storage utilization
- Optimizing storage tiering with SmartTier
- Optimizing storage with Flexible Storage Sharing
- Optimizing storage tiering with SmartTier
- Section VII. Migrating data
- Understanding data migration
- Offline migration from LVM to VxVM
- Offline conversion of native file system to VxFS
- Online migration of a native file system to the VxFS file system
- Migrating a source file system to the VxFS file system over NFS v4
- VxFS features not available during online migration
- Migrating storage arrays
- Migrating data between platforms
- Overview of the Cross-Platform Data Sharing (CDS) feature
- CDS disk format and disk groups
- Setting up your system to use Cross-platform Data Sharing (CDS)
- Maintaining your system
- Disk tasks
- Disk group tasks
- Displaying information
- File system considerations
- Specifying the migration target
- Using the fscdsadm command
- Maintaining the list of target operating systems
- Migrating a file system on an ongoing basis
- Converting the byte order of a file system
- Migrating from Oracle ASM to VxFS
- Section VIII. InfoScale 4K sector device support solution
- Section IX. REST API support
- Support for configurations and operations using REST APIs
- Support for configurations and operations using REST APIs
Migrating a source file system to the VxFS file system over NFS v4
InfoScale lets you migrate an Ext4 or XFS source file system to the VxFS file system over NFS v4. When you migrate a file system over NFS v4, the NFS server exports the file system to the server's NFS clients. During the migration, only a single NFS client can mount the exported file system. The application on the host is only available on this NFS client node during migration.
The following procedure describes how to migrate an Ext4 file system to VxFS over NFS v4; you can perform similar steps with the appropriate commands for XFS.
Note:
You can neither unmount the target (VxFS) file system nor the source file system after you start the migration. Only the commit or abort operation can unmount the target file system. Do not force unmount the source file system; use the abort operation to stop the migration and then unmount the source file system.
Do not modify the exported file system from the NFS server during the migration.
To migrate an Ext4 file system to the VxFS file system over NFS v4
- Install Storage Foundation on the physical application host.
Refer to the InfoScale Installation Guide.
- Add new storage to the physical application host on which you will configure Volume Manager (VxVM).
- Create a VxVM volume according to the your desired configuration on the newly added storage. The volume size cannot be less than source file system size.
- Mount the source file system if the file system is not mounted already.
# mount -t ext4 /dev/sda /src_mnt
The source file system to be migrated is exported from NFS server, and the source file system is mounted on a single NFS client. The migration runs on this NFS client.
- Verify whether the exported file system is mounted on the NFS client from where the further tasks are to be performed; if not, run the following command to mount it:
# mount -t nfs -o vers=4 NFSHost:/src_mnt /dest_mnt
- Log on to the NFS client system. All further steps should be performed on the NFS client.
- Run the fsmigadm analyze command and ensure that all checks pass:
# fsmigadm analyze /dev/vx/dsk/dg/vol1 /dest_mnt
- If the application is online, then shut down the application.
- Start the migration by running fsmigadm start:
# fsmigadm start /dev/vx/dsk/dg/vol1 /dest_mnt
- While the migration operation proceeds, you can bring the application online.
- You can get the status of the migration using the fsmigadm status command:
# fsmigadm status /dest_mnt
- Check the log file for any errors during migration. If you find any errors, you must copy the indicated files manually from the source file system after performing the commit operation.
- After the migration operation completes, shut down the application.
- Commit the migration:
# fsmigadm commit /dest_mnt
The fsmigadm command unmounts the source file system, unmounts the target file system, then mounts the target file system.
- Start the application on the Storage Foundation stack.