Description of problem: After configuring an MD array consisting of iSCSI member devices the array does not start automatically following a reboot. The iscsi initiator service does not activate RAID/LVM/etc. itself and has not started by the time the MD activation in rc.sysinit runs. Currently the netfs service can be used to activate LVM/multipath devices using iSCSI but does not currently support MD activation. Version-Release number of selected component (if applicable): initscripts-8.45.19.EL-1 How reproducible: 100% Steps to Reproduce: 1. Configure some iSCSI devices 2. Create an MD array using these devices & verify it works 3. Reboot Actual results: MD array not started automatically. Manually performing an auto run with mdadm brings the array online. Expected results: Array starts automatically. Additional info:
Filing this against initscripts seemed reasonable as LVM/multipath etc. are handled by netfs but not currently md - let me know if that's wrong & I'll move to iscsi-initiator-utils.
Created attachment 329348 [details] add md activation before lvm/device-mapper in netfs add md activation before lvm/device-mapper in netfs, as is currently done in rc.sysinit
I'm not sure that we technically 'support' RAID over iscsi; AFAIK, we've told people to use DM in this situation.
Wasn't it a user who wanted to use MD over DM that we told to go away? That seems reasonable since the ordering is all wrong for it (and doing it right involves nasty loops until you're sure you're at a leaf device). This is only a very minor change (and matches the current activation flow in rc.sysinit).
Hm, anaconda will let you set it up that way, so we should make sure it works. Oh, for the glorious future where we can just do this all cleanly on-demand via udev.
Moving to 5.4, since we're already doing initscripts there.
Please test the erratum candidate: http://people.redhat.com/harald/downloads/initscripts/initscripts-8.45.26.1.el5/
~~ Attention - RHEL 5.4 Beta Released! ~~ RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner! If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity. Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value. Questions can be posted to this bug or your customer or partner representative.
Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: add md activation before lvm/device-mapper in netfs
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1344.html