LoginSignup
28
29

More than 5 years have passed since last update.

CentOS6でNTFSマウントする

Posted at

外付けHDDをCentOSで使う際に、NTFSだったときのマウント方法

# fdisk -l
ディスク /dev/sdx: ...
...

デバイス       ..........    システム
/dev/sdx1    ..........   HPFS/NTFS

標準ではNTFSサポートしてないのねー。

# mount -t ntfs /dev/sdx1 /mnt/usb
mount: 未知のファイルシステムタイプ 'ntfs'

NTFSサポートはepelリポジトリ内のパッケージにあるので、epelリポジトリを有効にする。

# rpm -ivh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

ntfs-3gをインストール。

# yum -y install ntfs-3g

あとは普通にマウント

# mount -f ntfs /dev/sdx1 /mnt/usb
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.

↑正規の手順でアンマウントしてなかったからでしょうか、特に問題なく中身が見えたのでOKです。

28
29
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
28
29