centos挂载移动硬盘ntfs-3g

yum install ntfs-3g

sudo mount -t ntfs-3g /dev/sdc1 /mnt/mobiledisk

https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz

出现错误:

Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command

You should try to unmount the drive first :

sudo umount /dev/sdc1

挂载可以直接使用:

sudo mount /dev/sdc1 /mnt/mobiledisk

卸载:

umount 卸载

umount -av (全部卸载,再重新挂载)

查看已经挂载的分区

mount

开机自动挂载:vi /etc/fstab,添加一行:

/dev/sdc1               /mnt/mobiledisk         ntfs-3g defaults    0 0

centos7:

https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz

./configure

make

make install

原文地址:https://www.cnblogs.com/timssd/p/4378181.html