doc-exports/docs/sfs/umn/sfs_01_0026.html
Wei, Hongmin 0d1ba8215b SFS UMN initial version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2022-11-02 12:40:18 +00:00

31 lines
3.8 KiB
HTML

<a name="sfs_01_0026"></a><a name="sfs_01_0026"></a>
<h1 class="topictitle1">Step 3: Unmount a File System</h1>
<div id="body1558949654603"><p id="sfs_01_0026__p77411225133519">If a file system is no longer used and needs to be deleted, you are advised to unmount the file system and then delete it.</p>
<div class="section" id="sfs_01_0026__section02521113114"><h4 class="sectiontitle">Prerequisites</h4><p id="sfs_01_0026__p162641610113">Before unmounting a file system, stop the process and the read/write operations.</p>
</div>
<div class="section" id="sfs_01_0026__section13772105715483"><h4 class="sectiontitle">Linux OS</h4><ol id="sfs_01_0026__ol20314121985016"><li id="sfs_01_0026__li54621311946"><span>Log in to the management console using a cloud account.</span><p><ol type="a" id="sfs_01_0026__ol1253112432049"><li id="sfs_01_0026__li194621111413">Log in to the management console and select a region and a project.</li><li id="sfs_01_0026__li1446216114413">Under <strong id="sfs_01_0026__b1389118386313">Computing</strong>, click <strong id="sfs_01_0026__b88961438103114">Elastic Cloud Server</strong> to switch to the ECS console.</li></ol>
</p></li><li id="sfs_01_0026__li1677145895116"><span>Log in to the ECS.</span></li><li id="sfs_01_0026__li131341334125316"><span>Run the following command:</span><p><p id="sfs_01_0026__p2889143515319"><strong id="sfs_01_0026__b47142755114838">umount</strong> <i><span class="varname" id="sfs_01_0026__varname21631612114838">Local path</span></i></p>
<p id="sfs_01_0026__p342554411568"><i><span class="varname" id="sfs_01_0026__varname20477226135215">Local path</span></i>: Local path used to mount the file system on the ECS, for example, <span class="filepath" id="sfs_01_0026__filepath344032015165618"><b>/local_path</b></span>.</p>
<div class="note" id="sfs_01_0026__note1230163845711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="sfs_01_0026__p0323386576">Before running the <strong id="sfs_01_0026__b574495717532">umount</strong> command, stop all read and write operations related to the file system and exit from the local path. Otherwise, the unmounting will fail.</p>
</div></div>
</p></li></ol>
</div>
<div class="section" id="sfs_01_0026__section183741517145111"><h4 class="sectiontitle">Windows OS</h4><ol id="sfs_01_0026__ol25641832145110"><li id="sfs_01_0026__li155421393913"><span>Log in to the management console using a cloud account.</span><p><ol type="a" id="sfs_01_0026__ol4542597914"><li id="sfs_01_0026__li254279791">Log in to the management console and select a region and a project.</li><li id="sfs_01_0026__li4542189799">Under <strong id="sfs_01_0026__b123051050133113">Computing</strong>, click <strong id="sfs_01_0026__b13305115053113">Elastic Cloud Server</strong> to switch to the ECS console.</li></ol>
</p></li><li id="sfs_01_0026__li3564153219512"><span>Log in to the ECS.</span></li><li id="sfs_01_0026__li78693311522"><span>Right-click the file system to be unmounted and choose <strong id="sfs_01_0026__b14811410562">Disconnect</strong>.</span><p><div class="fignone" id="sfs_01_0026__fig19882142215105"><span class="figcap"><b>Figure 1 </b>Unmounting</span><br><span><img id="sfs_01_0026__image198839226106" src="en-us_image_0172223742.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li><li id="sfs_01_0026__li1346214363135"><span>If the mounted file system does not exist in the network location anymore, the file system is successfully unmounted.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_01_0107.html">Getting Started</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>