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>
60 lines
6.5 KiB
HTML
60 lines
6.5 KiB
HTML
<a name="evs_01_0038"></a><a name="evs_01_0038"></a>
|
|
|
|
<h1 class="topictitle1">Introduction to Data Disk Initialization Scenarios and Partition Styles</h1>
|
|
<div id="body1511439994246"><div class="section" id="evs_01_0038__section3495606093050"><h4 class="sectiontitle">Scenarios</h4><div class="p" id="evs_01_0038__p9280836203858">After a disk is attached to a <span id="evs_01_0038__text1184202435812">server</span>, you need to log in to the <span id="evs_01_0038__text10187182485810">server</span> to initialize the disk, that is, format the disk. You must initialize a disk before accessing it.<ul id="evs_01_0038__ul64936880203918"><li id="evs_01_0038__li2272733592439">System disk<p id="evs_01_0038__p6479032162353"><a name="evs_01_0038__li2272733592439"></a><a name="li2272733592439"></a>A system disk does not require manual initialization because it is automatically created and initialized upon <span id="evs_01_0038__text265152549174046">server</span> creation. The default partition style is master boot record (MBR).</p>
|
|
</li><li id="evs_01_0038__li710858692435">Data disk<ul id="evs_01_0038__ul4509464492449"><li id="evs_01_0038__li1145481992348">If a data disk is created along with <span id="evs_01_0038__text727295939115632">a server</span>, it will be automatically attached to the <span id="evs_01_0038__text626098683212827">server</span>.</li><li id="evs_01_0038__li3483818692348">If a data disk is created separately, you need to manually attach it to <span id="evs_01_0038__text1301337270212932">a server</span>.</li></ul>
|
|
<p id="evs_01_0038__p4337941192547">In both cases, you must initialize the data disk before using it. Choose an appropriate partition style based on your service plan.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="evs_01_0038__section9329185781310"><h4 class="sectiontitle">Constraints</h4><p id="evs_01_0038__p1663433861715">A disk created from a data source does not need to be initialized. Such a disk contains the data of the data source in the beginning. Initializing the disk may clear the initial data on this disk.</p>
|
|
</div>
|
|
<div class="section" id="evs_01_0038__section216694193534"><h4 class="sectiontitle">Disk Partition Styles</h4><div class="notice" id="evs_01_0038__note21633485151134"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="evs_01_0038__p11834286151113">The maximum disk size supported by MBR is 2 TiB, and that supported by GPT is 18 EiB. Because an EVS data disk currently supports up to 32 TiB, use GPT if your disk size is larger than 2 TiB.</p>
|
|
<p id="evs_01_0038__p612681541585">If the partition style is changed after the disk has been used, data on the disk will be cleared. Therefore, select an appropriate partition style when initializing the disk. If you must change the partition style to GPT after a disk has been used, it is recommended that you back up the disk data before the change.</p>
|
|
</div></div>
|
|
<p id="evs_01_0038__p38372208144850"><a href="#evs_01_0038__table2729705994129">Table 1</a> lists the common disk partition styles. In Linux, different partition styles require different partitioning tools.</p>
|
|
|
|
<div class="tablenoborder"><a name="evs_01_0038__table2729705994129"></a><a name="table2729705994129"></a><table cellpadding="4" cellspacing="0" summary="" id="evs_01_0038__table2729705994129" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Disk partition styles</caption><thead align="left"><tr id="evs_01_0038__row2194811894129"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="evs_01_0038__p2826869894129">Disk Partition Style</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.3.4.2.5.1.2"><p id="evs_01_0038__p806324094129">Maximum Disk Capacity Supported</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41%" id="mcps1.3.3.4.2.5.1.3"><p id="evs_01_0038__p4914271494129">Maximum Number of Partitions Supported</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.4"><p id="evs_01_0038__p2113692194129">Linux Partitioning Tool</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_01_0038__row5601456494129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="evs_01_0038__p1205045294213">Master Boot Record (MBR)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.4.2.5.1.2 "><p id="evs_01_0038__p2342140694129">2 TiB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.4.2.5.1.3 "><ul id="evs_01_0038__ul21060408163037"><li id="evs_01_0038__li45070926163039">4 primary partitions</li><li id="evs_01_0038__li63482739163037">3 primary partitions and 1 extended partition</li></ul>
|
|
<div class="p" id="evs_01_0038__p723613328428">With MBR, you can create several primary partitions and one extended partition. The extended partition must be divided into logical partitions before use. For example, if 6 partitions need to be created, you can create them in the following two ways:<ul id="evs_01_0038__ul6972172517474"><li id="evs_01_0038__li49871396163255">3 primary partitions and 1 extended partition, with the extended partition divided into 3 logical partitions</li><li id="evs_01_0038__li1797352519473">1 primary partition and 1 extended partition, with the extended partition divided into 5 logical partitions</li></ul>
|
|
</div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.4 "><ul id="evs_01_0038__ul1160282695454"><li id="evs_01_0038__li65968598144219">fdisk</li><li id="evs_01_0038__li6593898795457">parted</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_01_0038__row3114938294129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="evs_01_0038__p1278766394216">GUID Partition Table (GPT)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.4.2.5.1.2 "><p id="evs_01_0038__p2460587094129">18 EiB</p>
|
|
<p id="evs_01_0038__p1993019393474">1 EiB = 1048576 TiB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.4.2.5.1.3 "><p id="evs_01_0038__p4691841694129">Unlimited</p>
|
|
<p id="evs_01_0038__p12599114794712">Disk partitions created using GPT are not categorized.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.4 "><p id="evs_01_0038__p4229536794129">parted</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_01_0058.html">Initialize an EVS Data Disk</a></div>
|
|
</div>
|
|
</div>
|
|
|