This topic describes how to unmount an SMB file system from an ECS instance running Windows.

Procedure

  1. Log on to the ECS console.
  2. Open the command prompt and run the following command to unmount a file system.
    net use D: /delete
    In the preceding command, replace the drive letter D: with a drive letter specific to your environment. You can run the net use command to retrieve the drive letter of a mount point.
    Note
    • You can run the net use * /delete command to unmount each available file system one by one in Windows.
    • You can run the net use * /delete /y command to unmount all the available file systems without any confirmation in Windows.
  3. You can run the net use command to view the unmount results.
    If an SMB file system is not displayed in the results, it indicates that the file system is unmounted.