public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: james <garftd@verizon.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Partition of 3TB USB drive not detected
Date: Sat, 6 Aug 2016 13:21:25 -0500	[thread overview]
Message-ID: <3af95a37-2e68-8a8e-1a5a-f9525f4ad91d@verizon.net> (raw)
In-Reply-To: <934d337b-3559-d213-7182-4e72ecf60e96@alyf.net>

On 08/06/2016 02:21 AM, Andrea Conti wrote:
> Hi,
>
>> ~ # parted /dev/sde print
>> Model: WD My Book 1230 (scsi)
>> Disk /dev/sde: 6001GB
>> Sector size (logical/physical): 4096B/4096B
>
> [...]
>
>> AFAICS this partition works fine, fsck does not report any problem. The
>> funny thing is, it should not have been possible, because of the 2GB limit
>> of MBR.
>
> The real limit of MBR is 2^32 sectors, which amounts to 2TB when using
> 512B sectors. Both your disks are using native 4kB sectors (look at the
> logical sector size in the parted output), which effectively raises the
> MBR limit to 16TB.
>
> Not that this answers your question, as the Linux kernel has supported
> 4kB sectors for years and AFAIK it does not need any special
> configuration options to do so...
>
> andrea

It's always a good idea to check alignment on the newer disks. Here's a 
doc [1]; but it's not always clear how to ensure proper alignment. 
Supposidly the newer tools do this automation, but it's not 100%; ymmv.


[1] 
https://www.ibm.com/developerworks/linux/library/l-linux-on-4kb-sector-disks/

Many disk are hybrids of the 512/4906 sector size.



hth,
James



  reply	other threads:[~2016-08-06 17:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31 13:37 [gentoo-user] Partition of 3TB USB drive not detected Jörg Schaible
2016-07-31 15:42 ` Daniel Frey
2016-07-31 17:14   ` [gentoo-user] " Jörg Schaible
2016-07-31 17:49     ` Mick
2016-07-31 20:38       ` [gentoo-user] " Jörg Schaible
2016-07-31 22:05         ` Mick
2016-08-03 17:02           ` [gentoo-user] " Jörg Schaible
2016-08-06  7:21             ` [gentoo-user] " Andrea Conti
2016-08-06 18:21               ` james [this message]
2016-07-31 17:56     ` [gentoo-user] " Jörg Schaible
2016-07-31 18:11       ` Alarig Le Lay
2016-07-31 20:17       ` james
2016-07-31 20:48         ` [gentoo-user] " Jörg Schaible
2016-07-31 17:28 ` [gentoo-user] " james
2016-07-31 17:45   ` [gentoo-user] " Jörg Schaible
2016-08-01  6:45 ` [gentoo-user] " J. Roeleveld
2016-08-01 13:05   ` james

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=3af95a37-2e68-8a8e-1a5a-f9525f4ad91d@verizon.net \
    --to=garftd@verizon.net \
    --cc=gentoo-user@lists.gentoo.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