How to unmount a hard drive in CentOS 7?

To unmount the hard drive, you need to follow these steps:

  1. Viewing the mounted hard drives and partitions:
  2. Can you provide the disk usage information?
  3. Confirm the unmounting of the hard drive or partition.
  4. Uninstall mounting point:
  5. unmount the directory located at /mnt/mount_point
  6. In this case, /mnt/mount_point is the target mount point to be unmounted.
  7. Verify whether the mount point has been successfully unmounted.
  8. Display file system disk space usage
  9. The mounting point is no longer displayed in the list, indicating that the hard drive has been successfully unmounted.

Please note that after unmounting, the data on the hard drive will no longer be visible at that mount point.

bannerAds