Services

API

Инструкции на Русском

All
  • All
  • AC
  • AOM
  • AOS
  • APIG
  • APISIGN
  • APM
  • AS
  • BMS
  • CBH
  • CBR
  • CCE
  • CCM
  • CES
  • CGS
  • CLOUDCLI
  • CPTS
  • CSS
  • CTS
  • DAS
  • DAYU
  • DBSS
  • DC
  • DCS
  • DDM
  • DDS
  • DLI
  • DNS
  • DRS
  • DWS
  • ECS
  • EIP
  • ELB
  • EM
  • EVS
  • FUNCTIONGRAPH
  • GES
  • HRM
  • HSS
  • IAAS
  • IAM
  • IMS
  • KAFKA
  • KMS
  • LTS
  • MRS
  • NAT
  • OBS
  • RABBITMQ
  • RDS
  • SERVICESTAGE
  • SFS
  • SMN
  • SMS
  • SWR
  • TMS
  • VPC
  • VPCEP
  • VPN
  • WAF
  1. Help Center
  2. Scalable File Service
  3. User Guide
  4. Introduction
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. What Is SFS?
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Overview
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Mount a File System
  5. Mounting an NFS File System to ECSs (Linux)
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Permissions Management
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Permissions Management
  5. Creating a User and Granting SFS Permissions
  1. Help Center
  2. Scalable File Service
  3. Management
  4. File System Management
  5. Viewing a File System
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Network Configuration
  5. Configuring Multi-VPC Access
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Monitoring
  5. SFS Metrics
  1. Help Center
  2. Scalable File Service
  3. Typical Applications
  4. HPC
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Mounting a File System Times Out
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Concepts
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Concepts
  5. What Is SFS?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Specifications
  5. What Is the Maximum Size of a File That Can Be Stored in a File System?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Restrictions
  5. Can the Capacity of a File System Be Expanded?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Networks
  5. Can a File System Be Accessed Across VPCs?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Do I Access a File System from a Server?
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Basic Concepts
  5. SFS Basic Concepts
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Testing SFS Turbo Performance
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Data Migration
  5. Migration Description
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Dedicated SFS Turbo
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Create a File System
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Mount a File System
  5. Mounting an NFS File System to ECSs (Windows)
  1. Help Center
  2. Scalable File Service
  3. Management
  4. File System Management
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Permissions Management
  5. Creating a Custom Policy
  1. Help Center
  2. Scalable File Service
  3. Management
  4. File System Management
  5. Deleting a File System
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Network Configuration
  5. Configuring Multi-Account Access
  1. Help Center
  2. Scalable File Service
  3. Typical Applications
  4. Media Processing
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Mounting a File System Fails
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Specifications
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Concepts
  5. What Is SFS Turbo?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Specifications
  5. What Access Protocols Are Supported by SFS?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Restrictions
  5. Can I Migrate My File System Data to Another Region?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Networks
  5. Does SFS Support Cross-Region Mounting?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Do I Check Whether a File System on a Linux Server Is Available?
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Basic Concepts
  5. Region and AZ
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Mounting a File System to a Linux ECS as a Non-root User
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Data Migration
  5. Using Direct Connect to Migrate Data

Using Direct Connect to Migrate Data

Context

You can migrate data from a local NAS to SFS Turbo using Direct Connect.

In this solution, a Linux ECS is created to connect the local NAS and SFS Turbo, and data is migrated to the cloud using an ECS.

You can also refer to this solution to migrate data from an on-cloud NAS to SFS Turbo. For details, see Migrating Data from On-cloud NAS to SFS.

Limitations and Constraints

  • Only Linux ECSs can be used to migrate data.
  • The UID and GID of your file will no longer be consistent after data migration.
  • The file access modes will no longer be consistent after data migration.
  • Incremental migration is supported, so that only changed data is migrated.

Prerequisites

  • You have enabled and configured Direct Connect. For details, see Direct Connect User Guide.
  • You have created a Linux ECS.
  • You have created an SFS Turbo file system and have obtained the mount point of the file system.
  • You have obtained the mount point of the local NAS.

Procedure

  1. Log in to the ECS console.
  2. Log in to the created Linux ECS to access the local NAS and SFS Turbo file system.
  3. Run the following mount command to access the local NAS:

    mount -t nfs -o vers=3,timeo=600,noresvport,nolock Mount point of the local NAS /mnt/src

  4. Run the following mount command to access the file system:

    mount -t nfs -o vers=3,timeo=600,noresvport,nolock Mount point of the file system /mnt/dst 

  5. Run the following commands on the Linux ECS to install the rclone tool:

    wget https://downloads.rclone.org/v1.53.4/rclone-v1.53.4-linux-amd64.zip --no-check-certificate
    unzip rclone-v1.53.4-linux-amd64.zip
    chmod 0755 ./rclone-*/rclone
    cp ./rclone-*/rclone /usr/bin/
    rm -rf ./rclone-*

  6. Run the following command to synchronize data:

    rclone copy /mnt/src /mnt/dst -P --transfers 32 --checkers 64 --links --create-empty-src-dirs
    Set transfers and checkers based on the system specifications. The parameters are described as follows:
    • --transfers: number of files that can be transferred concurrently
    • --checkers: number of local files that can be scanned concurrently
    • -P: data copy progress
    • --links: replicates the soft links from the source. They are saved as soft links in the destination.

      --copy-links: replicates the content of files to which the soft links point. They are saved as files rather than soft links in the destination.

    • --create-empty-src-dirs: replicates the empty directories from the source to the destination.

    After data synchronization is complete, go to the target file system to check whether data is migrated.

Migrating Data from On-cloud NAS to SFS

To migrate data from an on-cloud NAS to your SFS Turbo file system, ensure that the NAS and file system are in the same VPC, or you can use Cloud Connect to migrate data.

For details about how to configure Cloud Connect, see Direct Connect User Guide.

  1. Help Center
  2. Scalable File Service
  3. Management
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Application Scenarios
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Mount a File System
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Mount a File System
  5. Mounting a CIFS File System to ECSs (Windows)
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Network Configuration
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Network Configuration
  5. Configuring DNS
  1. Help Center
  2. Scalable File Service
  3. Typical Applications
  4. Enterprise Website/App Background
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. File System Performance Is Poor
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Restrictions
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Concepts
  5. What Are the Differences Between SFS, OBS, and EVS?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Specifications
  5. How Many File Systems Can Be Created by Each Account?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Restrictions
  5. Can a File System Be Mounted to Multiple Accounts?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Networks
  5. Does the Security Group of a VPC Affect SFS?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. What Resources Does SFS Occupy?
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Mounting a Subdirectory of an NFS File System to ECSs (Linux)
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Data Migration
  5. Using the Internet to Migrate Data
  1. Help Center
  2. Scalable File Service
  3. Typical Applications
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. File System Types
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Unmount a File System
  1. Help Center
  2. Scalable File Service
  3. Getting Started
  4. Mount a File System
  5. Mounting a File System Automatically
  1. Help Center
  2. Scalable File Service
  3. Management
  4. File System Resizing
  1. Help Center
  2. Scalable File Service
  3. Typical Applications
  4. Log Printing
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Failed to Create an SFS Turbo File System
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Networks
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Specifications
  5. How Many Servers Can a File System Be Mounted To?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Networks
  5. What Can I Do If the Data of the File System That Is Mounted to Two Servers Is Not Synchronized?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Why Is the Capacity Displayed as 10P After I Mount My SFS Capacity-Oriented File System?
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Data Migration
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  4. Data Migration
  5. Migrating Data Between File Systems
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. File System Encryption
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Quotas
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. A File System Is Automatically Disconnected from the Server
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Can a File System Be Accessed Across Multiple AZs?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. SFS and Other Services
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Encryption
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. A Server Fails to Access a File System
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Can I Upgrade an SFS Capacity-Oriented File System to an SFS Turbo File System?
  1. Help Center
  2. Scalable File Service
  3. Other Operations
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Basic Concepts
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Backup
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. The File System Is Abnormal
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Can I Upgrade an SFS Turbo File System from Standard to Standard-Enhanced?
  1. Help Center
  2. Scalable File Service
  3. Change History
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Restrictions and Limitations
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Monitoring
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Data Fails to Be Written into a File System Mounted to ECSs Running Different Types of Operating Systems
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Can I Migrate Data Between SFS and EVS?
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Permissions
  1. Help Center
  2. Scalable File Service
  3. Management
  4. Auditing
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Failed to Mount an NFS File System to a Windows IIS Server
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Can I Directly Access SFS from On-premises Devices?
  1. Help Center
  2. Scalable File Service
  3. Introduction
  4. Supported Operating Systems
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Writing to a File System Fails
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Do I Delete .nfs Files?
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Error Message "wrong fs type, bad option" Is Displayed During File System Mounting
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. Why My File System Used Space Increases After I Migrate from SFS Capacity-Oriented to SFS Turbo?
  1. Help Center
  2. Scalable File Service
  3. Troubleshooting
  4. Failed to Access the Shared Folder in Windows
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Can I Improve the Copy and Delete Efficiency with an SFS Turbo File System?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Do Second- and Third-level Directory Permissions of an SFS Turbo File System Be Inherited?
  1. Help Center
  2. Scalable File Service
  3. FAQs
  4. Others
  5. How Do I Deploy SFS Turbo on CCE?