Files
doc-exports/docs/ecs/umn/en-us_topic_0030831623.html
wanghuijuan738 583968ed3a ECS UMN 20251201 version. Added P5e instance specifications.
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com>
Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
2025-12-15 16:20:12 +00:00

61 lines
12 KiB
HTML

<a name="EN-US_TOPIC_0030831623"></a><a name="EN-US_TOPIC_0030831623"></a>
<h1 class="topictitle1">Scenarios and Disk Partitions</h1>
<div id="body1463968482017"><p id="EN-US_TOPIC_0030831623__p1584511566118">If you have added a data disk during ECS creation, you must initialize the data disk after logging in to the ECS.</p>
<div class="section" id="EN-US_TOPIC_0030831623__section1881763317203"><h4 class="sectiontitle">Scenarios</h4><div class="p" id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p9280836203858">After a disk is attached to a <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text175312056182216">server</span>, you need to log in to the <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text49581723162317">server</span> to initialize the disk, that is, format the disk. You must initialize a disk before accessing it.<ul id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul64936880203918"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li2272733592439">System disk<p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p6479032162353"><a name="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li2272733592439"></a><a name="en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li2272733592439"></a>A system disk does not require manual initialization because it is automatically created and initialized upon the <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text19352375162353">server</span> creation. The default partition style is master boot record (MBR).</p>
</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li710858692435">Data disk<ul id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul4509464492449"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li1145481992348">If a data disk is created along with a <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text1217028592523">server</span>, it will be automatically attached to the <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_text17361103611569">server</span>.</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li3483818692348">If a data disk is created separately, you need to manually attach it to a <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text4510822492348">server</span>.</li></ul>
<p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_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="EN-US_TOPIC_0030831623__section1546910345216"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul134441752125218"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li16703542577">A disk created from a data source does not need to be initialized. Such a disk contains the source data in the beginning. Initializing the disk may clear the initial data on it.</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li144495235213">Initializing a disk does not change the <span id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_text19752218195319">server</span>'s IP address or the disk ID.</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li463573445318">Initializing a disk does not delete the snapshots created for the disk, so you can still use snapshots to roll back data to the source disk after the disk is initialized.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0030831623__section1967125132216"><h4 class="sectiontitle">Disk Partition Styles</h4><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p38372208144850"><a href="#EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_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="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_table2729705994129"></a><a name="en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_table2729705994129"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_table2729705994129" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Disk partition styles</caption><thead align="left"><tr id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_row2194811894129"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p2826869894129">Disk Partition Style</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.4.3.2.5.1.2"><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p806324094129">Maximum Disk Capacity Supported</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="41%" id="mcps1.3.4.3.2.5.1.3"><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p4914271494129">Maximum Number of Partitions Supported</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.4"><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p2113692194129">Linux Partitioning Tool</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_row5601456494129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p1205045294213">Master Boot Record (MBR)</p>
</td>
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.4.3.2.5.1.2 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p2342140694129">2 TiB</p>
</td>
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.4.3.2.5.1.3 "><ul id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul21060408163037"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li45070926163039">4 primary partitions</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li63482739163037">3 primary partitions and 1 extended partition</li></ul>
<div class="p" id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_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="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul6972172517474"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li49871396163255">3 primary partitions and 1 extended partition, with the extended partition divided into 3 logical partitions</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_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.4.3.2.5.1.4 "><ul id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_ul1160282695454"><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li65968598144219">fdisk</li><li id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_li6593898795457">parted</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_row3114938294129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p1278766394216">GUID Partition Table (GPT)</p>
</td>
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.4.3.2.5.1.2 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p2460587094129">18 EiB</p>
<p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p1993019393474">1 EiB = 1048576 TiB</p>
</td>
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.4.3.2.5.1.3 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p4691841694129">Unlimited</p>
<p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p12599114794712">Disk partitions created using GPT are not categorized.</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.4 "><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p4229536794129">parted</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="notice" id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_note21633485151134"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_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 greater than 2 TiB.</p>
<p id="EN-US_TOPIC_0030831623__en-us_topic_0000002015294542_en-us_topic_0000001855947921_en-us_topic_0000001808490252_p612681541585">If the partition style is changed after the disk has been used, all data on the disk will be lost, so take care to 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>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0030831989.html">Initializing EVS Data Disks</a></div>
</div>
</div>