Copy local NAS data

更新时间:
复制 MD 格式

If your data is stored on a remote file system, such as a remote Windows file system, a remote Linux file system, or a NAS server, you must first mount the remote file system to the micro Data Transport device. This topic describes how to use a micro Data Transport device to copy data from a local NAS server.

Important

This document applies only to single-use rental scenarios for micro Data Transport.

Prerequisites

Connect the device that contains the source data to a network port on the micro Data Transport device using a direct network cable or a switch. Confirm that the network cable is correctly connected and the port LED indicator is Normal.

Note

If you use a switch, make sure the switch, the device with the source data, and the micro Data Transport device can communicate with each other.

Step 1: Mount the remote file system

The micro Data Transport device supports mounting remote file systems from NAS servers, remote Windows systems, and remote Linux systems.

Remote Windows file system

  1. On the Windows system, share a folder or drive letter. In this example, the local disk D: is used.

    1. Right-click the local disk D: and select Share > Advanced Sharing.

    2. Click Advanced Sharing (&D).

    3. Select Share this folder, set the permissions (select all three), and click OK. The folder is now shared.

      Note

      After you share the folder on Windows, ensure that the firewall allows the Data Transport device to access port 445. You can add an inbound rule to the firewall that allows the Data Transport device to access port 445 on the Windows system. Alternatively, you can temporarily disable the firewall and re-enable it after the data migration is complete. After you add the rule, run the `telnet 445` command to confirm the connection.

  2. Mount the remote Windows file share from the micro Data Transport console. If you are not logged on, see the hardware installation guide for instructions on how to log on to the hardware management console.

    1. Select Console > HybridMount.image

    2. Select Overview > Create Remote Mount.image

    3. Select Create Network Disk Mount.image

    4. Enter the IP address of the remote file system.

      image

    5. Enter the IP address, username, and password, and then select the target folder:

      image

      image

    6. After the mount is created, close the window.image

  3. Select Mount Management>Remote Devices to view the newly mounted remote device.

    image

Remote Linux file system

To share files from a remote Linux system, you must first set up a Network File System (NFS) on the Linux system.

  1. Set up an NFS share. The following steps use a CentOS 7 system as an example.

    Note

    The following commands must be run by a user with administrative permissions (the root user).

    1. You can install the NFS file system.

      yum install -y nfs-utils 
    2. Modify the /etc/exports file.

      /data     *(rw,no_root_squash)
      /data1    *(rw,no_root_squash)
    3. Start the NFS service.

      systemctl start nfs.service
    4. Check the NFS status.

      systemctl status rpcbind.service
    5. Enable the service to start on boot.

      systemctl enable nfs.service
    Note

    You must add the required firewall rules (or temporarily disable the firewall and re-enable it after the data transmission is complete).

  1. Mount the remote Linux NFS share from the micro Data Transport console. If you are not logged on, see the hardware installation guide for instructions on how to log on to the hardware management console.

    1. Go to Console > HybridMount.image

    2. Select Overview > Create Remote Mount.image

    3. Select Create Network Disk Mount.image

    4. Enter the IP address of the remote file system.

      image

    5. Select NFS from the Protocol drop-down list and set Target Folder to Single Folder (the default is All Folders).

      image

      image

      image

      image

  1. Select Mount Management>Remote Device to view the recently mounted remote device.

    image

NAS server

Most NAS servers include the NFS service by default. You do not need to configure it. If your NAS server does not provide the NFS service, follow the steps in the Remote Linux file system section to configure it.

From the micro Data Transport console, mount the remote NAS share. The process is similar to mounting a remote Linux file system. For more information, see Create a mount target. If you are not logged on, see the hardware installation guide for instructions on how to log on to the hardware management console.

Step 2: Copy the data

  1. Select File Station.

总管.jpg

  1. Navigate to the directory that contains the folder that you want to copy. Select the folder and then click the Copy icon.

    image

  2. The `filedata` directory is the destination data storage folder on the micro Data Transport device. Select the `filedata` directory and then click the Paste icon.

    image

  3. During the copy process, a task icon is displayed. You can click this icon to view the task status, progress, and other details. The icon disappears after the copy task is complete.

    image

Progress: Number of migrated files/Total number of scanned files.

Size: Volume of migrated data/Total volume of scanned data.

image

  1. Refresh the `filedata` directory to view the copied files.

    image

Query the migration speed

  1. Click the three-horizontal-line icon in the upper-left corner and select Resource Monitor.

查看迁移速度.jpg

  1. To view the write speed, select Storage Resource > Disk/LUN Activity > Throughput.

资源监控.jpg