Updated on 2023-06-16 GMT+08:00

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 read/write operations.

Linux OS

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

    umount Local path

    Local path: An ECS local directory where the file system is mounted, 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. Or, the unmounting will fail.