| Summary: | Enable uuid for RAID | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Nicolas Lécureuil <mageia> |
| Component: | Installer | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | NEEDINFO --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11 |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | enable UUIDs for /dev/mdX devices | ||
|
Nicolas Lécureuil
2013-09-16 09:51:40 CEST
Assignee:
bugsquad =>
thierry.vignaud Have you actually tested my patch? Keywords:
(none) =>
NEEDINFO i will this week. As i couldn't i just pasted my co worker patch. He told me that w/o (mapper) there was no dmraid support. but i couldn't verify yet. but after testing, to have uuid in grub i need the attached patch, your seems to work only if we install with mdadm directly. Which attachment? i mean the one in the initial bugreport. I tried yours but grub wasn't using UUID then. I think this is because our installer use dmraid by default ( i think we should migrate our installer to make use of mdadm by default instead ) @tv and @mageia@nicolaslecureuil.fr It is not clear from this BR who is waiting for whom to give more info since 14 months. Please review if still current or if otherwise: close please. Thanks
Thierry Vignaud
2015-04-28 07:17:30 CEST
Keywords:
(none) =>
PATCH I'll work on switching from dmraid to mdadm for ISW in mga6. That mean quite some work: - supporting partionable arrays - detecting containers - changing the way we write /etc/mdadm.conf - using UUIDs for RAID - ... Created attachment 8101 [details]
enable UUIDs for /dev/mdX devices
(In reply to Thierry Vignaud from comment #8) > Created attachment 8101 [details] > enable UUIDs for /dev/mdX devices Currently, that parts reads: sub should_prefer_UUID { my ($dev) = @_; $dev =~ /^((?:[hsv]|xv)d|mmcblk|nvme)/; but the "hsv" wasn't replaced by "hmsv", like in your patch. Should that still be done? Keywords:
NEEDINFO =>
(none) i don't have the hardware at all btw so i can't do any tests. |
this patch allow to enable uuid for raid ( dmraid/mdadm ) : diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 01e6662..4653792 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -230,7 +230,7 @@ sub prefix_for_dev { sub should_prefer_UUID { my ($dev) = @_; - $dev =~ /^((?:[hsv]|xv)d)/; + $dev =~ /^((?:[hsvm]|xv)d)|^(mapper)/; } sub symlink_now_and_register { Reproducible: Steps to Reproduce: