Failed to solve mount under CentOS

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.