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

3.8 KiB

Step 3: Unmount a File System

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.

Prerequisites

Before unmounting a file system, stop the process and the read/write operations.

Linux OS

  1. Log in to the management console using a cloud account.

    1. Log in to the management console and select a region and a project.
    2. Under Computing, click Elastic Cloud Server to switch to the ECS console.

  2. Log in to the ECS.
  3. Run the following command:

    umount Local path

    Local path: Local path used to mount the file system on the ECS, for example, /local_path.

    Before running the umount command, stop all read and write operations related to the file system and exit from the local path. Otherwise, the unmounting will fail.

Windows OS

  1. Log in to the management console using a cloud account.

    1. Log in to the management console and select a region and a project.
    2. Under Computing, click Elastic Cloud Server to switch to the ECS console.

  2. Log in to the ECS.
  3. Right-click the file system to be unmounted and choose Disconnect.

    Figure 1 Unmounting

  4. If the mounted file system does not exist in the network location anymore, the file system is successfully unmounted.