Page 1 of 1

system is not recognizing / mounting 40GB USB storage device

Posted: Sun Apr 14, 2013 9:46 am
by rmisra1
hi

system is not recognizing my 40GB USB storage device from transcend.

shaing output of lsusb, dmesg & udevadm

pl help to fix/mount same ... i am ok to format this USB storage device if needed ...


#lsusb
Bus 002 Device 007: ID 0ea0:2118 Ours Technology, Inc.

~$ dmesg | tail -n 20

[ 1599.410261] usb 2-6: USB disconnect, device number 8
[ 1621.492021] usb 2-6: new high-speed USB device number 9 using ehci_hcd
[ 1621.627326] usb 2-6: New USB device found, idVendor=0ea0, idProduct=2118
[ 1621.627331] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1621.627335] usb 2-6: Product: Storage Device
[ 1621.627339] usb 2-6: Manufacturer: USB
[ 1621.627762] scsi12 : usb-storage 2-6:1.0

# udevadm monitor –udev


UDEV [3121.429073] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6 (usb)
UDEV [3121.430840] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0 (usb)
UDEV [3121.432516] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15 (scsi)
UDEV [3121.433691] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/scsi_host/host15 (scsi_host)
UDEV [3132.715537] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0 (scsi)
UDEV [3132.716421] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0/15:0:0:0 (scsi)
UDEV [3132.720371] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0/15:0:0:0/scsi_device/15:0:0:0 (scsi_device)
UDEV [3132.720410] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0/15:0:0:0/scsi_generic/sg7 (scsi_generic)
UDEV [3132.720436] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0/15:0:0:0/scsi_disk/15:0:0:0 (scsi_disk)
UDEV [3132.720468] add /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host15/target15:0:0/15:0:0:0/bsg/15:0:0:0 (bsg)

Re: system is not recognizing / mounting 40GB USB storage de

Posted: Sun Apr 14, 2013 11:37 am
by viking777
It looks as if it is recognised to me, to make sure just run

Code: Select all

lsblk -l


with the device plugged in. Here is part of the output of mine:

Code: Select all

sdb    8:16   0 465.7G  0 disk 
sdb1   8:17   0 415.6G  0 part 
sdb3   8:19   0  50.2G  0 part 
sr0   11:0    1  1024M  0 rom  
My external disk is seen as sdb with partitions sdb1 and sdb3. You should see something similar. To mount it I would just open my file manager and click mount, but then I have a decent file manager, most people don't, so the other way to mount the first partition would be

Code: Select all

sudo mount /dev/sdb1 /media
Then open the /media directory in a file manager (even Nautilus should be able to do that :lol: ).

It is not usually necessary to specify the filesystem type in the mount command any more, the command is good enough to guess most file systems these days, but if you have some exotic filesystem type on it you can specify it with:

Code: Select all

sudo mount -t minix /dev/sdb1 /media
If you happen to be strange enough to format your external devices with minix file systems. See

Code: Select all

man mount
For a list of all the filesystem types it understands.

Re: system is not recognizing / mounting 40GB USB storage de

Posted: Sun Apr 14, 2013 12:55 pm
by rmisra1
hi

thanks a lot for ur revert..yes to me my mintOS14 was recognising external USB sortage

.... after typing command
# lsblk -l
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 186.3G 0 disk =========> my 1st internal Hard disk (using to run WIN 7 OS)
sda1 8:1 0 100M 0 part
sda2 8:2 0 39G 0 part
sda3 8:3 0 147.3G 0 part
sdb 8:16 0 37.3G 0 disk =========> my 2nd Hard Disk (using to run Linux)
sdb1 8:17 0 6G 0 part
sdb2 8:18 0 251M 0 part
sdb3 8:19 0 1K 0 part
sdb4 8:20 0 17.5G 0 part / --------------> (Mint 14)
sdb5 8:21 0 12.6G 0 part -----------------> (Ubuntu 12.10)
sdb6 8:22 0 1005M 0 part [SWAP]
sr0 11:0 1 1024M 0 rom ----------> ?? (my DVD ROM??)

& tehn i typed ...

# sudo mount /dev/sdb1 /media

went ok with no error

Later on i got output for

rmisra1@rmisra1-Limuxmint14 ~/Desktop $ dmesg | tail -n 20

[ 1407.888742] sd 8:0:0:0: >[sdg] Device not ready
[ 1407.888748] sd 8:0:0:0: >[sdg]
[ 1407.888750] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1407.888753] sd 8:0:0:0: >[sdg]
[ 1407.888755] Sense Key : Not Ready [current]
[ 1407.888760] sd 8:0:0:0: >[sdg]
[ 1407.888763] Add. Sense: Medium not present
[ 1407.888767] sd 8:0:0:0: >[sdg] CDB:
[ 1407.888768] Read(10): 28 00 00 00 00 00 00 00 08 00
[ 1407.888780] end_request: I/O error, dev sdg, sector 0
[ 1407.888802] sdg: unable to read partition table
[ 1407.889623] sd 8:0:0:0: >[sdg] Attached SCSI removable disk
[ 1407.890989] sdg: detected capacity change from 40007630848 to 0 ===== > as this is 40 GB external USB ..i think now system sensed same ..
[ 1594.051581] usb 2-6: >USB disconnect, device number 6
[ 1606.176034] usb 2-6: >new high-speed USB device number 7 using ehci_hcd
[ 1606.311309] usb 2-6: >New USB device found, idVendor=0ea0, idProduct=2118
[ 1606.311313] usb 2-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1606.311317] usb 2-6: >Product: Storage Device
[ 1606.311321] usb 2-6: >Manufacturer: USB
[ 1606.311749] scsi9 : usb-storage 2-6:1.0

# sudo mount -t minix /dev/sdg /media

mount: no medium found on /dev/sdg

so pl suggest what next i should do ?? .. now i can see devive recognised as /dev/sdg and 40 GB (i know) ...but do not know how to format same and mount automatically as soon as i connect ...

pl suggest ...

Re: system is not recognizing / mounting 40GB USB storage de

Posted: Mon Apr 15, 2013 6:15 am
by viking777
detected capacity change from 40007630848 to 0
I have no idea, I have never seen an error like that in my life, it looks like others have though, this bug reports the same behaviour (although in this case the capacity change occurs after ejecting the disk):

https://bugs.launchpad.net/ubuntu/+sour ... ug/1082920

So far it has no solution though :(

As it is still an open bug report so I suggest you add your experience to it, the more people it affects the more likely it is to be addressed.

Re: system is not recognizing / mounting 40GB USB storage de

Posted: Tue Apr 16, 2013 12:47 pm
by rmisra1
thanks for your suggestion and time to revert to revert over same ...much appreciated ... i looked link shared and agree with you it talk about different solution...
over week end i will do some effort (search options only to find if any clue as solution) to be confident enough before i open Bug request and comply as per need .... to be ticket is open for this form for any one to contribute further to find/share solution like issue i am facing

Rgds//rmisra1

Re: system is not recognizing / mounting 40GB USB storage de

Posted: Tue Apr 16, 2013 2:06 pm
by DrHu
https://www.linuxquestions.org/question ... or-728094/
--also power supply problems with the external USB drive or media errros
Trying a surface test utility may give a better idea of state of device, such as testdisk
https://en.wikipedia.org/wiki/TestDisk
http://www.howtoforge.com/data_recovery_with_testdisk