LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can not mount drive (https://www.linuxquestions.org/questions/debian-26/can-not-mount-drive-4175432442/)

Testeroni 10-15-2012 11:16 AM

Can not mount drive
 
Guys, pls help!

THe problem is: my usb stick is only seen under lsusb:

Bus 001 Device 007: ID 090c:3000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)

after
grep SCSI /var/log/messages

it is apparently /dev/sdb
but it it can not be mounted, it cannot be seen

even under XP it only shows F drive and says plug it in

gparted etc don't help.

Any ways I can recover it or is it dead? like physically dead?

Kipkay211 10-16-2012 05:55 AM

Are there files on the drive that are important or you don't want to loose?

zQUEz 10-16-2012 06:23 AM

when you say gparted didn't help, what did it report? Did it say there are no partitions on the drive at all or it didn't recognize the drive as even being present?

Hungry ghost 10-16-2012 08:21 AM

What does the following command output? (Execute it as root with the USB stick plugged in):

Code:

fdisk -l

Testeroni 10-16-2012 12:23 PM

fdisk -l

Disk /dev/sda: 1500 GB, 1500299297280 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 180911 1453167576 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 180911 182402 11976457 82 Linux swap
Warning: Partition 2 does not end on cylinder boundary.
Warning: Unable to open /dev/fd0 read-write (file system is read-only). /dev/fd0 has been opened read-only.

I don't care about files on it....do not need to restore anything

*************************************

gparted /dev/fd0
======================
libparted : 2.3
======================
Unable to open /dev/fd0 read-write /dev/fd0 has been opened read-only.
Unable to open /dev/fd0 read-write /dev/fd0 has been opened read-only.


it keeps on searching tho doesn't see/show anything

Testeroni 10-18-2012 12:36 PM

Any ideas? Or the usb stick's dead?

P.S. it happened after deleting all the files from Thunar(under root)
even extra .Trash001 folders


No physical damage, didn't drop it or anything like that

michaelk 10-18-2012 01:29 PM

Look at the output of the dmesg command. What are the errors associated with the drive when it is plugged in? Not enough information to tell but it could be physically dead.

Testeroni 10-18-2012 02:02 PM

dmesg |grep -i 'SCSI device'
grep SCSI /var/log/messages


Oct 15 20:11:46 MONSTRO kernel: [ 2053.069069] sd 12:0:0:0: [sdb] Attached SCSI removable disk

Testeroni 10-18-2012 02:05 PM

i'm not that technical, but can it break down by just deleting files....(incorrectly tho, but still....can't be "filesystem" reformatted/re set etc ?)

TobiSGD 10-18-2012 03:02 PM

Please don't grep the output, give us the complete output that is generated when plugging in that device.

Testeroni 10-19-2012 09:55 AM

No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_3000_noserial.

[342207.172386] usb 1-1: new high speed USB device using ehci_hcd and address 11
[342210.378133] usb 1-1: New USB device found, idVendor=090c, idProduct=3000
[342210.378144] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[342210.378153] usb 1-1: Product: SM3255AA MEMORY BAR
[342210.378159] usb 1-1: Manufacturer: Silicon Motion,Inc.
[342210.378383] usb 1-1: configuration #1 chosen from 1 choice
[342210.378771] scsi16 : SCSI emulation for USB Mass Storage devices
[342210.378930] usb-storage: device found at 11
[342210.378932] usb-storage: waiting for device to settle before scanning
[342215.376889] usb-storage: device scan complete
[342215.378950] scsi 16:0:0:0: Direct-Access USB MEMORY BAR 1000 PQ: 0 ANSI: 0 CCS
[342215.379925] sd 16:0:0:0: Attached scsi generic sg2 type 0
[342215.381283] sd 16:0:0:0: [sdb] Attached SCSI removable disk

zQUEz 10-20-2012 05:21 AM

what happens when you try and partition /dev/sdb?
Or, what happens if you just create a raw filesystem on the entire device - e.g.
Code:

mkfs -t vfat /dev/sdb

Testeroni 10-21-2012 02:19 PM

[ 2564.364717] usb 1-1: new high speed USB device using ehci_hcd and address 5
[ 2567.570806] usb 1-1: New USB device found, idVendor=090c, idProduct=3000
[ 2567.570816] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2567.570823] usb 1-1: Product: SM3255AA MEMORY BAR
[ 2567.570828] usb 1-1: Manufacturer: Silicon Motion,Inc.
[ 2567.571030] usb 1-1: configuration #1 chosen from 1 choice
[ 2567.571322] scsi10 : SCSI emulation for USB Mass Storage devices
[ 2567.571462] usb-storage: device found at 5
[ 2567.571464] usb-storage: waiting for device to settle before scanning
[ 2572.572315] usb-storage: device scan complete
[ 2572.574408] scsi 10:0:0:0: Direct-Access USB MEMORY BAR 1000 PQ: 0 ANSI: 0 CCS
[ 2572.575395] sd 10:0:0:0: Attached scsi generic sg2 type 0
[ 2572.577105] sd 10:0:0:0: [sdb] Attached SCSI removable disk




mkfs -t vfat /dev/sdb
mkfs.vfat 3.0.9 (31 Jan 2010)
/dev/sdb: No medium found

TobiSGD 10-21-2012 02:26 PM

OK, as we can see the disk is recognized as /dev/sdb, but there seem to be now partitions on it. Please post the output of
Code:

parted -l /dev/sdb
started as root.

Testeroni 10-21-2012 06:44 PM

parted -l /dev/sdb
Model: ATA ST31500341AS (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 1488GB 1488GB primary ext3 boot
2 1488GB 1500GB 12,3GB primary linux-swap(v1)


Warning: Unable to open /dev/fd0 read-write
/dev/fd0 has been opened read-only.


and nothing happens afterwards


All times are GMT -5. The time now is 06:13 AM.