Failed to solve mount under CentOS
0. Install ntf-3g
1. Plug in the hard disk
2. View fdisk-l
Find Hard Disk
3. Mount
Mount-t ntfs-3g/dev/sdb1/mnt/vserver
4. Copy
Copy all files under the vserver to the cgshiso directory.
5. Uninstall umount/mnt/vserver; otherwise, the file will be lost.
[Problem] umount failed
Note that umount cannot be stored in the mounted folder.
[Problem] mount failed
Mount is denied because the NTFS volume is already exclusively opened. the volume may be already mounted, or another software may use it which cocould be identified for example by the help of the 'fuser' command.
When I input sudo mount/dev/sdb1/mnt/sdb to the mobile hard drive of the NTFS file system, the above error occurs, the output of the error statement shows that the NTFS Volume has been rejected because it has been opened and may have been mounted or an application is using it. You can use the fuser command to display that the specified file is being used, file system or socket process information.
For example, # fuser-m-u/dev/sdb1 use-m-u to display the process PID and user name in use of/dev/sdb1, as shown after I enter the preceding command
It indicates that the process whose PID is 31301 is using it. If the command is fuser-m-u/deev/sdb1, it is displayed as/dev/sdb1: 31301 (root) indicates that the root user's 31301 process is using/dev/sdb1. You can use the kill command to kill the process and kill 31301. In this case, the mount command will not cause errors.