It is interesting that both of these cases relate to MP3s.  I have also
seen a case where MP3 files and their parent directories disappear, but
they are not gone.  What happens for me is that there is a problem with
UTF8 character set mapping and NTFS-3g treatment of names with these
extended characters.  when this happens I see messages like this in
/var/log/daemon.log:
Apr  9 21:35:41 alohomora ntfs-3g[3487]: Skipping unrepresentable
filename (inode 5941)

For example, I do this:
[~]% ls /media/sda7/music/listened/Keith\ Jarrett
total 0
[~]% killall mpd
[~]% sudo umount /media/sda7
Password:
[~]% sudo mount /media/sda7
[~]% ls /media/sda7/music/listened/Keith\ Jarrett
total 4
drwxrwx--- 1 4096 2005-07-06 20:02 The Köln Concert/

The culprit is the umlaut in Cologne.  In my case, running Ubuntu, I
think there is some startup problem with the NLS system in which NTFS-3g
starts and mounts the filesystem too early.  Hence, umount/mount gets it
working again.

If the directories you are missing make use of extended characters, this
could explain the problem.

Good Luck,
Ted Anderson

Matthias Berndt wrote:
> as far as I know, up to now, no case of data loss with ntfs-3g was 
> reported at least up to the release of version 1.0
> 
> However, I have now heard of at least two cases of data loss, which makes 
> me think that ntfs-3g isn't quite as safe as a 1.0 release ought to be 
> (and I thought it were). 
> 
> The first case was reported on http://forum.ubuntuusers.de/topic/84118/
> Quote (Translation below): 
> "Also ich habe mal jetzt den ntfs-3g Treiber gemäß Wiki Anleitung 
> installiert und das Laufwerk erfolgreich gemountet. Bin dann auch mal 
> sofort angefangen den ein oder anderen ID3 Tag zu editieren. Läuft alles 
> problemlos. Nur mußte ich nach einen Neustart gerade festellen das all 
> meine Datein die ich geändert habe, samt der kompletten Ordner in dem sie 
> lagen nicht mehr vorhanden sind! Weder unter Windows noch unter Linux. "
> 
> Translation:
> "I installed ntfs-3g according to the instructions in the wiki 
> [wiki.ubuntuusers.de] and mounted it successfully. I started editing some 
> ID3 Tags and it worked all right. After a reboot, I saw that all the 
> files I had edited were gone, and also all the directories in which they 
> lay. Neither Linux nor Windows can read them anymore."
> 
> The wiki instructions mentioned in this posting also include links to an 
> apt repository with ntfs-3g 1.0, so it's highly probable that this guy 
> used 1.0. 
> 
> The second case was my roommate. He uses OpenSuse 10.2. I set up ntfs-3g 
> for him, including the latest version of FUSE. One day, I moved some 4 GB 
> of MP3s around on his NTFS Partition, and again, many of those just 
> disappeared (hey, can you imagine how stupid and sorry I felt that day?)
> 
> I'm aware that these reports are probably not very helpful for you to 
> track down those bugs. Yet, I'd like you to put some big fat warnings 
> somewhere. Note that I'm not blaming anyone for this. Shit happens :(

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to