On 10/28/2014 11:31 PM, Jason Gunthorpe wrote:
> Except "never really use" means "don't fill up the filesystem". If
> the FS uses the last portion of the partition it will corrupt the
> RAID label and restoring the RAID label will corrupt the FS. Which
> is pretty bad, but not immediate.
No; typically partitioning tools do not assign every last sector on
the disk to the partition, so that last bit of disk will never be used
by the fs.
>> FWIW, RHEL gets this right and sets up dmraid on this disc.
>>
>> Interesting.. they must have a patch that hasn't been
>> upstreamed.
>>
>
> Looks like they have a dracut specific version, it seems much
> saner, no crazy parsing of dmraid output.
>
Oh, right... the problem is in the script only, not dmraid itself
right? If you manually run dmraid -ay, it correctly activates the
array right? Maybe I'll take a crack and finally fixing that script
then as that shouldn't be too hard.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/28/2014 11:31 PM, Jason Gunthorpe wrote:
> Except "never really use" means "don't fill up the filesystem". If
> the FS uses the last portion of the partition it will corrupt the
> RAID label and restoring the RAID label will corrupt the FS. Which
> is pretty bad, but not immediate.
No; typically partitioning tools do not assign every last sector on
the disk to the partition, so that last bit of disk will never be used
by the fs.
>> FWIW, RHEL gets this right and sets up dmraid on this disc.
>>
>> Interesting.. they must have a patch that hasn't been
>> upstreamed.
>>
>
> Looks like they have a dracut specific version, it seems much
> saner, no crazy parsing of dmraid output.
>
Oh, right... the problem is in the script only, not dmraid itself
right? If you manually run dmraid -ay, it correctly activates the
array right? Maybe I'll take a crack and finally fixing that script
then as that shouldn't be too hard.
-----BEGIN PGP SIGNATURE-----
UUPbXAAoJEI5FoC IzSKrwaE8H/ 0R0d3soXV+ VeWQpr6gCKkoL 22fvYVrhefxuKSL ZRWi0hXawq7+ iLhHsuC9ZQHMxvA ZvFPbiD bJiJgRbiyCrG7LO UWvZ6ZIS48RfffA 4eY6noFqjZj/ 4gcHzR5kf4aeZj grLK/a3LLYnLr1I Q9ITGyZfwPBvX+ 0/QnbTN9sjzmWPw BORhd OBDtrno0hAuXqWf JRR3Ht/ 3lsxmd2jNYWfNEc ouKeQj/ agOrO nI27Z4C1yXVWwVd MqecJ3LcsTXaF46 0JtLaXoIMh3fzF6 AcE=
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJ
aczmKEWWgVHcv2t
Ywzbhy1/
ZyV8hN8SGZcQqU/
LmOMgvasySKLwWb
Bd46NC5frOxNuM3
=wh7o
-----END PGP SIGNATURE-----