Files
doc-exports/docs/bms/umn/en-us_topic_0000001170719651.html
guoyanyan e5f027727c BMS UMN 20220928 v1
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-10-06 11:01:16 +00:00

19 lines
1.9 KiB
HTML

<a name="EN-US_TOPIC_0000001170719651"></a><a name="EN-US_TOPIC_0000001170719651"></a>
<h1 class="topictitle1">How Do I Update the Disk Metadata After the LVM Volume Is Remounted?</h1>
<div id="body0000001170719651"><div class="section" id="EN-US_TOPIC_0000001170719651__section1984753616245"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0000001170719651__p425964082417">If the LVM volume is remounted when a BMS OS is reinstalled, you need to update the disk metadata in a timely manner. Otherwise, the OS will be unavailable after it is restarted.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001170719651__section169847449531"><h4 class="sectiontitle">Procedure</h4><p id="EN-US_TOPIC_0000001170719651__p12289937135919">If a BMS uses LVM partitioning and the LVM volume is remounted when the BMS OS is reinstalled, update the disk metadata in a timely manner after the remount is complete. In this way, the disk metadata will be consistent with the disk mounting information after the OS is restarted. To update disk metadata, run the following commands (<em id="EN-US_TOPIC_0000001170719651__i999765121118">sysvg</em> is the volume group (VG) name of the LVM volume):</p>
<p id="EN-US_TOPIC_0000001170719651__p15370101019420"><strong id="EN-US_TOPIC_0000001170719651__b160416171153">lvm vgcfgrestore </strong><em id="EN-US_TOPIC_0000001170719651__i42992181053">sysvg</em></p>
<p id="EN-US_TOPIC_0000001170719651__p61304271498"><strong id="EN-US_TOPIC_0000001170719651__b332682941019">lvm pvscan</strong></p>
<p id="EN-US_TOPIC_0000001170719651__p571163412914"><strong id="EN-US_TOPIC_0000001170719651__b233872919102">lvm vgscan</strong></p>
<p id="EN-US_TOPIC_0000001170719651__p14973141417101"><strong id="EN-US_TOPIC_0000001170719651__b935111293100">lvm vgchange -ay</strong></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0053536893.html">OS FAQ</a></div>
</div>
</div>