linux - USB pen drive not getting assigned anything in /dev/

11
2013-09
  • rutherford

    dmesg | tail -f:

    [17597.228060] usb 1-1.3: new high-speed USB device number 11 using dwc_otg
    [17597.330548] usb 1-1.3: New USB device found, idVendor=18a5, idProduct=0300
    [17597.330580] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [17597.330598] usb 1-1.3: Product: STORE N GO
    [17597.330610] usb 1-1.3: Manufacturer: Verbatim
    [17597.330622] usb 1-1.3: SerialNumber: AA00000000002963
    [17597.348020] scsi3 : usb-storage 1-1.3:1.0
    [17598.740790] scsi 3:0:0:0: Direct-Access     Verbatim STORE N GO       1100 PQ: 0 ANSI: 4
    [17598.745420] sd 3:0:0:0: [sda] 63505152 512-byte logical blocks: (32.5 GB/30.2 GiB)
    [17598.746251] sd 3:0:0:0: [sda] Write Protect is off
    [17598.746282] sd 3:0:0:0: [sda] Mode Sense: 43 00 00 00
    [17598.747136] sd 3:0:0:0: [sda] No Caching mode page present
    [17598.747164] sd 3:0:0:0: [sda] Assuming drive cache: write through
    [17598.753856] sd 3:0:0:0: [sda] No Caching mode page present
    [17598.753888] sd 3:0:0:0: [sda] Assuming drive cache: write through
    [17598.755286]  sda:
    [17598.759699] sd 3:0:0:0: [sda] No Caching mode page present
    [17598.759730] sd 3:0:0:0: [sda] Assuming drive cache: write through
    [17598.759751] sd 3:0:0:0: [sda] Attached SCSI removable disk
    

    Tried to sudo mount -t auto /dev/sda1 /media/usb0/ anyway but unsurprisingly sda1 does not exist. The drive was formatted fat32 with gparted, then mounted on a windows box to collect a bunch of files and now I'm trying unsuccessfully to get debian to mount it, with the above dmesg output.

    Anyone know what's going wrong?

    edit: fdisk -l output:

    Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
    4 heads, 16 sectors/track, 121008 cylinders, total 7744512 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000dbfc6
    
            Device Boot      Start         End      Blocks   Id  System
    /dev/mmcblk0p1            8192      122879       57344    c  W95 FAT32 (LBA)
    /dev/mmcblk0p2          122880     7744511     3810816   83  Linux
    
    Disk /dev/sda: 32.5 GB, 32514637824 bytes
    64 heads, 32 sectors/track, 31008 cylinders, total 63505152 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x6f20736b
    
    This doesn't look like a partition table
    Probably you selected the wrong device.
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   ?   778135908  1919645538   570754815+  72  Unknown
    /dev/sda2   ?   168689522  2104717761   968014120   65  Novell Netware 386
    /dev/sda3   ?  1869881465  3805909656   968014096   79  Unknown
    /dev/sda4   ?  2885681152  2885736650       27749+   d  Unknown
    
    Partition table entries are not in disk order
    
  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    partitioning - What's up with this 64GB USB thumb drive appearing as two disks?
  • bmdhacks

    I recently purchased a 64gb usb thumb drive, but for some reason it appears as two disks on every system I've insert it in. I've tried to repartition it in Linux, Windows, and MacOS to no avail. Here's the dmesg when I insert it in a linux box:

    usb 1-6: USB disconnect, address 4
    usb 1-5: new high speed USB device using ehci_hcd and address 5
    usb 1-5: New USB device found, idVendor=1307, idProduct=0165
    usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-5: Product: USB Mass Storage Device
    usb 1-5: Manufacturer: USBest Technology
    usb 1-5: SerialNumber: 09090388b7b0a7
    usb 1-5: configuration #1 chosen from 1 choice
    scsi5 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 5
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    scsi 5:0:0:0: Direct-Access                               0.00 PQ: 0 ANSI: 2
    scsi 5:0:0:1: Direct-Access                               0.00 PQ: 0 ANSI: 2
    sd 5:0:0:0: Attached scsi generic sg4 type 0
    sd 5:0:0:1: Attached scsi generic sg5 type 0
    sd 5:0:0:0: [sdc] 61440000 512-byte hardware sectors: (31.4 GB/29.2 GiB)
    sd 5:0:0:0: [sdc] Write Protect is off
    sd 5:0:0:0: [sdc] Mode Sense: 00 00 00 00
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
    sd 5:0:0:1: [sdd] 63995904 512-byte hardware sectors: (32.7 GB/30.5 GiB)
    sd 5:0:0:1: [sdd] Write Protect is off
    sd 5:0:0:1: [sdd] Mode Sense: 00 00 00 00
    sd 5:0:0:1: [sdd] Assuming drive cache: write through
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
     sdc:
    sd 5:0:0:0: [sdc] Attached SCSI removable disk
    sd 5:0:0:1: [sdd] Assuming drive cache: write through
     sdd:
    sd 5:0:0:1: [sdd] Attached SCSI removable disk
    

    Can somebody tell me how I can re-partition this thing to appear as a single drive? I've had no luck with any of the partition utilities on any OS because this drive doesn't appear as one disk with two partitions, but two physical disks.

    UPDATE
    The drive is a Centon ElitePlus. I'm beginning to think that something is physically wrong with this drive. Can anyone confirm?


  • Related Answers
  • Marcin

    Here is the explanation directly from Centon:

    Question: I recently purchased one of your 64GB DataStick flash drives, and I was surprised to find that the 64GB device was formatted with two partitions. Why is this? Can it be re-configured?

    Answer: Due to a limitation in Windows 2000/XP/2003 computers, drive volumes cannot be formatted in capacities larger than 32GB using the FAT32 file system. As a result, to ensure the drive can be recognized by the most number of computer systems, our 64GB drive is partitioned into two 32GB volumes. The Windows formatted capacity is roughly around 30GB.

    When the 64GB drive is connected to your Windows computer, it will be assigned two drive letters.

    The drive cannot be reconfigured into a single 64GB partion. The partition on these drives is hardcoded into the USB-to-flash controller chip.

    So no, your drive is not faulty. They decided that the best thing for you, the consumer, is to actually use two seperate drives. I would be pissed if I ordered a USB drive and realized that the manufacturer created this restriction without any mention on the product description page.

  • quack quixote

    It doesn't appear to be two partitions, it appears as two separate drives. If it were two partitions on a single drive, you'd see device names like sdc1 and sdc2.

    It's likely the drive is implemented as two physical drives at the hardware layer, and depends on a special driver to allow the OS to see it as a single drive. It may also be a chipset limitation (in whatever chipset is used in the thumbdrive hardware).

    Either way, it doesn't seem likely that you'll be able to force it to be seen as a single drive. If you require this functionality, return the device for a refund and buy a different device.