Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Scalable File Service/ Getting Started/ Example: Mounting an NFS File System to ECSs

Example: Mounting an NFS File System to ECSs

Updated on 2024-06-27 GMT+08:00
  • You can create a file system and mount it to multiple servers for shared access.
  • Before creating a file system, make that a VPC and ECSs are available, and the ECSs are in this VPC. For an SFS Turbo file system, if the ECSs are not in the same VPC, you can establish communication between SFS Turbo and the ECSs using VPC peering connections.
  • This guide describes how to set up shared file storage for a company using SFS.

Step 1: Log In to the Console

  1. Log in to the Huawei Cloud console. In the service list, choose Storage > Scalable File Service.

    Figure 1 Logging in to the SFS console

  2. Select the region where the ECSs are deployed. A file system can be mounted to an ECS only when they are in the same region and VPC. In this example, select CN-Hong Kong.
NOTE:
  1. This company has purchased ECSs in the CN-Hong Kong region.
  2. All the company's ECSs are in the vpc-3114 VPC.
  3. For the detailed creation procedure, see Create a File System.

Step 2: Create a File System

  1. Click Create File System.

    Figure 2 Creating a file system

  2. On the displayed page, configure file system parameters and click Create Now.
NOTE:
  1. You are advised to select the same AZ as the ECSs.
  2. You can view existing VPCs or create a new VPC.
  3. For the detailed creation procedure, see Create a File System.

Step 3: Mount the File System

  1. Log in to an ECS. You can log in to an ECS using the console or a remote access tool (such as PuTTY).

    Figure 3 Logging in to an ECS

  2. Run rpm -qa|grep nfs to check whether the NFS client is installed on the ECS.

    Figure 4 Checking whether the NFS client is installed

  3. Run mkdir Local path to create a local path. Then run mount -t nfs -o vers=3,timeo=600,noresvport,nolock,tcp Mount point Local path to mount the file system. Run mount -l to check whether the file system is successfully mounted.

    Figure 5 Mounting the file system

NOTE:
  1. You can copy the mount point from the file system details page on the console.
  2. If information similar to "IP address on /local_path type nfs (rw,vers=3,timeo=600,nolock,addr=)" is returned, the file system is mounted successfully.
  3. For details about the creation procedure, see Mounting an NFS File System to ECSs (Linux).

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback