On Mar 27 2014 07:59, Per Jessen wrote:
Paul Neuwirth wrote:
On Mar 26 2014 16:03, Per Jessen wrote:
Hmm, he did say it was root, so yes, it has to be in the initrd. Paul, you may have to rebuild the initrd to get the iscsi setup copied in.
yes, i have "node.startup = onboot" in the node configuration. and yes it happens in initrd. i rebuild initrd already, but wondering, how mkinitrd shoulld detect, that the root device (/dev/md0) uses an iscsi device. something to add into a config or into the mkinitrd command?
I think mkinitrd is somewhat uncritical and simply copies in the iscsi config whenever it finds iscsi devices in fstab. Judging by your initrd, it has iscsi so that's covered. Your initrd looks remarkably like one of mine, right down to the tg3 network driver.
You might want to look into if the md startup waits for the iscsi ditto. I've never done a RAID setup such as this, but having mdraid wait for iscsi doesn't sound like something we would do by default.
I don't know the exact behaviour of mdraid. maybe it's supposed to add the device automatically to the existing raid after it's appearance? like: [ 2.639502] md: bind<sda2> [ 2.641575] md/raid1:md0: active with 1 out of 2 mirrors [ 2.643211] created bitmap (1 pages) for device md0 [ 2.644913] md0: bitmap initialized from disk: read 1 pages, set 10 of 128 bits [ 2.653470] md0: detected capacity change from 0 to 8588820480 [ 2.655175] RAID1 conf printout: [ 2.656773] --- wd:1 rd:2 [ 2.658298] disk 0, wo:0, o:1, dev:sda2 [ 2.660010] md0: unknown partition table [...] [ 13.524769] sd 4:0:0:0: [sdb] Attached SCSI disk -> /dev/md0 is not mounted yet, maybe mdraid should see that another md-member came up and add it to existing raid? [ 13.788372] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: acl,user_xattr otherwise, md needs to be started after iscsi devices are settled (or could not be found). aim is to make the machine bootable also without network or without hdd. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org