Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Strange things are happening: some files randomly disappear.

I use Ubuntu to access files (movies, docs, music) on another partition (ntfs), which is mounted through NTFS Configuration Tool.

First I noticed that some PDFs are missing from my "study" folder, but I thought maybe I deleted them myself. But now two albums are missing from Music folder and I'm sure it's something wrong with Ubuntu. All those files were recently downloaded and modified from Ubuntu and moved to ntfs partition. While on Windows 7 (around two years) I never had this problem before.

So how to prevent this problem? And are there any tools I could use to recover files and check for errors? Thanks.

share|improve this question
If you open a terminal cd to a folder where files have disappeared, and run ls -l, you should get a list of all files in that folder. Do the disappeared files show up there? If yes, it's a problem with Nautilus. – RobinJ Jun 16 '11 at 8:40
I already checked this way and through logging from Win 7. Missing files are not showing up :-( – spacevillain Jun 16 '11 at 8:45
Are there any errors in dmesg after mounting the disk? – Lekensteyn Jun 16 '11 at 9:13
this does seem to happen not only on NTFS partitions, but in EXT4 too. – Uri Herrera Jun 16 '11 at 19:35
I'm having the same problem – Shen Nov 12 '11 at 0:53

Try running a file system check in Windows7 on that partition. Hopefully the lost files will magically reappear afterwards.

share|improve this answer
Yep, chkdsk helped with some files, restored remained ones with Pandora Recovery. But will Ubuntu mess them up again?... – spacevillain Jun 19 '11 at 7:11
Good question. I really don't know if Ubuntu was at fault in your case, though it could be. A relative of mine only uses Windows, but had the same problem with an external hdd. I'd advise running chkdsk once in a while and keeping a backup. – mikewhatever Jun 19 '11 at 8:00

Have a look at this question - this is not actually Ubuntu messing up the files, it's Windows "fixing things up" after booting from hibernation image :)

Generally, modifying other OS's filesystem while it's hibernated is the same as directly messing with the disk device at the block level without the OS knowing - it leads to filesystem corruption because the data on disk goes out of sync with what OS knows about the disk.

share|improve this answer
Yes I think you're right. Once Windows forced a filesystem check and deleted lots of my files. – Severo Raz Nov 15 '11 at 3:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.