To copy data from a remote file system, such as a remote Windows file system, remote Linux file system, or network-attached storage (NAS) server, you must mount the remote file system to a Data Transport Micro device. This topic describes how to use a Data Transport device to copy local NAS data.
This topic applies to only scenarios in which you lease a Data Transport Micro device for a single time.
Prerequisites
The device that stores source data is connected to the Ethernet port of a Data Transport Micro device directly over an Ethernet cable or a network switch. The Ethernet cable is connected properly. The port connection indicator functions as expected.
If the device is connected to the Data Transport Micro device over a network switch, make sure that the network switch, the device that stores source data, and the Data Transport Micro device can be interconnected as expected.
Step 1: Mount a remote file system
The Data Transport Micro device supports remote file systems such as NAS servers, remote Windows file systems, and remote Linux file systems.
Remote Windows file system
In a Windows system, share a folder or disk. In this example, the local disk
D:is shared.Right-click the local disk
D:and choose Share with > Advanced Sharing.Click Advanced Sharing (D).
Select Share this folder, select all the permissions, and then click OK to share the Windows folder.
NoteAfter you share a folder in Windows, you must add an inbound rule to Windows Firewall. The inbound rule must allow access from the Data Transport device to port 445. After you add the inbound rule, check the connectivity by using telnet to connect the device to port 445. Alternatively, you can temporarily disable Windows Firewall until the data migration is complete.
In the Data Transport Micro console, mount the data address for a remote Windows file system. If you have not logged on to the Data Transport Micro console, log on to the device console by performing the operations described in Step 2 of the "Install a Data Transport device" topic.
Choose Control Panel > HybridMount.
Click Overview in the left-side navigation pane. On the page that appears, click Create Remote Mount.
Click Create Network Drive Mount.
Enter the IP address of the remote file system.

Enter the IP address, username, and password and select the destination folder.

After the network disk mount device is created, click Close to close the window.
Click Mount Management in the left-side navigation pane. On the page that appears, click the Remote Devices tab to view the remote device that you mount.

Remote Linux file system
Before you share files in a remote Linux file system, create a Network File System (NFS) file system.
Create an NFS file system. A CentOS 7 system is used in this example.
NoteThe following commands can be executed only by a root user who has administrator permissions.
Install the NFS file system.
yum install -y nfs-utilsModify the /etc/exports file.
/data *(rw,no_root_squash) /data1 *(rw,no_root_squash)Start the NFS service.
systemctl start nfs.serviceCheck the status of the NFS service.
systemctl status rpcbind.serviceEnable the NFS service to run at startup.
systemctl enable nfs.service
NoteYou must add a rule to Linux Firewall. The rule must allow access from the Data Transport Micro device to the NFS file system. Alternatively, you can temporarily disable Linux Firewall until the data migration is complete.
In the Data Transport Micro console, mount the remote Linux data address. If you have not logged on to the Data Transport Micro console, log on to the device console by referring to steps described in Step 2 of the "Install a Data Transport device" topic.
Choose Control Panel > HybridMount.

Click Overview in the left-side navigation pane. On the page that appears, click Create Remote Mount.

Click Create Network Drive Mount.
Enter the IP address of the remote file system.

Select NFS from the Protocol drop-down list and Single folder from the Destination folder drop-down list. All folders are selected by default.




Click Mount Management in the left-side navigation pane. On the page that appears, click the Remote Devices tab to view the remote device that you mount.

NAS server
Generally, the NFS service is deployed in the NAS server. Therefore, you do not need to configure the NFS service again. If no NFS service is deployed in the NAS server, you can configure the NFS service by following Step 1 in the "Remote Linux file system" section.
In the Data Transport Micro console, you can mount a remote Linux data address. For more information, see the creation of a mount target in Mount a Data Transport Micro device. If you have not logged on to the Data Transport Micro console, log on to the device console by performing the operations described in Step 2 of the "Install a Data Transport device" topic.
Step 2. Copy data
Click File Station.

After you select the desired directory, select the folder that you want to copy, and then click the Copy icon.

filedata is the folder where the copied data is stored in the Data Transport Micro device. Select the filedata folder and click the Paste icon.

When the data is copied, the icon shown in the red box is displayed. Click the icon shown in the red box to view the task status and progress. After the data is copied, the icon shown in the red box disappears.

The Progress column shows the number of migrated files and the total number of scanned files.
The Size column shows the amount of migrated data and the total amount of scanned data.

After you refresh the filedata folder, the copied files are displayed.

Query the data migration speed
Click the menu (three horizontal lines) icon in the upper-left corner and click Resource Monitor.

On the page that appears, click Storage Resource in the left-side navigation pane. Then, click the Volume/LUN Activity tab and select Throughput from the drop-down list. You can see the data write speed.
