FS#45628 - [mdadm] udev rules missing partuuid linking
Attached to Project:
Arch Linux
Opened by Matt Corallo (BlueMatt) - Sunday, 12 July 2015, 19:42 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 30 March 2022, 07:59 GMT
Opened by Matt Corallo (BlueMatt) - Sunday, 12 July 2015, 19:42 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 30 March 2022, 07:59 GMT
|
Details
mdadm raid arrays with a gpt partition table on them do not
get partuuid/partlabel entries in
/dev/disk/by-{partuuid,partlabel} created by udev.
The fix is rather simple: 63-md-raid-arrays.rules needs to copy the following two lines from 60-persistent-storage.rules: # by-partlabel/by-partuuid links (partition metadata) ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}" ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="disk/by-partlabel/$env{ID_PART_ENTRY_NAME}" |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 30 March 2022, 07:59 GMT
Reason for closing: Fixed
Additional comments about closing: 4.2-1
Wednesday, 30 March 2022, 07:59 GMT
Reason for closing: Fixed
Additional comments about closing: 4.2-1
Comment by
Matt Corallo (BlueMatt) -
Wednesday, 18 November 2015, 06:24 GMT
Comment by Jan Chren (rindeal) -
Wednesday, 30 October 2019, 02:06 GMT
Comment by Jan Chren (rindeal) -
Wednesday, 30 October 2019, 03:55 GMT
Any update on this? Its a two-line change and I even provided a
patch!
This should really be patched upstream
And in fact, the by-partuuid part was fixed in
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=3c9b46cf9ae15a9be98fc47e2080bd9494496246, which should land in v4.2