linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niclas Arndt" <niclas@arndt.se>
To: linux-raid@vger.kernel.org
Subject: GRUB2 MBR/GPT sizing question
Date: Wed, 15 May 2013 00:10:36 +0200	[thread overview]
Message-ID: <d3d9bbafd33a3a4b9df641357a9d47aa.squirrel@mail.arndt.se> (raw)

Hi,

Sorry if this is slightly off-topic. I'm trying to figure out the HDD size
limitation using GRUB2 MBR-only with three md raid sets:

6*2 TB Samsung HD204UI partitioned like so:
Boot from sda MBR
15 GB / on raid1 pair ext4
15 GB swap on raid1 pair
32 MB unused fat16 per drive
1.9 TB /storage on raid 5 ext4 using all 6 drives

The above has been working flawlessly on openSUSE 11.3, 11.4, 12.2, and
initial install on 12.3. However, the first 12.3 kernel update replaced
GRUB2 with a failing GRUB0.97(!).

After much tinkering, I gdisk-converted the drives to a GRUB2 MBR+GPT with
the 32 MB partition used for grub_bios. This survives the kernel update,
so I think that I no longer have a problem. Either way, I would like to
understand if I was wrong or if the kernel update is misbehaving.

Surely, MBR supports 2TB drives with 512-byte sectors even though there is
a larger md raid?

Similarly, another identical server with 4*4TB Deskstar 7K4000 drives had
exactly the same MBR-only problem (also avoided by converting to MBR+GPT),
but in this case it might still work with 4kB sectors. (But I'm not sure
if this advanced format drive is actually using 4kB addressing rather than
512B emulation.)

Could somebody please shed some light on this?

Thanks in advance

Niclas

                 reply	other threads:[~2013-05-14 22:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=d3d9bbafd33a3a4b9df641357a9d47aa.squirrel@mail.arndt.se \
    --to=niclas@arndt.se \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).