Bug 755748

Summary: Suggest creation of an "/etc/sysconfig/initrd" configuration file for handling of difficult special cases (e.g. iSCSI).
Product: [openSUSE] openSUSE 11.4 Reporter: Dennis Olsson <DOlsson>
Component: BasesystemAssignee: Michal Marek <mmarek>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: lduncan
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SLES 11   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Template of how "/etc/sysconfig/initrd" could look like.

Description Dennis Olsson 2012-04-04 19:04:43 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.10) Gecko/20100506 SUSE/3.5.10-0.1 Firefox/3.5.10

As suggested by Lee Duncan (see bug 630434 comment 42 and 44), I am creating this bug to keep track of the suggested inclusion of a template file named "/etc/sysconfig/initrd" for "mkinitrd".

This template can then be used to configure speciel system setups like having the root device using another path than what "mkinitrd" is capable to figure out ("mkinitrd" does in certain corner cases come up with a wrong path name to the actually used root device), or to handle the special case, where e.g. "/home" is on an iSCSI device, but all other file systems (especially including the root device) are on local disks.
In this case the iSCSI device holding "/home" would have been configured with a start up parameter == "onboot", but "mkinitrd" would *not* include the iSCSI stack in the "initrd", while the root file system is not on an iSCSI device, thus effectively causing the system from being able to boot up, while the "/home" file system is missing.

Using the "/etc/sysconfig/initrd" template and setting the "root_iscsi=1" variable in here, it is possible to force the inclusion of the iSCSI stack to be included in the "initrd" file, thus allowing for the attachment of the iSCSI device holding the "/home" file system.

Reproducible: Always

Steps to Reproduce:
Steps on how to reproduce the root course this template fixes, please, refer to bug 630434.
Actual Results:  
Refer to bug 630434.

Expected Results:  
Refer to bug 630434.
Comment 1 Dennis Olsson 2012-04-04 19:12:23 UTC
Created attachment 484866 [details]
Template of how "/etc/sysconfig/initrd" could look like.
Comment 2 Kun Kun Zhang 2012-04-05 07:32:51 UTC
Hi,could you please have a look at this?I am not sure whether it is right to assign it to you.Thank you.
Comment 3 Stephan Kulow 2012-07-10 15:59:27 UTC
sounds like a feature to me
Comment 4 Michal Marek 2013-09-30 08:09:48 UTC
openSUSE <= 12.1 is no longer active. If you still can reproduce the problem with openSUSE 12.3 or Factory, please reopen the bug and change the product field accordingly. Sorry that I did not have time to address this bug.