当前位置:网站首页>How to mount cloud disks in ECS

How to mount cloud disks in ECS

2022-06-26 14:34:00 CAccept

Because lightweight servers cannot be directly expanded , So we use cloud disk mounting to expand the storage space , The following is a demonstration of Tencent ECs !!!

1、 Create cloud disk service in the same zone

 Insert picture description here

2、 more -> mount ( Which instance to mount to )-> Start mounting ----------------------------- The status will change to mounted
 Insert picture description here
3、 Go to the terminal to “ Real mount ”
following /dev/vdb The sentence of should be consistent with your own , Do not copy blindly as shown in the figure below
 Insert picture description here
The operation is as follows :

fdisk -l// Look at the disk information 
# 1. Formatting device 
mkfs.ext4 /dev/vdb  # take vdc Device format is mkfs.ext4 File system 
# 2. mount 
mkdir /data1
mount /dev/vdb /data1
# 3. See the mounting status 
df -h

The mount result is as follows :
 Insert picture description here
To this end !!!!!!!!!!!!!!!!!

原网站

版权声明
本文为[CAccept]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261344296717.html