linux 掛載NTFS文件系統

在很多情況下是需要NTFS磁盤格式的,單個文件支持2T,fat32拷貝大文件就會報錯。

1、加源

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

 

2、安裝

yum install ntfs-3g

安裝ntfs-3g後,使用grub2-mkconfig -o /boot/grub2/grub.cfg就可以把windows添加到啓動系統列表。

 

3、掛載

mount -t ntfs  磁盤  掛載目錄

比如  mount -t ntfs-3g /dev/sdb1 /mnt

 

如果發現無法取消掛載嘗試如下操作

查看被佔用進程  fuser -m /mnt/cdrom/
/mnt/cdrom/: 1338c 5830c //佔用進程pid

殺掉進程  fuser -m -k /mnt/cdrom/

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章