USB mounted ATA disk reports wrong size - Hardware

This is a discussion on USB mounted ATA disk reports wrong size - Hardware ; Hi, I bought an 80GB Seagate ATA drive and an external enclosure with USB cable. Powered up on Debian Sid it shows: usb 5-2: new high speed USB device using ehci_hcd and address 7 Dec 7 11:26:26 debian kernel: usb ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: USB mounted ATA disk reports wrong size

  1. USB mounted ATA disk reports wrong size

    Hi,

    I bought an 80GB Seagate ATA drive and an external enclosure with USB
    cable.

    Powered up on Debian Sid it shows:

    usb 5-2: new high speed USB device using ehci_hcd and address 7
    Dec 7 11:26:26 debian kernel: usb 5-2: configuration #1 chosen from 1
    choice
    Dec 7 11:26:26 debian kernel: scsi4 : SCSI emulation for USB Mass
    Storage devices
    Dec 7 11:26:26 debian kernel: usb-storage: device found at 7
    Dec 7 11:26:26 debian kernel: usb-storage: waiting for device to
    settle before scanning
    Dec 7 11:26:31 debian kernel: Vendor: ST380211 Model: 0A
    Rev: 0000
    Dec 7 11:26:31 debian kernel: Type: Direct-Access
    ANSI SCSI revision: 00
    Dec 7 11:26:31 debian kernel: SCSI device sdb: 66055248 512-byte hdwr
    sectors (33820 MB)
    Dec 7 11:26:31 debian kernel: sdb: Write Protect is off
    Dec 7 11:26:31 debian kernel: sdb: Mode Sense: 27 00 00 00
    Dec 7 11:26:31 debian kernel: sdb: assuming drive cache: write through
    Dec 7 11:26:31 debian kernel: SCSI device sdb: 66055248 512-byte hdwr
    sectors (33820 MB)
    Dec 7 11:26:31 debian kernel: sdb: Write Protect is off
    Dec 7 11:26:31 debian kernel: sdb: Mode Sense: 27 00 00 00
    Dec 7 11:26:31 debian kernel: sdb: assuming drive cache: write through
    Dec 7 11:26:31 debian kernel: sdb: unknown partition table
    Dec 7 11:26:31 debian kernel: sd 4:0:0:0: Attached scsi disk sdb
    Dec 7 11:26:31 debian kernel: sd 4:0:0:0: Attached scsi generic sg1
    type 0
    Dec 7 11:26:31 debian kernel: usb-storage: device scan complet


    Except the size is wrong: the faceplate on the disk says 80GB, not
    33GB.

    What is wrong?
    Thanks!

    Hugo


  2. Re: USB mounted ATA disk reports wrong size

    "hugovanwoerkomqt@yahoo.com" wrote:
    > the size is wrong: the faceplate on the disk says 80GB, not
    > 33GB.
    >
    > What is wrong?


    Maybe the jumpers on the disk are set to limit the capacity to 32 GB?

    regards Henrik
    --
    The address in the header is only to prevent spam. My real address is:
    hc8(at)uthyres.com Examples of addresses which go to spammers:
    root@variousus.net root@localhost


  3. Re: USB mounted ATA disk reports wrong size

    Have you tried attaching the drive to a native IDE port in some
    computer?
    Also, the drive seems to be "factory-clean" (no partition table).
    While you have the drive connected to a native IDE port, try using
    fdisk to create one big partition. No need to mkfs just yet, I guess.
    Just create a big partition and write the partition table. Then retry
    on USB. There's a tiny chance it might help...

    This used to help me on previous occasions where Linux would make up
    its own geometry, different than what a PC BIOS would normally choose.
    I doubt that this approach would be able to correct the "capacity"
    parameter, as that should be reported somehow "out of band", but you
    never know...

    Frank Rysanek

    > Dec 7 11:26:31 debian kernel: Vendor: ST380211 Model: 0A
    > Dec 7 11:26:31 debian kernel: SCSI device sdb: 66055248 512-byte hdwr
    > sectors (33820 MB)
    > Dec 7 11:26:31 debian kernel: sdb: assuming drive cache: write through
    > Dec 7 11:26:31 debian kernel: sdb: unknown partition table



  4. Re: USB mounted ATA disk reports wrong size


    Frantisek.Rysanek@post.cz wrote:
    > Have you tried attaching the drive to a native IDE port in some
    > computer?
    > Also, the drive seems to be "factory-clean" (no partition table).
    > While you have the drive connected to a native IDE port, try using
    > fdisk to create one big partition. No need to mkfs just yet, I guess.
    > Just create a big partition and write the partition table. Then retry
    > on USB. There's a tiny chance it might help...
    >
    > This used to help me on previous occasions where Linux would make up
    > its own geometry, different than what a PC BIOS would normally choose.
    > I doubt that this approach would be able to correct the "capacity"
    > parameter, as that should be reported somehow "out of band", but you
    > never know...
    >
    > Frank Rysanek
    >
    > > Dec 7 11:26:31 debian kernel: Vendor: ST380211 Model: 0A
    > > Dec 7 11:26:31 debian kernel: SCSI device sdb: 66055248 512-byte hdwr
    > > sectors (33820 MB)
    > > Dec 7 11:26:31 debian kernel: sdb: assuming drive cache: write through
    > > Dec 7 11:26:31 debian kernel: sdb: unknown partition table



    This is interesting. Thanks for the replies.
    I had the master jumper on the wrong set of pins.
    This disk does not have the pins marked like some do and I had the
    jumper on the last set of pins while master is the first set of pins.
    Now it shows:

    ....
    SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
    ....

    Thanks again.

    Hugo


+ Reply to Thread