doc-exports/docs/mrs/umn/ALM-12187.html
Yang, Tong 5914b67d13 MRS UMN Doc 20240802 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-09-28 19:04:58 +00:00

103 lines
11 KiB
HTML

<a name="ALM-12187"></a><a name="ALM-12187"></a>
<h1 class="topictitle1">ALM-12187 Failed to Expand Disk Partition Capacity</h1>
<div id="body0000001971816504"><div class="section" id="ALM-12187__section14673296256"><h4 class="sectiontitle"><span id="ALM-12187__text8925301575">Alarm Description</span></h4><p id="ALM-12187__p57513149592">The system checks the disk space every 60 seconds. When detecting that the disk space is expanded, the system expands disk partition. This alarm is generated when the disk partition fails to be expanded.</p>
<p id="ALM-12187__p1751121416592">This alarm is cleared when the system detects that the disk partition is successfully expanded.</p>
</div>
<div class="section" id="ALM-12187__section28308296"><h4 class="sectiontitle"><span id="ALM-12187__text38748475555">Alarm Attributes</span></h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12187__table36969235" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12187__row42433012"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-12187__p57710042"><span id="ALM-12187__text17980150175619">Alarm ID</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-12187__p44001849"><span id="ALM-12187__text199471335614">Alarm Severity</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-12187__p7380012"><span id="ALM-12187__text152400388563">Auto Cleared</span></p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-12187__row21396528"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-12187__p181161948202917">12187</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-12187__p3114164812914">Minor</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-12187__p111105489292">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-12187__section53448080"><h4 class="sectiontitle"><span id="ALM-12187__text155061195577">Alarm Parameters</span></h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12187__table33617909" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12187__row23730911"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-12187__p21975462"><span id="ALM-12187__text776142495720">Parameter</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-12187__p35182007"><span id="ALM-12187__text632018391572">Description</span></p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-12187__row96067296346"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12187__p844213501296">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12187__p74418506299">Specifies the cluster or system for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-12187__row28589139"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12187__p043985062911">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12187__p204381450192917">Specifies the service for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-12187__row7926750304"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12187__p164353508296">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12187__p4433105016298">Specifies the role for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-12187__row1735316513614"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12187__p23531750615">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12187__p103531553614">Specifies the host for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-12187__row1224151214616"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12187__p924113122610">MountDirectoryName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12187__p92417122619">Specifies the directory for which the alarm is generated.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-12187__section14442155121012"><h4 class="sectiontitle"><span id="ALM-12187__text2266192715582">Impact on the System</span></h4><p id="ALM-12187__p106651510487">The expanded data disk space cannot be used to store data.</p>
</div>
<div class="section" id="ALM-12187__section18133852349"><h4 class="sectiontitle"><span id="ALM-12187__text12656240135813">Possible Causes</span></h4><ul id="ALM-12187__ul101335315302"><li id="ALM-12187__li9133143153018">The growpart scale-out tool is not installed.</li><li id="ALM-12187__li11331531153011">The system fails to execute the command for expanding disk partition.</li></ul>
</div>
<div class="section" id="ALM-12187__section1481384019290"><h4 class="sectiontitle"><span id="ALM-12187__text19569135285811">Handling Procedure</span></h4><p id="ALM-12187__p240418532150"><strong id="ALM-12187__b944720112254">Check whether growpart is installed.</strong></p>
<ol id="ALM-12187__ol14485161012158"><li id="ALM-12187__li5478151015150"><span>Log in to FusionInsight Manager, click <strong id="ALM-12187__b26822818259">O&amp;M</strong>, and choose <strong id="ALM-12187__b5190625172512">Alarm</strong> &gt; <strong id="ALM-12187__b08101827172511">Alarms</strong> to view the alarm details. In the <strong id="ALM-12187__b8106550112519">Location</strong> column, check the name of the host and mount directory for which the alarm is generated. Click the host name to view its IP address.</span></li><li id="ALM-12187__li14791210101518"><span>Log in to the node for which the alarm is generated as user <strong id="ALM-12187__b2490171214266">root</strong>.</span></li><li id="ALM-12187__li7480191011510"><span>Run the following command to check whether growpart is installed:</span><p><p id="ALM-12187__p1447911051511"><strong id="ALM-12187__b1647901081518">which growpart</strong></p>
<div class="p" id="ALM-12187__p647981018150">If information similar to the following is displayed, the growpart tool is installed. Otherwise, contact <span id="ALM-12187__text10479141021520">O&amp;M personnel</span> to install the growpart tool.<pre class="screen" id="ALM-12187__screen154791710111512">[root@<em id="ALM-12187__i1047981021510">xxx</em> ~]#which growpart
/usr/bin/growpart</pre>
</div>
</p></li></ol><ol start="4" id="ALM-12187__ol84161339101720"><li id="ALM-12187__li9575114715178"><span>Wait for 5 minutes, then choose <strong id="ALM-12187__b4731131192718">O&amp;M</strong>, and choose <strong id="ALM-12187__b16291162422715">Alarm</strong> &gt; <strong id="ALM-12187__b11858112522718">Alarms</strong> on FusionInsight Manager. Check whether the alarm is cleared.</span><p><ul id="ALM-12187__ul16575747141717"><li id="ALM-12187__li45761471178">If yes, no further action is required.</li><li id="ALM-12187__li205761476175">If no, go to <a href="#ALM-12187__li88865011163">5</a>.</li></ul>
</p></li></ol>
<p id="ALM-12187__p866454491610"><strong id="ALM-12187__b484365219278">Run the disk partition expansion command.</strong></p>
<ol start="5" id="ALM-12187__ol39035031615"><li id="ALM-12187__li88865011163"><a name="ALM-12187__li88865011163"></a><a name="li88865011163"></a><span>Run the following command to view the disk and partition information:</span><p><p id="ALM-12187__p1871502165"><strong id="ALM-12187__b1887125015166">lsblk</strong></p>
<p id="ALM-12187__p787105011163">Search for the partition and the disk based on the mount directory name in the alarm location information, and check the disk and partition sizes.</p>
<p id="ALM-12187__p1787105031611">In the following example, the mount directory is <strong id="ALM-12187__b1838711373283">/srv/BigData/data1</strong>, the used disk is <strong id="ALM-12187__b18284462810">/dev/vdb</strong>, and the disk partition is <strong id="ALM-12187__b31791948202816">/dev/vdb1</strong>.</p>
<p id="ALM-12187__p1088185071618"><span><img id="ALM-12187__image1684821811463" src="en-us_image_0000002008258969.png"></span></p>
</p></li><li id="ALM-12187__li158985014169"><span>Run the following command to expand the partition using growpart:</span><p><p id="ALM-12187__p288950111613"><strong id="ALM-12187__b158815031613">growpart</strong> <em id="ALM-12187__i10881550181619">Data disk Partition number</em></p>
<p id="ALM-12187__p88875031615">Run the following command:</p>
<p id="ALM-12187__p1689135011164"><strong id="ALM-12187__b489165071619">growpart /dev/vdb 1</strong></p>
<p id="ALM-12187__p1689250161619">If information similar to the following is displayed, the execution is successful. If the execution fails, contact <span id="ALM-12187__text1244741142811">O&amp;M personnel</span>.</p>
<p id="ALM-12187__p1289105011164"><span><img id="ALM-12187__image1489165013165" src="en-us_image_0000001971659208.png"></span></p>
</p></li><li id="ALM-12187__li1490145061612"><span>Run the following command to expand the file system size of the disk partition:</span><p><p id="ALM-12187__p5891250171619"><strong id="ALM-12187__b11321254388">resize2fs </strong><em id="ALM-12187__i14192192833818">Disk partition</em></p>
<p id="ALM-12187__p289550151615">Run the following command:</p>
<p id="ALM-12187__p589195017168"><strong id="ALM-12187__b189165081615">resize2fs /dev/vdb1</strong></p>
<p id="ALM-12187__p889125011166">If information similar to the following is displayed, the execution is successful:</p>
<p id="ALM-12187__p6901050101614"><span><img id="ALM-12187__image99014507163" src="en-us_image_0000001971818980.png"></span></p>
</p></li><li id="ALM-12187__li09010504164"><span>Wait for 5 minutes, click <strong id="ALM-12187__b1830463113918">O&amp;M</strong>, and choose <strong id="ALM-12187__b159115113399">Alarm</strong> &gt; <strong id="ALM-12187__b194154141390">Alarms</strong> on FusionInsight Manager. Check whether the alarm is cleared.</span><p><ul id="ALM-12187__ul49095010162"><li id="ALM-12187__li1090175001611">If yes, no further action is required.</li><li id="ALM-12187__li890850101611">If no, contact <span id="ALM-12187__text11900457101913">O&amp;M personnel</span>.</li></ul>
</p></li></ol>
</div>
<div class="section" id="ALM-12187__section7293173912175"><h4 class="sectiontitle"><span id="ALM-12187__text367020138593">Alarm Clearance</span></h4><p id="ALM-12187__p4178195414013">This alarm is automatically cleared after the fault is rectified.</p>
</div>
<div class="section" id="ALM-12187__section53362350"><h4 class="sectiontitle"><span id="ALM-12187__text1246242445916">Related Information</span></h4><p id="ALM-12187__p7522741"><span id="ALM-12187__text1881919412591">None.</span></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
</div>
</div>