mount: unknown filesystem type 'ntfs'的解决

mount: unknown filesystem type 'ntfs'的解决

[root@serverp60231305290002 ~]# mkdir /u01   --创建目录
[root@serverp60231305290002 ~]# fdisk -l  查看磁盘分区情况 itlife365.com

Disk /dev/vda: 21.5 GB, 21474836480 bytes
16 heads, 63 sectors/track, 41610 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000acae9

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           3         409      204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2             409        8731     4194304   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/vda3            8731       41611    16571392   83  Linux
Partition 3 does not end on cylinder boundary.

Disk /dev/vdb: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5c4e2a60

   Device Boot      Start         End      Blocks   Id  System itlife365.com
/dev/vdb1               1       10443    83883366   42  SFS
[root@serverp60231305290002 ~]# mount /dev/vdb1 /u01
mount: unknown filesystem type 'ntfs'
You have new mail in /var/spool/mail/root
[root@serverp60231305290002 ~]# df -h
挂载系统的时候报错
[root@serverp60231305290002 ~]# mount /dev/vdb1 /u01
mount: unknown filesystem type 'ntfs'
You have new mail in /var/spool/mail/root
[root@serverp60231305290002 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/vda3              16G  8.7G  6.2G  59% /
tmpfs                 504M     0  504M   0% /dev/shm
/dev/vda1             194M   29M  156M  16% /boot
/dev/vdb1              80G  1.6G   79G   2% /u01
[root@serverp60231305290002 ~]#
这是由于默认情况下CentOS release xxx上无法识别NTFS格式的分区。
解决办法:
    通过安装使用ntfs-3g 来解决。
      打开ntfs-3g的下载点http://www.tuxera.com/community/ntfs-3g-download/ ,将最新稳定(当前最新版本为ntfs-3g_ntfsprogs-2014.2.15.tgz)下载到CentOS后,执行以下命令安装:
或者直接访问:211.136.8.18/files/8046000000077E0D/tuxera.com/opensource/ntfs-3g_ntfsprogs-2014.2.15.tgz
1)编译安装 ntfs-3g:
# ./configure
# make
# make install (或 sudo make install)
2) 查看要挂的设备点
# fdisk -l
。。。。。。
Disk /dev/vdb: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5c4e2a60

   Device Boot      Start         End      Blocks   Id  System
/dev/vdb1               1       10443    83883366   42  SFS
[root@serverp60231305290002 ~]# mount /dev/vdb1 /u01

3)挂载NTFS分区
[root@serverp60231305290002 ntfs-3g_ntfsprogs-2014.2.15]# mount -t ntfs-3g /dev/vdb1 /u01
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.
[root@serverp60231305290002 ntfs-3g_ntfsprogs-2014.2.15]#

4)永久有效的启动
You can also make NTFS to be mounted during boot by adding the following line to the end of the /etc/fstab file:
挂载上的话,编辑/etx/fstat 文件
echo "/dev/vdb1 /u01 ntfs-3g defaults 0 0" >>/etc/fstab
如下:
/dev/vdb1 /u01 ntfs-3g defaults 0 0

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2024年11月    »
123
45678910
11121314151617
18192021222324
252627282930
搜索
标签列表
网站分类
最新留言
    文章归档
    友情链接

    Powered By Z-BlogPHP 1.7.3

    Copyright Your WebSite.Some Rights Reserved.闽ICP备11018667号-2