检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
53.081642", "metadata" : { }, "volume_id" : "5aa119a8-d25b-45a7-8d1b-88e127885635", "size" : 1, "id" : "ffa9bc5e-1172-4021-acaf-cdcd78a9584d
请求示例 在DSS存储池1b6198f2-20a6-5dcc-aa21-58c1af5dc488中创建一个共享加密云硬盘,该云硬盘所在的位置为华北-北京四可用区一,该云硬盘的名称为EVS-Test,云硬盘模式为SCSI,云硬盘类型为高IO,容量为10GiB。
"/dev/vda", "id" : "7fa6b592-ac75-460d-a28a-bb17429d1eb2" } ], "links" : [ { "href" : "https://volume.Region.dc1
mount | grep 挂载目录 命令示例: mount | grep /mnt/sdc 回显类似如下信息,说明自动挂载功能生效: root@ecs-test-0001 ~]# mount | grep /mnt/sdc /dev/vdb1 on /mnt/sdc type ext4
请求示例 查询云硬盘id为e92ba908-82f8-4728-b8cc-82f2f56bd461、40g42920-4243-420f-8bb2-a0bd7660fbd8、b1fd8dcc-dd67-4edf-b89e-87c3485112ec的云硬盘详情,从第1条记录开始查询,
0 520M 0% /sys/fs/cgroup tmpfs tmpfs 104M 0 104M 0% /run/user/0 /dev/vdb1 ext4 43G 51M 40G 1% /mnt/sdc
请求示例 POST https://{endpoint}/v3/{project_id}/cloudvolumes { "volume" : { "count" : 1, "availability_zone" : "az-dc-1", "description
-1", "RESKEY:availability_zones" : "az-dc-1,az-dc-2", "os-vendor-extended:sold_out_availability_zones" : "az-dc-2" }, "name
命令示例: pvcreate /dev/vdb /dev/vdc 回显类似如下信息: [root@ecs-lvmtest ~]# pvcreate /dev/vdb /dev/vdc Physical volume "/dev/vdb" successfully created
-1", "RESKEY:availability_zones" : "az-dc-1,az-dc-2", "os-vendor-extended:sold_out_availability_zones" : "az-dc-2" }, "name
示例: 假设D1型弹性云服务器有2块本地盘,则这2块本地盘的磁盘挂载点分别为sdb、sdc(或vdb、vdc),云硬盘的磁盘挂载点为sdd、sde......(或vdd、vde......) 单击“确定”。
请求示例 { "volume" : { "backup_id" : null, "count" : 1, "availability_zone" : "az1.dc1", "description" : "test_volume_1",
dc1.domainname.com/v2/cd631140887d4b6e9c786b67a6dd4c02/volumes/e6cf4401-15f6-44bd-ae2b-cff4dc9523e6", "rel" : "self" }, { "href
-1", "volume_backend_name" : "SATA", "RESKEY:availability_zones" : "az-dc-1,az-dc-2", "os-vendor-extended:sold_out_availability_zones
"az-dc-1,az-dc-2", "os-vendor-extended:sold_out_availability_zones" : "az-dc-2" }, "description" : null, "name" : "SATA",
root@ecs-test-0001 ~]# mount | grep /mnt/sdc /dev/vdb1 on /mnt/sdc type ext4 (rw,relatime,data=ordered) root@ecs-test-0001 ~]# mount | grep /
如果文件系统为xfs,请执行以下命令(/mnt/sdc为/dev/vdb1的挂载点,您需要根据实际情况修改)。
回显类似如下信息: [root@ecs-raid10 ~]# fdisk -l | grep /dev/vd | grep -v vda Disk /dev/vdb: 10.7 GB, 10737418240 bytes, 20971520 sectors Disk /dev/vdc
MIN RM SIZE RO TYPE MOUNTPOINT vda 253:0 0 40G 0 disk └─vda1 253:1 0 40G 0 part / vdb 253:16 0 60G 0 disk /mnt/sdc
mount | grep /mnt/sdc 回显类似如下信息,说明自动挂载功能生效: root@ecs-test-0001 ~]# mount | grep /mnt/sdc /dev/vdb1 on /mnt/sdc type ext4 (rw,relatime,data=ordered