forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
28 lines
6.4 KiB
HTML
28 lines
6.4 KiB
HTML
<a name="evs_01_0037"></a><a name="evs_01_0037"></a>
|
|
|
|
<h1 class="topictitle1">Attaching a Shared Disk</h1>
|
|
<div id="body13189358"><div class="section" id="evs_01_0037__section33496173164047"><h4 class="sectiontitle">Scenarios</h4><p id="evs_01_0037__p14600164918485">Independently created EVS disks are data disks. In the disk list, the function of such disks is displayed as <strong id="evs_01_0037__evs_01_0036_b842352706172629">Data disk</strong>, and the status is displayed as <strong id="evs_01_0037__evs_01_0036_b842352706172713">Available</strong>. In this case, you need to attach the data disks to <span id="evs_01_0037__evs_01_0036_text1952351350154544">servers</span> for use.</p>
|
|
<p id="evs_01_0037__p56526659201519">This section describes how to attach a shared disk.</p>
|
|
</div>
|
|
<div class="section" id="evs_01_0037__section124341536184120"><h4 class="sectiontitle">Constraints</h4><ul id="evs_01_0037__ul3314195354412"><li id="evs_01_0037__li6314125304417">A shared disk can be attached to a maximum of 16 <span id="evs_01_0037__text18175184004110">servers</span>. These <span id="evs_01_0037__text6234359121018">server</span>s and the shared disk must be in the same AZ within a region.<div class="notice" id="evs_01_0037__note6425181162014"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="evs_01_0037__p14254114202"><span id="evs_01_0037__ph174380122618">If you simply attach a shared disk to multiple <span id="evs_01_0037__evs_faq_0039_text382154512348">server</span>s, files cannot be shared among them. Because there are no mutually agreed data read/write rules among <span id="evs_01_0037__evs_faq_0039_text61093113231">server</span>s, read and write operations from them may interfere with each other, or unpredictable errors may occur.</span> To share files between <span id="evs_01_0037__text44381821083">servers</span>, set up a shared file system or a clustered management system first.</p>
|
|
</div></div>
|
|
</li><li id="evs_01_0037__li399917404445">If a shared disk is in the <strong id="evs_01_0037__b24748265511">In-use</strong> state, ensure that the maximum number of <span id="evs_01_0037__text1120131723418">server</span>s that the disk can be attached to has not been reached.</li><li id="evs_01_0037__li17802167204516">All the <span id="evs_01_0037__text2091725624317">servers</span> attached with a shared disk must run either Windows or Linux.<p id="evs_01_0037__p1959710189136">For example, if you attach a shared disk to multiple Windows <span id="evs_01_0037__text6638115184110">servers</span> and then detach it from these <span id="evs_01_0037__text107021469311">servers</span>, the shared disk cannot be attached to Linux <span id="evs_01_0037__text7430155574111">servers</span> later. This is because Windows and Linux support different file systems and cannot identify the original file system on the disk. Improper operations may damage the original file system.</p>
|
|
</li></ul>
|
|
<ul id="evs_01_0037__ul1565516417459"><li id="evs_01_0037__li1265524124514">A shared disk can only be used as a data disk. It cannot be used as a system disk.</li><li id="evs_01_0037__li35413524595"><span id="evs_01_0037__ph37501425112">Cloud servers created from ISO images are only used for OS installation. They have limited functions and cannot have EVS disks attached.</span></li></ul>
|
|
</div>
|
|
<div class="section" id="evs_01_0037__section336317164059"><h4 class="sectiontitle">Attaching the Disk on the EVS Console</h4><ol id="evs_01_0037__ol1977955163311"><li id="evs_01_0037__li5884586202528"><span>Log in to the management console.</span></li><li id="evs_01_0037__li2935870315121"><span>Click <span><img id="evs_01_0037__en-us_topic_0021738346_image052111582392" src="en-us_image_0237893718.png"></span> in the upper left corner and select the desired region and project.</span></li><li id="evs_01_0037__li3843952015053"><span>Under <strong id="evs_01_0037__b2040518365150">Storage</strong>, click <strong id="evs_01_0037__b2040533641517">Elastic Volume Service</strong>.</span><p><p id="evs_01_0037__p16002076152423">The disk list page is displayed.</p>
|
|
</p></li><li id="evs_01_0037__li36967479201531"><span>Locate the target disk in the list and click <strong id="evs_01_0037__b148868128">Attach</strong>.</span><p><p id="evs_01_0037__p3173688892841">The <strong id="evs_01_0037__b84235270692817">Attach Disk</strong> dialog box is displayed.</p>
|
|
<div class="p" id="evs_01_0037__p36165504212021">Shared disks support batch attachment so that you can attach a shared disk to multiple <span id="evs_01_0037__text298934965101636">servers</span>. The left area in the <strong id="evs_01_0037__b460378407">Attach Disk</strong> dialog box shows the <span id="evs_01_0037__text1968660444114236">server</span> list. After you select the target <span id="evs_01_0037__text869171055114243">servers</span>, the selected <span id="evs_01_0037__text14382275114250">servers</span> will be displayed in the right area.<div class="fignone" id="evs_01_0037__fig24573759111041"><span class="figcap"><b>Figure 1 </b>Attach Disk</span><br><span><img id="evs_01_0037__image97308310154" src="en-us_image_0152639916.png"></span></div>
|
|
</div>
|
|
</p></li><li id="evs_01_0037__li5120896311315"><span>Select the target <span id="evs_01_0037__text49543241143610">servers</span> and then select a device name from the drop-down list for each server you selected. Ensure that the disk and servers are in the same AZ.</span></li><li id="evs_01_0037__li2439421982"><span>Click <span class="uicontrol" id="evs_01_0037__uicontrol1763812716289"><b>OK</b></span> to return to the disk list page. The status of the disk is <strong id="evs_01_0037__b463819278283">Attaching</strong>, indicating that the disk is being attached to the servers. When the disk status changes to <strong id="evs_01_0037__b76181948122813">In-use</strong>, the disk is successfully attached.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="evs_01_0037__section17645185215013"><h4 class="sectiontitle">Follow-Up Operations</h4><p id="evs_01_0037__evs_01_0036_p2977174934812">If you are attaching a new disk, you must then log in to the server and initialize the disk before it can be used. To learn how to initialize disks, see <a href="evs_01_0038.html">Introduction to Data Disk Initialization Scenarios and Partition Styles</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_01_0107.html">Attach an EVS Disk</a></div>
|
|
</div>
|
|
</div>
|
|
|