On 10/28/2014 09:55 PM, Jason Gunthorpe wrote:
> Fundamentally, if /dev/sda has a valid RAID label then it *MUST* be setup
> and accessed through the dmraid device and *NEVER* via /dev/sda.
>
> Otherwise the installer will see a disc that is too big and it will destroy
> the RAID label at the end of the disc, then the system will not boot.
For MBR partitioned disks this isn't really a problem because they never really use the last bit of the disk anyhow, but for GPT, yes... that would be a problem.
> FWIW, RHEL gets this right and sets up dmraid on this disc.
Interesting.. they must have a patch that hasn't been upstreamed.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 10/28/2014 09:55 PM, Jason Gunthorpe wrote:
> Fundamentally, if /dev/sda has a valid RAID label then it *MUST* be setup
> and accessed through the dmraid device and *NEVER* via /dev/sda.
>
> Otherwise the installer will see a disc that is too big and it will destroy
> the RAID label at the end of the disc, then the system will not boot.
For MBR partitioned disks this isn't really a problem because they never really use the last bit of the disk anyhow, but for GPT, yes... that would be a problem.
> FWIW, RHEL gets this right and sets up dmraid on this disc.
Interesting.. they must have a patch that hasn't been upstreamed.
-----BEGIN PGP SIGNATURE-----
UUFmzAAoJENRVrw 2cjl5RJnEH/ A2Pjp+b1iD1E0To Ed1xW2DM 5Widz9ouMaHVwWg 2qRdFTl2lhjrjGu qWG5reql23Nj+ jelHiD cyXG8WAihfmqexZ ubHl/nBES7COWc0 Qw1Zk9ZMGFZ+ IF0uEK0 9mGJ37UzqCunLgl aljZ+cbnLPSFEqm bcgLXC7IU998Wny Ddn2 /NLXyBKBaI7U4HM VecH49LKW7uRkPv i2u2ydYGax0QQsh q4wc72ArQU f9oLqK5GJeXTe8Z GgnTRQn654+ tHu7VWJdJeVlnKv bu4IjHq+ o=
Version: GnuPG v1
iQEcBAEBCgAGBQJ
T5N6p2PMh4QiO9S
yWZnYQv0HIRIzTs
o2f2oH1mVD6jLF3
klhYaMez/
374DMshk7DDh/
=Wq8i
-----END PGP SIGNATURE-----