public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Jaime T <enopatch@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: Testing 1 hard disk in 3 different usb enclosures: kernel reports 3 different "numbers of sectors"
Date: Fri, 21 Mar 2014 09:54:52 +0100	[thread overview]
Message-ID: <532BFE5C.2010401@ladisch.de> (raw)
In-Reply-To: <CAAbCkmKHrKHAQqjE96J=TU2ndrCrhjg6j-x2YZGUY-odWMmyBg@mail.gmail.com>

Jaime T wrote:
> I'd like to use my 1TB Seagate hard disk on my linux box, and I've
> tested it using 3 different usb-sata enclosures.
>
> kernel: [10612.017588] usb 1-1: New USB device found, idVendor=14cd, idProduct=6116
> kernel: [10612.017602] usb 1-1: Product: USB Mass Storage Device
> kernel: [10612.017607] usb 1-1: Manufacturer: Generic
> kernel: [10730.225053] usb 1-1: New USB device found, idVendor=152d, idProduct=2509
> kernel: [10730.225067] usb 1-1: Product: Usb production
> kernel: [10730.225072] usb 1-1: Manufacturer: JMicron
> kernel: [10837.309203] usb 1-2: New USB device found, idVendor=152d, idProduct=2339
> kernel: [10837.309218] usb 1-2: Product: USB to ATA/ATAPI Bridge
> kernel: [10837.309223] usb 1-2: Manufacturer: JMicron
>
> kernel: [10613.019646] sd 25:0:0:0: [sdb] 1953525166 512-byte logical blocks: (1.00 TB/931 GiB)
> kernel: [10731.227818] sd 26:0:0:0: [sdb] 1953524995 512-byte logical blocks: (1.00 TB/931 GiB)
> kernel: [10838.311867] sd 27:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
>
> So Linux (v3.10.25) is reporting 3 different sizes/numbers of sectors
> for the same single hard disk.

The kernel just reports what the device reports.

> Could this be a problem with regards to possible future data
> corruption, or is it something that I can safely ignore?

It is likely that you will not be able to access the sectors beyond
the reported limit.  It might be possible that the enclosure does not
ignore those sectors but uses them to store its own management data.


Regards,
Clemens

      reply	other threads:[~2014-03-21  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19 13:51 Testing 1 hard disk in 3 different usb enclosures: kernel reports 3 different "numbers of sectors" Jaime T
2014-03-21  8:54 ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=532BFE5C.2010401@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=enopatch@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox