PDA

View Full Version : Troubles when writing an NTFS partition



darkman088
30th October 2009, 05:45 AM
Hello,

please aplogize if I'm posting on the wrong place or somebody else has asked the same question. I don't have much time to do any detailed search. So, please don't curse me and simply paste a Go here answer. Now to my problem.
I have a Lenovo laptop, using a double-boot configuration of Windows XP (service pack 3) and Fedora 11. I have 3 primary partitions:
1. XP installation with NTFS.
2. A data patition with NTFS.
3. Fedora 11 partition, ext3.

I had planned to use the data partition as a common partition for both OS. Unfortunately, I had to find out, that I'm having heavy problems with writing to this NTFS partition. And I thought, that ntfs-3g had stable NTFS support!! It has began quite harmless. From time to time, when booting XP, it brought me to scandisk and it has been recovering orphaned files. Then I have noticed, that some rpm's, which I had put on the NTFS data partition were put in found.000 and so on folders. The original folders were files with 1K size !!
Yesterday happened the best - scandisk just informed me about deleting 3 files and nothing... !! The folders were empty and the files gone to some other dimension !!
Today, I have noticed, that a folder, which I renamed yesterday under Fedora, has mysteriously recovered its old name, as it has never been renamed!!
Also when I try to edit some text files on the NTFS data partition, it looks like no changes are being saved at all.
Of course, I tried to do some google research about that problem, but I didn't find any complaints, so I decided to subscribe for this forum, which helped me many times and to go public with my problem :-)
Ah, yeah, I also thought, that this might be fixed meanwhile and tried yum update ntfs-3g, but yum wisely reported, that there is nothing to update :-(
If it is necessary, I could post the log from scandisk, I should still have it in the Application log of my XP. Any useful suggestions and help will be HIIIIGHLY APPRECIATED!! Thanks!!

kyuso
30th October 2009, 09:29 PM
This may not help you in the short run, but I always use FAT32 partition instead of NTFS to share files between Windows and Linux. There isn't anything in NTFS that is important to keep when moving files between Windows and Linux, such as owner, permission, etc. Long filenames are still kept intact.

If you need to share files too big or too many for FAT32 to handle, you may want to invest on a file server.

Dies
30th October 2009, 09:50 PM
Have a good look in /var/log/messages*

Also:

cd /var/log/
su
for i in $(ls | grep messages); do cat $i | grep ntfs; done
Post the output if there is anything interesting.

Can we assume you've already tested this drive?

darkman088
31st October 2009, 12:53 AM
Hello,

thanks for your replies. Unfortunately, neither of this can come in question. I think that using FAT32 is ridiculous. I would indeed prefer the option to only read from NTFS and when I need to send something from Fedora to XP, to read it with Virtual Volumes. A file server can't come in question due to a lot of reasons, which are out of the scope of this discussion.
I will certainly have a go for the check in /var/log/messages, thanks for the command, will be much faster than the attrocious reading of all the stuff in there. As soon as I have done it, I will post the results (if any).
I was also thinking, if XP Service pack 3 doesn't create a newer version of NTFS, which is still not fully supported. So, I have come to the assumption, that deleting the partition and recreating it with gparted for example, could solve this issue...? Is there some truth in these thoughts?
And in the end, I was more hoping for an answer like - wait for 3 weeks, the new Fedora 12 will provide an updated ntfs-3g driver, etc...
Am I really the only one who is encountering this problem?

Dies
31st October 2009, 01:07 AM
I agree FAT is obsolete, except for thumbdrives. Always surprises me when I see someone recommend it

I hate to break it to you, but there is nothing wrong with ntfs-3g. Also, nothing in the way newer versions of Windows create or handle NTFS that causes any issues for ntfs-3g, at least not in my experience with SP3, Vista and now 7.

Deleting and recreating the partition if you're able to, *may* be worth a try.

I say *may* because you still didn't answer my question as to whether or not you have tested the drive.

There is no point in doing anything other than backing up your data if the drive is on it's way out. ;)

stoat
31st October 2009, 01:48 AM
I was also thinking, if XP Service pack 3 doesn't create a newer version of NTFS, which is still not fully supported. So, I have come to the assumption, that deleting the partition and recreating it with gparted for example, could solve this issue...? Is there some truth in these thoughts?Hello darkman088,

Maybe. But I've been using ntfs-3g since Fedora Core 5 when I had to go to linux-ntfs.org to get the package after every kernel update. Since then, I have used it to access, read, write, move files, edit files, etc. on NTFS partitions created by XP SP2 and now XP SP3. I routinely open and edit Windows documents with OpenOffice. It never harmed anything of mine.


And in the end, I was more hoping for an answer like - wait for 3 weeks, the new Fedora 12 will provide an updated ntfs-3g driver, etc...IMO, you'd be waiting for something that isn't coming.


Am I really the only one who is encountering this problem?I read here every day. You may not be the only one experiencing the problem. I have no way of knowing. But if a bad ntfs-3g update fell us and busted it, I would expect a lot more activity about it. Who knows, maybe that has happened, and you're the first to notice it.

Chilly Willy
31st October 2009, 02:51 AM
If I am reading this correctly, your "problems" occur under the XP (especially at boot)?
It sounds to me that XP is monitoring that partition & "correcting" any changes it sees. Check to see if XP's system restore is on for that partition, if so, turn it off. You only want it on for the XP's OS.

Let me know if this helps or not. - there MAY be other such things that as of yet haven't come to mind. If I think of any, I'll let you know. (My memory has been giving me fits lately - "swiss cheesed" as they say on "QUANTUM LEAP")

darkman088
4th November 2009, 05:20 PM
Hello together,

thanks a lot, my friends!! You really showed some interest in my problem and you made me feel the person not interested in it :-D I am just doing a lot of work searching applications alternatives, because I would really like to migrate to Linux completely. I have made the check of my messages log file, as Dies recommended, and they are some errors there indeed. It is a little long output, and I don't know how to make the code section, so I will put it in a separate post to make it more understandable. I hope that it will make it possible to get to the bottom of the problem :-)

Thank you very much for your support and your writings !!

P.S.: I have found the code quoting but I will have to make 2 more posts, because it says that it is too long, sorry for that...

darkman088
4th November 2009, 05:28 PM
Nov 3 15:26:34 Blue ntfs-3g[2871]: ntfs_mst_post_read_fixup: magic: 0x00000003 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Nov 3 15:26:34 Blue ntfs-3g[2871]: ntfs_mst_post_read_fixup: magic: 0x00000003 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Nov 3 15:27:53 Blue ntfs-3g[2871]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 11 01:04:55 Blue ntfs-3g[2804]: Version 2009.4.4 integrated FUSE 27
Oct 11 01:04:55 Blue ntfs-3g[2804]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 11 01:04:55 Blue ntfs-3g[2804]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 11 01:04:55 Blue ntfs-3g[2804]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 11 01:09:39 Blue ntfs-3g[2712]: Version 2009.4.4 integrated FUSE 27
Oct 11 01:09:39 Blue ntfs-3g[2712]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 11 01:09:39 Blue ntfs-3g[2712]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 11 01:09:39 Blue ntfs-3g[2712]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 11 03:00:38 Blue ntfs-3g[2787]: Version 2009.4.4 integrated FUSE 27
Oct 11 03:00:38 Blue ntfs-3g[2787]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 11 03:00:38 Blue ntfs-3g[2787]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 11 03:00:38 Blue ntfs-3g[2787]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 11 12:16:05 Blue ntfs-3g[2975]: Version 2009.4.4 integrated FUSE 27
Oct 11 12:16:05 Blue ntfs-3g[2975]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 11 12:16:05 Blue ntfs-3g[2975]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 11 12:16:05 Blue ntfs-3g[2975]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 11 19:44:01 Blue ntfs-3g[3130]: Version 2009.4.4 integrated FUSE 27
Oct 11 19:44:01 Blue ntfs-3g[3130]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 11 19:44:01 Blue ntfs-3g[3130]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 11 19:44:01 Blue ntfs-3g[3130]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 12 17:20:43 Blue ntfs-3g[2962]: Version 2009.4.4 integrated FUSE 27
Oct 12 17:20:43 Blue ntfs-3g[2962]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 12 17:20:43 Blue ntfs-3g[2962]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 12 17:20:43 Blue ntfs-3g[2962]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 17 20:04:26 Blue ntfs-3g[2928]: Version 2009.4.4 integrated FUSE 27
Oct 17 20:04:26 Blue ntfs-3g[2928]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 17 20:04:26 Blue ntfs-3g[2928]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 17 20:04:26 Blue ntfs-3g[2928]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 17 22:53:18 Blue ntfs-3g[2895]: Version 2009.4.4 integrated FUSE 27
Oct 17 22:53:18 Blue ntfs-3g[2895]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 17 22:53:18 Blue ntfs-3g[2895]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 17 22:53:18 Blue ntfs-3g[2895]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 19 17:34:35 Blue ntfs-3g[2916]: Version 2009.4.4 integrated FUSE 27
Oct 19 17:34:35 Blue ntfs-3g[2916]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 19 17:34:35 Blue ntfs-3g[2916]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 19 17:34:35 Blue ntfs-3g[2916]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 24 22:34:00 Blue ntfs-3g[2937]: Version 2009.4.4 integrated FUSE 27
Oct 24 22:34:00 Blue ntfs-3g[2937]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 24 22:34:00 Blue ntfs-3g[2937]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 24 22:34:00 Blue ntfs-3g[2937]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 24 22:59:48 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000001 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000001 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000001 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:00:54 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 24 23:17:55 Blue ntfs-3g[2937]: ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 25 09:04:49 Blue ntfs-3g[2781]: Version 2009.4.4 integrated FUSE 27
Oct 25 09:04:49 Blue ntfs-3g[2781]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 25 09:04:49 Blue ntfs-3g[2781]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 25 09:04:49 Blue ntfs-3g[2781]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 25 13:20:11 Blue ntfs-3g[2943]: Version 2009.4.4 integrated FUSE 27
Oct 25 13:20:11 Blue ntfs-3g[2943]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 25 13:20:11 Blue ntfs-3g[2943]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 25 13:20:11 Blue ntfs-3g[2943]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 26 23:07:17 Blue ntfs-3g[3304]: Version 2009.4.4 integrated FUSE 27
Oct 26 23:07:17 Blue ntfs-3g[3304]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 26 23:07:17 Blue ntfs-3g[3304]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 26 23:07:17 Blue ntfs-3g[3304]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000007 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11557 has no FILE magic (0x7)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000007 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11557 has no FILE magic (0x7)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11570 has no FILE magic (0x4)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11570 has no FILE magic (0x4)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11568 has no FILE magic (0x4)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11568 has no FILE magic (0x4)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11569 has no FILE magic (0x4)
Oct 26 23:09:14 Blue ntfs-3g[3304]: ntfs_mst_post_read_fixup: magic: 0x00000004 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 26 23:09:14 Blue ntfs-3g[3304]: Record 11569 has no FILE magic (0x4)

darkman088
4th November 2009, 05:29 PM
Oct 27 00:00:02 Blue ntfs-3g[2742]: Version 2009.4.4 integrated FUSE 27
Oct 27 00:00:02 Blue ntfs-3g[2742]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 00:00:02 Blue ntfs-3g[2742]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 00:00:02 Blue ntfs-3g[2742]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 27 01:15:26 Blue ntfs-3g[2855]: Version 2009.4.4 integrated FUSE 27
Oct 27 01:15:26 Blue ntfs-3g[2855]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 01:15:26 Blue ntfs-3g[2855]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 01:15:26 Blue ntfs-3g[2855]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 27 10:52:56 Blue ntfs-3g[2724]: Version 2009.4.4 integrated FUSE 27
Oct 27 10:52:56 Blue ntfs-3g[2724]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 10:52:56 Blue ntfs-3g[2724]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 10:52:56 Blue ntfs-3g[2724]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 27 11:25:03 Blue ntfs-3g[2816]: Version 2009.4.4 integrated FUSE 27
Oct 27 11:25:03 Blue ntfs-3g[2816]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 11:25:03 Blue ntfs-3g[2816]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 11:25:03 Blue ntfs-3g[2816]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 27 11:35:21 Blue ntfs-3g[2708]: Version 2009.4.4 integrated FUSE 27
Oct 27 11:35:21 Blue ntfs-3g[2708]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 11:35:21 Blue ntfs-3g[2708]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 11:35:21 Blue ntfs-3g[2708]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 27 11:56:07 Blue ntfs-3g[2734]: Version 2009.4.4 integrated FUSE 27
Oct 27 11:56:07 Blue ntfs-3g[2734]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 27 11:56:07 Blue ntfs-3g[2734]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 27 11:56:07 Blue ntfs-3g[2734]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 28 16:59:12 Blue ntfs-3g[2738]: Version 2009.4.4 integrated FUSE 27
Oct 28 16:59:12 Blue ntfs-3g[2738]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 28 16:59:12 Blue ntfs-3g[2738]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 28 16:59:12 Blue ntfs-3g[2738]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 28 17:21:36 Blue ntfs-3g[2738]: ntfs_mst_post_read_fixup: magic: 0x00000001 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument
Oct 29 18:14:42 Blue ntfs-3g[2881]: Version 2009.4.4 integrated FUSE 27
Oct 29 18:14:42 Blue ntfs-3g[2881]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 29 18:14:42 Blue ntfs-3g[2881]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 29 18:14:42 Blue ntfs-3g[2881]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 29 18:26:43 Blue ntfs-3g[2912]: Version 2009.4.4 integrated FUSE 27
Oct 29 18:26:43 Blue ntfs-3g[2912]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 29 18:26:43 Blue ntfs-3g[2912]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 29 18:26:43 Blue ntfs-3g[2912]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 30 14:12:19 Blue ntfs-3g[3140]: Version 2009.4.4 integrated FUSE 27
Oct 30 14:12:19 Blue ntfs-3g[3140]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 30 14:12:19 Blue ntfs-3g[3140]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 30 14:12:19 Blue ntfs-3g[3140]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Oct 30 19:23:08 Blue ntfs-3g[2928]: Version 2009.4.4 integrated FUSE 27
Oct 30 19:23:08 Blue ntfs-3g[2928]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Oct 30 19:23:08 Blue ntfs-3g[2928]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Oct 30 19:23:08 Blue ntfs-3g[2928]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Nov 3 12:29:53 Blue ntfs-3g[2986]: Version 2009.4.4 integrated FUSE 27
Nov 3 12:29:53 Blue ntfs-3g[2986]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Nov 3 12:29:53 Blue ntfs-3g[2986]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Nov 3 12:29:53 Blue ntfs-3g[2986]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Nov 3 12:52:30 Blue ntfs-3g[2871]: Version 2009.4.4 integrated FUSE 27
Nov 3 12:52:30 Blue ntfs-3g[2871]: Mounted /dev/dm-2 (Read-Write, label "Storage", NTFS 3.1)
Nov 3 12:52:30 Blue ntfs-3g[2871]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,dma sk=0077
Nov 3 12:52:30 Blue ntfs-3g[2871]: Mount options: rw,nosuid,nodev,uhelper=devkit,silent,allow_other, nonempty,default_permissions,relatime,fsname=/dev/dm-2,blkdev,blksize=4096
Nov 3 13:01:06 Blue ntfs-3g[2871]: Could not convert filename to Unicode: 'root�j;#010�#021�#010(#021�#010#020'���&��#014'���&��': Invalid or incomplete multibyte or wide character

stevea
4th November 2009, 05:42 PM
NTFS-3G has a disk space de-allocaiton problem, and there is no fsck tool. They suggest booting Windoze and letting it clean up periodically. Still it shouldn't find orphaned files. It looks loke you have some problem (unclean shutdowns ??).

I would agree that VFAT is a poor substitute.

http://www.fs-driver.org/
Have you tried any of the ifsext2 implementations ? These allow Windoze to mount a ext2 or ext3 file system. These work very well in my experience.

The big headache is that NTFS is proprietary and must be reverse engineered - so it's always wrong in some detail. OTOH etx2/3 are public and full code is available, so Win support for ext2/3 is naturally better than Lin support for NTFS.

Dies
4th November 2009, 08:33 PM
I have made the check of my messages log file, as Dies recommended, and they are some errors there indeed.

You still haven't answered my question, I've asked it twice already...


Have you tested this hard drive?

sidebrnz
4th November 2009, 11:56 PM
How is this partition being mounted in Fedora? Does it automount when you log on, or is there an entry in /etc/fstab? If not, it might be a good idea to put it there with code like this:

/dev/sdXX /media/transfer ntfs-3g auto,umask=0000 0 0

Where you put the right device name in, and make sure that whatever mountpoint you select actually exists. Also, if this is the last line in the file, be sure to hit Enter at the end so that mount won't complain. I'm suggesting this because there's a slight chance that whatever mount options Fedora's using aren't quite right, and I know the above will work, giving you full read/write access.

darkman088
5th November 2009, 10:58 AM
Hello everybody,

thanks a lot for your quick analysis !!
Let's first go to the post of Dies:

Have you tested this hard drive?

My answer here will be: rather not. And though, what do you mean exactly by testing this hard drive? Running a surface scan with chkdsk for example? This is a 3-4 months old laptop and I think and hope, that the drive is physically healthy. Dies, if you recommend to test the drive despite of this fact. please recommend what software to use for checking it and how to do it? It is a 320 GB drive with the "Storage" partion being > 250 GB in size.

Sidebrnz, the partition doesn't automount. Actually, I wanted to make it automount and I am planning to modify the /etc/fstab file, but I still didn't get to it. Maybe tonight will be the right time to do it :-D
It is a bit annoying, that I have the Storage icon on my desktop and always when I want to access that drive, I have first to double click it, enter my root password and wait for Fedora to mount it and open the window with the contents, which I am closing then...
I don't know the contents of my fstab (how lame, right?), but I will check it and I will post the line, if any...

And it still remains to check if I don't have any system restore active on that drive, although I think I don't have...

Thanks again and I hope to post something again tonight :-)

stevea
5th November 2009, 12:45 PM
Perhaps you should run the smartctl logs like this ...

smartctl -H /dev/sda
smartctl -a /dev/sda

then post the results.

David Batson
5th November 2009, 12:52 PM
The following bug was just pointed out to me on the Mandriva forum. Perhaps Fedora is affected by the same bug.

https://qa.mandriva.com/show_bug.cgi?id=53795

stevea
5th November 2009, 01:08 PM
Well - is it ?
Does hal automount your ntfs ?
Use the "mount" command with no options to see what is mounted.

If you double-mount a file system and write anything (even time access updates) from both your FS will get very toasty.

David Batson
5th November 2009, 01:36 PM
I am not in Fedora atm to check, but in Mandriva 2009.1, I could mount the ntfs Windows partition with HAL and open files on it, but I could not copy files to, or edit files on the ntfs partition.

EDIT: Well, I finally booted Fedora 11 and tested writing to my ntfs Windows partition, and it does work. I did not encounter the same problem as I did in Mandriva 2009.1. I tested this as well on a Mandriva 2010 KDE Live CD, and I can write to ntfs with it as well.

darkman088
5th November 2009, 07:02 PM
Hello,

what is this smartctl log? Is it regarding to the S.M.A.R.T. self-monitoring feature of the disk?
With this post, I would also like to announce, that I did have a system restore on the drive and I have switched it off. So, I will be testing the behaviour and will report again :-)

See ya!

Dies
6th November 2009, 04:00 AM
My answer here will be: rather not. And though, what do you mean exactly by testing this hard drive? Running a surface scan with chkdsk for example? This is a 3-4 months old laptop and I think and hope, that the drive is physically healthy. Dies, if you recommend to test the drive despite of this fact. please recommend what software to use for checking it and how to do it? It is a 320 GB drive with the "Storage" partion being > 250 GB in size.


The typical way to test hard drives is to try the manufacturers website first they usually have their own utilities.

BUT start by following stevea's advice about running smartctl, then if you see any warnings move on to running the manufacturers tests on the drive. And yes it is regarding the drive's S.M.A.R.T status.

Also, keep in mind that the failure curve for electronics in general is kind of like a bathtub, meaning they're more likely to fail when they're very new or very old and less likely to fail in the middle. ;)

darkman088
6th November 2009, 08:56 AM
Hello everybody,

probably you are going to beat me up and kick me... Really sorry for that...
I think that I have come to the bottom of the problem... I am using hibernation !!
I obviously got the wrong impression, that it is affecting only the drive, on
which the windows system resides. but probably it is affecting also other
NTFS paritions. I thought that way, because ntfs-3g absolutely declines to
mount a hibernated windows system partition and requires a switch in order
to make a clean-up. (a colleague of mine complained that he suffered data
corruption afterwards !!)
Yesterday I decided to mount my "Storage" partition from the command line:
mount -t ntfs /dev/dm-2 /mnt
I noticed that there is a small message: Filesystem not unmounted cleanly.
Fixing.
By that time, I had stopped system restore for the "Storage" drive and I
decided to put again some rpm files onto it.
Rebooted in windows - bang - no files at all. Reboot for chkdsk - recovering
orphaned files. After booting again, this time the files were there, at least :-)
Not lost, as before.
So I think that hibernation is affecting also the other drive and this could be
the cause for my troubles. I intend to test it deeply in the next few days...
Please just tell me if you consider this as the reason for my problems too.
I will meanwhile try to consult with some windows expert in order to see if
it is possible to tell windows to close the drive cleanly when it hibernates,
because I am really using hibernation in windows a lot and I really like it
and I really need it !!
And I think that it is a pity, that when Linux hibernates, doesn't give you
the option to boot another OS then. At least this was the case with SUSE,
with Fedora I still didn't check it.
Sorry once again, if I have troubled you for such a stupidity !!
But, as old people say, you learn till you breathe :-)

darkman088
6th November 2009, 08:58 AM
Hello Dies,

thanks for reminding me about the failure curve. Those old days at the university... :-D

Bump: A few days passed and I have stopped using hibernation. I have written several files to NTFS and this time there were no problems encountered.
Dear moderators, you can mark this thread as solved.
Thanks to everybody !!