1 |
On 08/06/2016 02:21 AM, Andrea Conti wrote: |
2 |
> Hi, |
3 |
> |
4 |
>> ~ # parted /dev/sde print |
5 |
>> Model: WD My Book 1230 (scsi) |
6 |
>> Disk /dev/sde: 6001GB |
7 |
>> Sector size (logical/physical): 4096B/4096B |
8 |
> |
9 |
> [...] |
10 |
> |
11 |
>> AFAICS this partition works fine, fsck does not report any problem. The |
12 |
>> funny thing is, it should not have been possible, because of the 2GB limit |
13 |
>> of MBR. |
14 |
> |
15 |
> The real limit of MBR is 2^32 sectors, which amounts to 2TB when using |
16 |
> 512B sectors. Both your disks are using native 4kB sectors (look at the |
17 |
> logical sector size in the parted output), which effectively raises the |
18 |
> MBR limit to 16TB. |
19 |
> |
20 |
> Not that this answers your question, as the Linux kernel has supported |
21 |
> 4kB sectors for years and AFAIK it does not need any special |
22 |
> configuration options to do so... |
23 |
> |
24 |
> andrea |
25 |
|
26 |
It's always a good idea to check alignment on the newer disks. Here's a |
27 |
doc [1]; but it's not always clear how to ensure proper alignment. |
28 |
Supposidly the newer tools do this automation, but it's not 100%; ymmv. |
29 |
|
30 |
|
31 |
[1] |
32 |
https://www.ibm.com/developerworks/linux/library/l-linux-on-4kb-sector-disks/ |
33 |
|
34 |
Many disk are hybrids of the 512/4906 sector size. |
35 |
|
36 |
|
37 |
|
38 |
hth, |
39 |
James |