ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#1

帖子 semimi » 2016-11-05 16:29

目前的情况是簇为4k的分区可以自动挂载。
簇为8k到64k的ntfs分区无法挂载,

将一个分区以4k格式化可以自动挂载,以8k到64k簇大小格式化无法挂载,无论自动与手动。
sudo ntfsfix /dev/…… 命令无法解决。

我想询问是不是可以更改挂载参数解决,目前网上没有查到解决方法,望指教。
谢谢。 :Haha
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#2

帖子 semimi » 2016-11-05 16:30

顶一下。 :em01
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#3

帖子 semimi » 2016-11-05 16:34

Error mounting /dev/sda6 at /media/wu/G: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda6" "/media/wu/G"' exited with non-zero exit status 13: ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
ntfs_mst_post_read_fixup_warn: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: 无效的参数
Failed to read $MFT, unexpected length (32 != 64).
Failed to mount '/dev/sda6': 输入/输出错误
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#4

帖子 poloshiao » 2016-11-05 17:41

簇为4k的分区可以自动挂载。
簇为8k到64k的ntfs分区无法挂载,
0. http://manpages.ubuntu.com/manpages/xen ... unt.8.html
mount - mount a filesystem
試試參數
usefree
Use the "free clusters" value stored on FSINFO. It'll be used
to determine number of free clusters without scanning disk. But
it's not used by default, because recent Windows don't update it
correctly in some case. If you are sure the "free clusters" on
FSINFO is correct, by this option you can avoid scanning disk.

1. https://help.ubuntu.com/lts/serverguide ... ystem.html
Network File System (NFS)

2. http://nfs.sourceforge.net/
Linux NFS Overview, FAQ and HOWTO Documents

3. https://help.ubuntu.com/community/SettingUpNFSHowTo
SettingUpNFSHowTo

4. https://help.ubuntu.com/community/NFSv4Howto
NFSv4Howto
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#5

帖子 semimi » 2016-11-06 8:05

很遗憾,使用usefree也无法解决。下面是链接页面中ntfs格式分区的选项,没有与簇大小有关的选项。


Mount options for ntfs

iocharset=name
Character set to use when returning file names. Unlike VFAT,
NTFS suppresses names that contain nonconvertible characters.
Deprecated.

nls=name
New name for the option earlier called iocharset.

utf8 Use UTF-8 for converting file names.

uni_xlate={0|1|2}
For 0 (or `no' or `false'), do not use escape sequences for
unknown Unicode characters. For 1 (or `yes' or `true') or 2,
use vfat-style 4-byte escape sequences starting with ":". Here
2 give a little-endian encoding and 1 a byteswapped bigendian
encoding.

posix=[0|1]
If enabled (posix=1), the filesystem distinguishes between upper
and lower case. The 8.3 alias names are presented as hard links
instead of being suppressed. This option is obsolete.

uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is
given in octal. By default, the files are owned by root and not
readable by somebody else.
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#6

帖子 semimi » 2016-11-06 8:33

我也找了一下ntfs-3g的挂载选项,我英文不太好,好像也没有相关设置参数。


Options


Most of the generic mount options described in mount(8) are supported (ro, rw, suid, nosuid, dev, nodev, exec, noexec). Below is a summary of the options that ntfs-3g additionally accepts.
uid=value and gid=value
Set the owner and the group of files and directories. The values are numerical. The defaults are the uid and gid of the current process.
umask=value
Set the bitmask of the file and directory permissions that are not present. The value is given in octal. The default value is 0 which means full access to everybody.
fmask=value
Set the bitmask of the file permissions that are not present. The value is given in octal. The default value is 0 which means full access to everybody.
dmask=value
Set the bitmask of the directory permissions that are not present. The value is given in octal. The default value is 0 which means full access to everybody.
usermapping=file-name
Use file file-name as the user mapping file instead of the default .NTFS-3G/UserMapping. If file-name defines a full path, the file must be located on a partition previously mounted. If it defines a relative path, it is interpreted relative to the root of NTFS partition being mounted.
When a user mapping file is defined, the options uid=, gid=, umask=, fmask=, dmask= and silent are ignored.
See ownership and permissions for valid combinations of security related options.
permissions
Set standard permissions on created files and use standard access control. This option is set by default when a user mapping file is present.
acl
Enable setting Posix ACLs on created files and use them for access control. This option is only available on specific builds. It is set by default when a user mapping file is present and the permissions mount option is not set.
inherit
When creating a new file, set its initial protections according to inheritance rules defined in parent directory. These rules deviate from Posix specifications, but yield a better Windows compatibility. The permissions option or a valid user mapping file is required for this option to be effective.
ro
Mount filesystem read-only. Useful if Windows is hibernated.
ignore_case
(only with lowntfs-3g) Ignore character case when accessing a file (FOO, Foo, foo, etc. designate the same file). All files are displayed with lower case in directory listings.
remove_hiberfile
Unlike in case of read-only mount, the read-write mount is denied if the NTFS volume is hibernated. One needs either to resume Windows and shutdown it properly, or use this option which will remove the Windows hibernation file. Please note, this means that the saved Windows session will be completely lost. Use this option for your own responsibility.
recover
Recover and try to mount a partition which was not unmounted properly by Windows. The Windows logfile is cleared, which may cause inconsistencies. Currently this is the default option.
norecover
Do not try to mount a partition which was not unmounted properly by Windows.
atime, noatime, relatime
The atime option updates inode access time for each access.The noatime option disables inode access time updates which can speed up file operations and prevent sleeping (notebook) disks spinning up too often thus saving energy and disk lifetime.
The relatime option is very similar to noatime. It updates inode access times relative to modify or change time. The access time is only updated if the previous access time was earlier than the current modify or change time. Unlike noatime this option doesn’t break applications that need to know if a file has been read since the last time it was modified. This is the default behaviour.
show_sys_files
Show the system files in directory listings. Otherwise the default behaviour is to hide the system files. Please note that even when this option is specified, “$MFT” may not be visible due to a glibc bug. Furthermore, irrespectively of show_sys_files, all files are accessible by name, for example you can always do “ls -l ’$UpCase’”.
hide_hid_files
Hide the hidden files and directories in directory listings, the hidden files and directories being the ones whose NTFS attribute have the hidden flag set. The hidden files will not be selected when using wildcards in commands, but all files and directories remain accessible by full name, for example you can always display the Windows trash bin directory by : “ls -ld $RECYCLE.BIN”.
hide_dot_files
Set the hidden flag in the NTFS attribute for created files and directories whose first character of the name is a dot. Such files and directories normally do not appear in directory listings, and when the flag is set they do not appear in Windows directory displays either.
windows_names
This option prevents files, directories and extended attributes to be created with a name not allowed by windows, either because it contains some not allowed character (which are the nine characters ” * / : < > ? \ | and those whose code is less than 0x20) or because the last character is a space or a dot. Existing such files can still be read (and renamed).
max_read=value
With this option the maximum size of read operations can be set. The default is infinite. Note that the size of read requests is limited anyway to 32 pages (which is 128kbyte on i386).
silent
Do nothing, without returning any error on chown and chmod operations and on permission checking errors, when the permissions option is not set and no user mapping file is defined. This option is on by default, and when set off (through option no_def_opts) ownership and permissions parameters have to be set.
no_def_opts
By default ntfs-3g acts as if silent (ignore permission errors when permissions are not enabled), allow_other (allow any user to access files) and nonempty (allow mounting on non-empty directories) were set, the no_def_opts option cancels this behaviour.
streams_interface=value
This option controls how the user can access Alternate Data Streams (ADS) or in other words, named data streams. It can be set to, one of none, windows or xattr. If the option is set to none, the user will have no access to the named data streams. If it’s set to windows (not possible with lowntfs-3g), then the user can access them just like in Windows (eg. cat file:stream). If it’s set to xattr, then the named data streams are mapped to xattrs and user can be manipulated by using {get,set}fattr utilities. The default is xattr on Linux, none on other OSes.
user_xattr
Same as streams_interface=xattr.
efs_raw
This option should only be used in backup or restore situation. It changes the apparent size of files and the behavior of read and write operations so that encrypted files can be saved and restored without being decrypted. The user.ntfs.efsinfo extended attributes associated to files have also to be saved and restored for the files to be decrypted later.
compression
This option enables creating new transparently compressed files in directories marked for compression. A directory is marked for compression by setting the bit 11 (value 0x00000800) in its Windows attribute. In such a directory, new files are created compressed and new subdirectories are themselves marked for compression. The option and the flag have no effect on existing files. Currently this is the default option.
nocompression
This option disables creating new transparently compressed files in directories marked for compression. Existing compressed files can still be read and updated.
big_writes
This option prevents fuse from splitting write buffers into 4K chunks, enabling big write buffers to be transferred from the application in a single step (up to some system limit, generally 128K bytes).
force
This mount option is not used anymore. It was superseded by the recover and norecover options.
debug
Makes ntfs-3g to not detach from terminal and print a lot of driver debug output.
no_detach
Same as above but with less debug output.
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#7

帖子 adagio » 2016-11-06 11:11

哪有那么复杂啊,你先mount一下,不用加任何参数,我的64K分区的ntfs没有问题
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#8

帖子 semimi » 2016-11-06 14:41

哪有那么复杂啊,你先mount一下,不用加任何参数,我的64K分区的ntfs没有问题

我目前用的系统是ubuntustudio 16.10
登陆系统会显示64K分区的卷标,但打开就出错,无法自动挂载,也无法手动挂载。

网上方法都用了,无法解决,这个分区和其它分区都是NTFS格式,唯一区别是里面装的是大文件,为了传输快,所以格式化为64K的分区。

为了尝试是不是这个问题,我把硬盘上的其它空闲分区重新分几个盘,分别用4K,8K,16K,32K,64K格式化,只有4K的可以自动并手动挂载成功,其它大小的无论用不用参数挂载都失败,如果别人的没问题,也许是我系统有问题吧,改时间重新安装一下试试。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#9

帖子 poloshiao » 2016-11-06 15:00

也许是我系统有问题吧
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware.
看看 這一段錯誤訊息 有三種可能原因
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#10

帖子 semimi » 2016-11-06 15:59

看看 這一段錯誤訊息 有三種可能原因
这个我试过了,在windows 10里用chkdsk /f检查过分区,并重启两次,无效。
没做raid,其它分区也正常,所以另两种不存在。
而且还试过同一个分区,用4K格式化挂载正常,改成64K格式化后,完蛋。 :Misdoubt
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#11

帖子 semimi » 2016-11-06 16:26

我重新下载了ubuntustudio和gnome ubuntu,其它分区正常,64k的问题依旧,结果还是一样.windows 10 的快速启动也早就取消了.
:Noting :Noting :Noting :Noting :Noting
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#12

帖子 adagio » 2016-11-06 16:48

手动mount,有什么输出
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
semimi
帖子: 39
注册时间: 2007-04-19 20:50

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#13

帖子 semimi » 2016-11-06 18:51

手动mount,有什么输出
多谢回复,找到原因了,应该是ubuntu 16.10的问题,

我改用ubuntu 16.04,就可以挂载了,一切正常了。

:Faint :Faint :Faint :Faint :Faint
头像
自由建客
帖子: 13468
注册时间: 2008-07-30 23:21
系统: Debian stable AMD64

Re: ubuntu 16.10无法挂载ntfs分区的问题(目前网上的方法都无法解决)

#14

帖子 自由建客 » 2016-11-07 0:29

:em20
回复