Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain unconvertible charac‐
ters. 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 bigen‐
dian encoding.
posix=[0|1]
If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names are presented as
hard links instead of being suppressed.
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.
The gid option that you used was fine. I use both a uid= and gid= option. The charset used result in some very evil characters. I think that you need to use both the nls= option and the iocharset option. I believe that the nls= option should be the charset that you want the filename characters translated to, while the iocharset option needs to match the charset of the filenames that exist on the partition. The trick is figuring out what that would be. It is possible also that these filenames contain control characters for some unimaginable stupid reason. ( Why do people post messages in caps, use evil characters like ()*![]{} in filenames, put spaces in directory names, or use the stupidly redundant "My " in front of directory names, use black backgrounds and unreadable foreground colors? )
However, from your first listing, It look like there is a problem with the filesystem, or this is a strange version of NTFS that linux doesn't understand. You might consider burning these files and reformatting the partition fresh.
You could also try using "Captive NTFS" to mount the partition. This uses NTFS drivers Linux finds in the Windows installation for file access, rather than the NTFS drivers installed into Linux itself. Captive NTFS should be installable on your distro.
with captive it works. but thats no sollution 4M since its so slooow.
I think that you need to use both the nls= option and the iocharset option. I believe that the nls= option should be the charset that you want the filename characters translated to, while the iocharset option needs to match the charset of the filenames that exist on the partition. The trick is figuring out what that would be. It is possible also that these filenames contain control characters for some unimaginable stupid reason.
I doubt that illegal characters are responsible. Because if U look at this file:
Code:
?--------- ? ? ? ? ? test.txt
U can see that it possess no threat for ascii table and is even compatible with dos filename(8+3)
Quote:
However, from your first listing, It look like there is a problem with the filesystem, or this is a strange version of NTFS that linux doesn't understand. You might consider burning these files and reformatting the partition fresh.
The NTFS FS was created with Win2003 SP1 server and has 64kb CLUSTER SIZE and is around 200GB in size. So reformating the partition is out of the question... This partition is mainly used for DIVX movies. And eventually I will be moving all of this to XFS partition if I set up UBUNTU DAPPER as a server properly.
Wow. 2.6.15 hasn't been around very long. Has a new version of NTFS come out that recently? I know Microsoft tweaks the NTFS unpublished spec with most new variants of Windows, but I didn't know anything new in NTFS had come out that recently. I have no trouble reading NTFS with my 2.6.14 kernel, but that is NTFS as implemented in XP Home, XP Pro, and W2k. I'll definitely keep my kernel version in mind if I run into any NTFS problems in the future.
HAERTIG
Apperantly the old NTFS code wasnt compatible with 200GB partition w/ 64kb cluster size and its sparse files.
Anyway I've compiled kernel 2.6.17 with con kolivas server patchset and everything flies.
I will probably be coverting my big old NTFS partition soon to XFS when I sort out the final problem with FREENX
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.