doc-exports/docs/evs/umn/evs_01_0038.html
Zaoxu, Li 305c41bb57 EVS 2.0.38 SP1 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2022-10-19 22:27:18 +00:00

60 lines
6.4 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 disk 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 a proper disk 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><p id="evs_01_0038__p38372208144850"><a href="#evs_01_0038__table2729705994129">Table 1</a> lists the common disk partition styles. In Linux, different disk 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.3.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.3.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.3.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.3.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.3.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.3.2.5.1.2 "><p id="evs_01_0038__p2342140694129">2 TB</p>
</td>
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.3.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, one may create several primary partitions and an extended partition. An extended partition must be divided into several logical partitions before use. For example, if 6 partitions need to be created, you can create the partitions 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.3.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.3.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.3.2.5.1.2 "><p id="evs_01_0038__p2460587094129">18 EB</p>
<p id="evs_01_0038__p1993019393474">1 EB = 1048576 TB</p>
</td>
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.3.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.3.2.5.1.4 "><p id="evs_01_0038__p4229536794129">parted</p>
</td>
</tr>
</tbody>
</table>
</div>
<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 capacity supported by MBR is 2 TB, and that supported by GPT is 18 EB. Because a data disk currently supports up to 32 TB, use the GPT partition style if your disk capacity is larger than 2 TB.</p>
<p id="evs_01_0038__p612681541585">If you change the disk partition style after the disk has been used, the data on the disk will be cleared. Therefore, select a proper disk partition style when initializing the disk.</p>
</div></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>