====== CentOS 掛載 NTFS 硬碟 ====== * 因為現在攜帶式硬碟容量都超過 1TB, 因此需要在 Windows 底下使用的攜帶硬碟都會 format 為 NTFS 格式, 對此要將接上 Linux 複製檔案就需要特別處理. ===== 安裝方式 ===== * 安裝 fuse ntfs-3g yum install epel-release fuse ntfs-3g ===== 使用方式 ===== * 確認 NTFS 的 Device fdisk -l | grep NTFS : /dev/sde1 * 1 121601 976760000 7 HPFS/NTFS : * 掛上路徑 Exp. /media/usb mount -t ntfs /dev/sde1 /media/usb df -h Filesystem Size Used Avail Use% Mounted on : /dev/sde1 932G 921G 12G 99% /media/usb * **ntfs-3g-2014.2.15-6 異常問題** * 目前在 EPEL 內的 ntfs-3g 這版本是有問題, 參考 \\ https://bugzilla.redhat.com/show_bug.cgi?id=1043236 * 這版本無法正常使用 -t ntfs 掛載, 若直接使用 ntfs-3g /dev/sde1 /media/usb 雖可掛上, 但無法存取檔案目錄內容 * 因此可透過 epel-testing 的 repo 安裝 workaround 版本來解決, 方式如下: yum --enablerepo=epel-testing clean all; yum --enablerepo=epel-testing update ntfs-3g ===== 參考網址 ===== * https://www.centos.org/forums/viewtopic.php?f=14&t=49675 {{tag>ntfs linux}}