unexpected deleting of files in USB memory

Asked by Axel on 2011-05-02

I was checking out some photos on a USB memory stick. Then I started to do some editing of a photo in the Eye of Gnome software . I was cutting the photo with frames to make it smaller. The software seemed to be in some kind of error because I couldn't save the photo. Then I closed the software, and all of the photos in that folder and the other photofolders were deleted. It seemed to have happened in just a second. The weird thing is that everything else but the photos is still on the USB drive.

I've just used Ubuntu for a few days so I can't really figure out what to do. Are the photos recoverable? They seem to be gone when I try in a windows laptop as well. This is all the info I have as for now.

Thx
//Axel, Sweden

Here is from the syslog:

May 2 20:23:35 oz-laptop kernel: [ 2119.825149] usb 1-5: new high speed USB device using ehci_hcd and address 7
May 2 20:23:35 oz-laptop kernel: [ 2119.968771] scsi20 : usb-storage 1-5:1.0
May 2 20:23:36 oz-laptop kernel: [ 2120.971361] scsi 20:0:0:0: Direct-Access USB FLASH DRIVE PMAP PQ: 0 ANSI: 0 CCS
May 2 20:23:36 oz-laptop kernel: [ 2120.974789] sd 20:0:0:0: Attached scsi generic sg3 type 0
May 2 20:23:37 oz-laptop kernel: [ 2121.652320] sd 20:0:0:0: [sdc] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
May 2 20:23:37 oz-laptop kernel: [ 2121.652893] sd 20:0:0:0: [sdc] Write Protect is off
May 2 20:23:37 oz-laptop kernel: [ 2121.652910] sd 20:0:0:0: [sdc] Mode Sense: 23 00 00 00
May 2 20:23:37 oz-laptop kernel: [ 2121.652921] sd 20:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:23:37 oz-laptop kernel: [ 2121.661413] sd 20:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:23:37 oz-laptop kernel: [ 2121.661453] sdc: sdc1
May 2 20:23:37 oz-laptop kernel: [ 2121.669095] sd 20:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:23:37 oz-laptop kernel: [ 2121.669122] sd 20:0:0:0: [sdc] Attached SCSI removable disk
May 2 20:27:21 oz-laptop kernel: [ 2345.705082] usb 1-5: reset high speed USB device using ehci_hcd and address 7
May 2 20:27:21 oz-laptop kernel: [ 2346.156169] usb 1-5: device descriptor read/64, error -71
May 2 20:27:22 oz-laptop kernel: [ 2346.729152] usb 1-5: device descriptor read/64, error -71
May 2 20:27:22 oz-laptop kernel: [ 2346.944301] usb 1-5: USB disconnect, address 7
May 2 20:27:22 oz-laptop kernel: [ 2346.945539] FAT: bread failed in fat_clusters_flush
May 2 20:27:22 oz-laptop kernel: [ 2347.224129] usb 4-1: new full speed USB device using uhci_hcd and address 2
May 2 20:27:23 oz-laptop kernel: [ 2347.576154] usb 4-1: device descriptor read/64, error -84
May 2 20:27:23 oz-laptop kernel: [ 2347.805119] usb 4-1: device descriptor read/64, error -71
May 2 20:27:23 oz-laptop kernel: [ 2348.021108] usb 4-1: new full speed USB device using uhci_hcd and address 3
May 2 20:27:23 oz-laptop kernel: [ 2348.144163] usb 4-1: device descriptor read/64, error -71
May 2 20:27:23 oz-laptop kernel: [ 2348.373069] usb 4-1: device descriptor read/64, error -71
May 2 20:27:24 oz-laptop kernel: [ 2348.588101] usb 4-1: new full speed USB device using uhci_hcd and address 4
May 2 20:27:24 oz-laptop kernel: [ 2349.004976] usb 4-1: device not accepting address 4, error -71
May 2 20:27:24 oz-laptop kernel: [ 2349.117100] usb 4-1: new full speed USB device using uhci_hcd and address 5
May 2 20:27:25 oz-laptop kernel: [ 2349.533108] usb 4-1: device not accepting address 5, error -71
May 2 20:27:25 oz-laptop kernel: [ 2349.533162] hub 4-0:1.0: unable to enumerate USB device on port 1
May 2 20:27:25 oz-laptop kernel: [ 2350.089111] usb 1-5: new high speed USB device using ehci_hcd and address 8
May 2 20:27:25 oz-laptop kernel: [ 2350.234178] scsi21 : usb-storage 1-5:1.0
May 2 20:27:26 oz-laptop kernel: [ 2351.236223] scsi 21:0:0:0: Direct-Access USB FLASH DRIVE PMAP PQ: 0 ANSI: 0 CCS
May 2 20:27:26 oz-laptop kernel: [ 2351.238869] sd 21:0:0:0: Attached scsi generic sg3 type 0
May 2 20:27:28 oz-laptop kernel: [ 2352.952739] sd 21:0:0:0: [sdc] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
May 2 20:27:28 oz-laptop kernel: [ 2352.953348] sd 21:0:0:0: [sdc] Write Protect is off
May 2 20:27:28 oz-laptop kernel: [ 2352.953364] sd 21:0:0:0: [sdc] Mode Sense: 23 00 00 00
May 2 20:27:28 oz-laptop kernel: [ 2352.953376] sd 21:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:27:28 oz-laptop kernel: [ 2352.962461] sd 21:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:27:28 oz-laptop kernel: [ 2352.962502] sdc: sdc1
May 2 20:27:28 oz-laptop kernel: [ 2352.966221] sd 21:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:27:28 oz-laptop kernel: [ 2352.966247] sd 21:0:0:0: [sdc] Attached SCSI removable disk
May 2 20:37:23 oz-laptop kernel: [ 2948.473643] usb 1-5: USB disconnect, address 8
May 2 20:42:52 oz-laptop kernel: [ 3277.368131] usb 1-5: new high speed USB device using ehci_hcd and address 9
May 2 20:42:52 oz-laptop kernel: [ 3277.512967] scsi22 : usb-storage 1-5:1.0
May 2 20:42:53 oz-laptop kernel: [ 3278.514178] scsi 22:0:0:0: Direct-Access USB FLASH DRIVE PMAP PQ: 0 ANSI: 0 CCS
May 2 20:42:54 oz-laptop kernel: [ 3278.529922] sd 22:0:0:0: Attached scsi generic sg3 type 0
May 2 20:42:54 oz-laptop kernel: [ 3279.201448] sd 22:0:0:0: [sdc] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
May 2 20:42:54 oz-laptop kernel: [ 3279.202032] sd 22:0:0:0: [sdc] Write Protect is off
May 2 20:42:54 oz-laptop kernel: [ 3279.202050] sd 22:0:0:0: [sdc] Mode Sense: 23 00 00 00
May 2 20:42:54 oz-laptop kernel: [ 3279.202061] sd 22:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:42:54 oz-laptop kernel: [ 3279.209049] sd 22:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:42:54 oz-laptop kernel: [ 3279.209108] sdc: sdc1
May 2 20:42:54 oz-laptop kernel: [ 3279.213918] sd 22:0:0:0: [sdc] Assuming drive cache: write through
May 2 20:42:54 oz-laptop kernel: [ 3279.213946] sd 22:0:0:0: [sdc] Attached SCSI removable disk

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-utils Edit question
Assignee:
No assignee Edit question
Last query:
2011-05-02
Last reply:
2011-05-02
Thesavards (thesavards) said : #1

This should help you out greatly I just had to use the very program Test Disk available in the Ubuntu Software Center. It also was a thumb drive. Just remember though to safely eject the drive once you are ready to remove it. As he mentions in the video you will want it to recover the photos from your USB to the Home folder for example.

http://www.youtube.com/watch?v=EJdx2ORi3r4

Hope this helps I am new to linux to but am familiar with Unix which works somewhat like Linux just not as well.

Can you help with this problem?

Provide an answer of your own, or ask Axel for more information if necessary.

To post a message you must log in.