You are not logged in.

#1 2012-03-11 23:30:49

bolshevik
Member
Registered: 2011-04-24
Posts: 47

[SOLVED] Folder contents mysteriously disappeared...

My setup involves a dual-boot with windoze and a shared ntfs partition that both operating systems use for data such as music, pictures and movies. The shared partition is included in my fstab and is automatically mounted at boot. Recently I noticed something rather strange : the contents of one of my picture folders has vanished. I happened to notice because it's the one where I save all my wallpapers, so when I went to pick a new one today I found an empty folder.

If I attempt to move stuff into it with nautilus, I get this :

Error opening file '/home/joe/shared/photos/walls/test.png': Input/output error

I get the same thing if I try to copy something into it from a terminal with Midnight Commander. However I am still able to copy files into and access the rest of the shared partition without a problem. It's only that one folder that somehow got corrupted. If I try to delete the folder it says that it can't be moved to trash and asks if I want it permanently deleted. Definetely not a life threatening situation, but is there any way to save my wallpapers? I suppose the files are still there somewhere. I tried to chown the folder but it did not help.

Last edited by bolshevik (2012-03-12 21:09:08)

Offline

#2 2012-03-12 08:21:53

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Folder contents mysteriously disappeared...

what does

ls -lh /home/joe/shared/photos/

say?

You might be able to recover the photos using testdisk or photorec.

Offline

#3 2012-03-12 10:10:37

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Folder contents mysteriously disappeared...

I/O errors are usually because:
   - HDD may be failing.
   - filesystem may be corrupted.

Either run SpinRite or HDD Regenerator to see if it's healthy, or at least run an fsck on the NTFS partition (using Windows, google it).

Finally, sending files to the trash bin is for pussies. Use Shift+Delete.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-03-12 21:08:49

bolshevik
Member
Registered: 2011-04-24
Posts: 47

Re: [SOLVED] Folder contents mysteriously disappeared...

Well it seems windoze can still do a few things right. I ran a check disk, it recovered a bunch of orphaned files (my wallpapers!) and it fixed the filesystem. I can now succesfully copy stuff into that folder.

PS thanks for the tip on shift+delete. I did not know that and the only reason I was sending stuff to the trash bin is because pressing the delete key for some reason does not work (shift+delete does).

Offline

#5 2012-03-12 21:14:41

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Folder contents mysteriously disappeared...

The delete key is supposed to move stuff to the trash rather than really delete it.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB