Go to main content

Lift and Shift Guide – Migrating Application Data From Older SPARC Systems to Newer SPARC Systems

Exit Print View

Updated: February 2020
 
 

Example 4 – Migrate a Raw Disk Slice

This is an example that migrates data from an individual raw disk slice to an already prepared raw disk slice.

image:A diagram showing the commands to migrate a raw disk slice.
  1. Ensure that shared storage is prepared.

    See Prepare Shared Storage.

  2. On the source system, use the dd command piped to a compression command to copy the data to shared storage.

    The dd bs option is used to specify the block size in bytes. Using a large block size improves performance.

    Note – For the appropriate path to the pigz command, see the Secondary Commands table in Data Migration Commands.

    root@Source# dd if=/dev/rdsk/c2t600144F0E635D8C700005AC56B080015d0s0 bs=104857600 | pigz > /SharedStorage/slice-data.img.gz
  3. On the target system, use a decompression command piped to the dd command to copy the data from shared storage to the target system.

    Note – For the appropriate path to the pigz command, see the Secondary Commands table in Data Migration Commands.

    root@Target# pigz -c /SharedStorage/asm1.img.gz | dd of=/dev/rdsk/c0d6s0 bs=104857600