挂载云硬盘
<p class="shortdesc">本文介绍挂载云硬盘的注意事项,帮助您解答实例挂载云硬盘的问题。</p>
<section class="section prereq" id="Mount_cloud_drive__prereq_ayd_xj3_rvb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<ol class="ol" id="Mount_cloud_drive__ol_ggv_xj3_rvb">
<li class="li">挂载云硬盘时,云硬盘状态必须为<span class="ph uicontrol">待挂载</span>。</li>
<li class="li">ECS实例状态为<span class="ph uicontrol">运行中</span>,才能进行挂载云硬盘操作。</li>
<li class="li">ECS实例与云硬盘处于同一高可用域。</li>
</ol>
</section>
<section class="section attention" id="Mount_cloud_drive__zkg_vj3_rvb"><div class="tasklabel"><h2 class="doc-tairway">注意事项</h2></div>
<ol class="ol" id="Mount_cloud_drive__ol_g2k_bk3_rvb">
<li class="li">与ECS实例一同创建的云硬盘,不需要执行挂载操作。</li>
<li class="li">与ECS实例一同创建的包月云硬盘,不支持挂载。</li>
<li class="li">单独创建的云硬盘,必须选一个目标实例挂载,不需要执行挂载操作。</li>
</ol>
</section>
<section class="section limitation" id="Mount_cloud_drive__alg_vj3_rvb"><div class="tasklabel"><h2 class="doc-tairway">使用限制</h2></div>
<ol class="ol" id="Mount_cloud_drive__ol_dr1_1k3_rvb">
<li class="li">每个ECS实例可挂载的云硬盘大小为6T。</li>
<li class="li">每个ECS实例可挂载的云硬盘数量为5块。</li>
<li class="li">单块云硬盘最大限额为2000G。</li>
<li class="li">不能单独创建包月的云硬盘。</li>
</ol>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/ecs/overview" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏<span class="ph uicontrol">实例</span>,进入<span class="ph uicontrol">实例管理</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择目标地域,单击目标实例名称,进入<span class="ph uicontrol">实例详情</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="ph uicontrol">云硬盘</span>页签,单击<span class="ph uicontrol">挂载</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">弹出<span class="ph uicontrol">关联实例</span>对话框,勾选目标磁盘实例。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确认</span>。</span>
<div class="itemgroup info">
<div class="note note note_note" id="Mount_cloud_drive__note_tnt_lk3_rvb"><span class="note__title">说明:</span> 挂载云硬盘大概需要1-2分钟,挂载完成后,状态变为<span class="ph uicontrol">使用中</span>。</div>
</div>
</li></ol></section>
<section class="section result" id="Mount_cloud_drive__result_cnp_nk3_rvb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">挂载成功后,在页面下方弹出操作成功提示,在云硬盘页签可以看到刚刚挂载的云硬盘。</p>
</section>
<section class="section postreq" id="Mount_cloud_drive__postreq_svr_4k3_rvb"><div class="tasklabel"><h2 class="doc-tairway">后续操作</h2></div>
<p class="p">挂载完云硬盘后,需要登录云服务器初始化云硬盘,对云硬盘进行格式化,才能正常使用云硬盘。</p>
<ul class="ul" id="Mount_cloud_drive__ul_o2x_4k3_rvb">
<li class="li">Linux操作系统,可参考Linux快速入门中的<a class="xref" href="https://www.ocftcloud.com/ssr/help/compute/ecs/Quick_Start.Linux_Quick_Start.Initialize_Data_Disk" target="_blank" rel="external noopener">初始化数据盘</a>。</li>
<li class="li">Windows操作系统,可参考Windows快速入门中的<a class="xref" href="https://www.ocftcloud.com/ssr/help/compute/ecs/Quick_Start.Windows_Quick_Start.Format_Partition" target="_blank" rel="external noopener">格式化和分区数据盘</a>。</li>
</ul>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!