Configuring the Storage
Currently, SFS, OBS, and EVS are supported for the server. The following table describes the differences of storage solutions. For details about how to configure local disks, see Physical Machine Environment Configuration.
Dimension |
SFS |
OBS |
EVS |
---|---|---|---|
Concept |
SFS provides on-demand high-performance file storage, which can be shared by multiple cloud servers. SFS is similar to a remote directory for Windows or Linux OSs. |
OBS provides massive, secure, reliable, and cost-effective data storage for users to store data of any type and size. |
EVS provides scalable block storage that features high reliability, high performance, and a variety of specifications for cloud servers to meet service requirements in different scenarios. An EVS disk is similar to a hard disk on a PC. |
Data storage logic |
SFS stores files and organizes them in a directory hierarchy. |
OBS stores data as objects with metadata and unique identifiers. You can upload files directly to OBS. The system can generate metadata for files, or you can customize the metadata for files. |
EVS stores binary data and cannot store files directly. To store files on an EVS disk, you need to format the file system first. |
Access method |
SFS file systems can be accessed only after being mounted to ECSs or BMSs through NFS or CIFS. You need to specify a network address or map it to a local directory for access. |
Accessible through the Internet or Direct Connect (DC). You need to specify the bucket address for access and use transmission protocols such as HTTP and HTTPS. |
EVS disks can be used and accessed from applications only after being attached to ECSs or BMSs and formatted. |
Scenario |
High-performance computing (HPC), media processing, file sharing, content management, and web services
NOTE:
HPC: High bandwidth is required for shared file storage, such as gene sequencing and image rendering. |
Big data analysis, static website hosting, online video on demand (VoD), gene sequencing, and intelligent video surveillance |
HPC, enterprise core cluster applications, enterprise application systems, and development and testing
NOTE:
HPC: High-speed and high-IOPS storage is required, such as industrial design and energy exploration. |
Capacity |
PB |
EB |
TB |
Latency |
3–10 ms |
10 ms |
Sub-millisecond |
IOPS/TPS |
10,000 for a single file system |
Tens of millions |
128,000 for a single disk |
Bandwidth |
GB/s |
TB/s |
MB/s |
Data sharing |
Yes |
Yes |
Yes |
Remote access |
Yes |
Yes |
No |
Online editing |
Yes |
No |
Yes |
Used independently |
Yes |
Yes |
No (EVS must work with BMS to store files.) |
Using SFS for Storage
Use SFS Turbo file system. SFS Turbo provides high-performance file storage on demand. It features high reliability and availability. It can be elastically expanded and performs better as its capacity grows. The service is suitable for a wide range of scenarios.
- Create a file system on the SFS console. For details, see Creating an SFS Turbo File System. File systems and ECSs in different AZs of the same region can communicate with each other. Therefore, ensure that SFS Turbo and the server are in the same region.
- Mount the file system to the server. For details, see Mounting an NFS File System to ECSs (Linux).
- Set automatic mounting upon restart on the server to prevent mounting loss. For details, see Mounting a File System Automatically.
Using OBS for Storage
Use the combination of parallel file systems and obsutil. The parallel file system provided by OBS is an optimized high-performance file semantic system with millisecond-level access latency, TB/s-level bandwidth, and million-level IOPS. You can use obsutil, a command line tool for accessing OBS, to perform configurations in OBS, for example, creating a bucket, uploading, downloading, and deleting files/folders. If you are familiar with command line interface (CLI), obsutil can provide you with better experience in batch processing and automated tasks.
- Create a parallel file system on the OBS console. For details, see Creating a Parallel File System.
- Download the corresponding obsutil to the BMS based on your OS and install it. For details, see Downloading and Installing obsutil.
- Configure the OBS endpoint and AK/SK for obsutil to interconnect with OBS. You can use obsutil to perform operations on OBS buckets and objects only after obtaining the OBS authentication. For details, see Performing the Initial Configuration.
- Use obsutil to upload and download OBS files in the BMS. For details about obsutil, see obsutil Introduction.
Using EVS for Storage
- Purchase a disk on the EVS console, choose the AZ where the BMS is deployed, set Attach to Server to Later, choose a billing mode, and configure the disk size based on your needs. For details, see Purchasing an EVS Disk.
Figure 1 Buying a disk
Currently, an EVS disk cannot be mounted to the cloud server when it is being created. In this case, the system displays a message indicating that the Yearly/Monthly ECS has not been synchronized to the operation system. Please try again later. To address such problem, log in to the Huawei Cloud console, and choose Billing from the top menu bar. In the navigation pane on the left, choose Orders > Renewals. On the displayed page, check whether the ECS has been synchronized to the OS. If yes, set Attach to Server to Later.
- Go to the BMS details page of the server, click Mount Disk, and select the purchased EVS disk.
Figure 2 Mounting a disk
The mounted EVS disk will not be automatically deleted when you unsubscribe from a BMS. You can mount the disk to other BMSs or delete it as needed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot