Updated on 2025-12-10 GMT+08:00

Unmounting a General-Purpose File System

If a general-purpose file system is no longer used and you want to delete it, you are advised to unmount the file system and then delete it.

Prerequisites

Stop the process and read/write operations before you unmount a general-purpose file system.

Linux OS

  1. Log in to the ECS console.
  2. Unmount the file system.

    umount <local-path>

    Variable Local path is an ECS local directory where the general-purpose file system is mounted, for example, /local_path.

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