LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb flash memory recognized as scsi (https://www.linuxquestions.org/questions/linux-hardware-18/usb-flash-memory-recognized-as-scsi-945808/)

RiderG7 05-18-2012 06:54 PM

usb flash memory recognized as scsi
 
My usb flash memory is not recognizable.When I run
Code:

tail -f /var/log/syslog
and then plug in the device
this is what i get:
Code:

usb 2-1.4: new high speed USB device number 8 using ehci_hcd
XXXX mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
XXXX mtp-probe: bus: 2, device: 8 was not an MTP device
XXXX kernel: [17673.376059] scsi9 : usb-storage 2-1.4:1.0
XXXX kernel: [17674.375992] scsi 9:0:0:0: Direct-Access              USB MEMORY BAR  1000 PQ: 0 ANSI: 0 CCS
XXXX kernel: [17674.502741] sd 9:0:0:0: Attached scsi generic sg2 type 0
XXXX kernel: [17674.504155] sd 9:0:0:0: [sdb] Attached SCSI removable disk

Is there any way to recover it or I should start thinking of buying a new one?Thanks!

michaelk 05-19-2012 10:17 AM

Has the drive previously worked? Have you tried using it with windows or other linux distributions?

Basically all drives are recognized as SCSI now days.
I don't see anything really unusual except for some missing messages that a partition was detected.

Post the output of the command
sudo fdisk -l

It is possible that the drive is not partitioned and therefore may not be automatically mounted.

amani 05-19-2012 11:02 AM

I think the drive has a problem, it seems to have no manufacturer id.

RiderG7 05-19-2012 11:21 AM

Yes the usb was working properly till one day I plugged it in a windows pc and i could't open it.Now when I plug it i get a message:Failed to mount <device name>

And neither gparted recognizes it.

fdisk -l prints whatever it prints when I have nothing plugged in.

michaelk 05-19-2012 01:14 PM

You can try testdisk or photorec to see if you can recover your data. And yes you should start thinking about a replacement.

jefro 05-19-2012 01:51 PM

It is posted as if there was a change to scsi. As pointed out, distro's in the last 10 years have gone to scsi for almost all disk access. Some made for older computers may still use the old hdx or other.

Usb flash drives may be one of the best choices for easy ways to move files and the worst thing to use to secure data. They fail often.

RiderG7 05-24-2012 09:53 AM

Ok!Thanx for the answers!


All times are GMT -5. The time now is 07:21 PM.