[Parted-maintainers] Bug#778712: libparted2: Breakage of RAID GPT header

Phillip Susi psusi at ubuntu.com
Wed Feb 18 21:35:00 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/18/2015 4:05 PM, jnqnfe wrote:
> Background ================= I have a 'fake-raid' RAID0 array,
> created from two HDDs using my motherboard firmware. This is not
> used for root, just data.

FYI, unless you have to dual boot with windows, you should avoid using
fakeraid and stick with conventional linux software raid, which is
much better supported.

> sdb and sdc are the RAID members here and the RAID device is
> md126.

Then you need to only manipulate md126 and ignore sdb and sdc.  Most
of what you seem to be reporting involves looking directly at the
individual disks, which you must not do as that will present a
partial/corrupt view of the raid array.  In other words, if the first
few sectors of the raid array map to sdb, then sdb will appear to have
a partition table in its sector 0 that describes a disk that is twice
the size, since this partition table is actually describing the raid
array and not the individual disk.

The one thing you mention that I can't write off as user error is "but
parted is not and seems to be forcibly applying what it believes to be
correct (ignoring the fact that it was only asked to display info, not
modify anything)".  Can you provide more details here?  Exactly what
command did you run and what changed before vs. after?  Parted should
not be modifying anything on the disk unless you tell it to.  Normally
it will throw a warning telling you something is wrong with the disk
and ask if you want it to fix it and you have to answer "fix" for it
to modify the disk.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJU5QWEAAoJENRVrw2cjl5RwnkH/0jvimRzKxUZjFait+KVZQgW
gq2m6MVJYiDZLX3ajGZj2mxQNVu2RFqDn+YwqAWeDtrQEj/B0TXJC3RbBJpoN3Ao
5kH+lU2Z+YihRDpQMst8VGt1MVA6izcapN1uVeJOcLB2wICSGd0WcjAn8ROSnZNS
o/7hXLh7dhxQZT+2HsTpmWa6pLEVvyBeQ8u2giNB0w8he75qv4/AxCFYAdVqhr4Y
nNfC9zzCtcOGExu12GyigEpWUPlxUcyGsYzaQRR2hG1Vv7LKBsDBsok3qAag033E
DyhyCWDj8NJk1WQIW2ZyVjhcskSyl59Oatd7X3TGSqr2L7yaHV+QAA5Cng+A9fw=
=WuvR
-----END PGP SIGNATURE-----



More information about the Parted-maintainers mailing list