Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] Install on RAID 1 with local disk and iscsi disk
On Mar 26 2014 16:03, Per Jessen wrote:

Andrey Borzenkov wrote:

On Wed, Mar 26, 2014 at 5:36 PM, Per Jessen <per@xxxxxxxxxxxx> wrote:
Paul Neuwirth wrote:

On Mar 13 2014 11:13, Paul Neuwirth wrote:

as mentioned in another thread, i was going to install opensuse
13.1 64bit on several computers with root on a raid 1 containing a
local disk's partition and an iscsi device.
Unexpectedly installation using yast went very smooth, even initrd
was build with suppoirt of iscsi and md (not so installing with
nfsroot). But after reboot all machines stopped with following

EXT4-fs (md0): unable to read superblock

network, iscsi and md initiated correctly..

i tried to install again, and it successfully boots. But with a
degraded RAID, because network and iscsi is startet after md...
how to get a correct initrd? editing manually to set the right
order? thanks for help

Start by making sure your iscsi device has startup=onboot, that
should bring it up early enough.

If I understand the problem correctly, this all happens in initrd?

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?

mkinitrd -v shows the wrong order of the scripts:

Kernel image: /boot/vmlinuz-3.11.10-7-default
Initrd image: /boot/initrd-3.11.10-7-default
KMS drivers: i915
Root device: /dev/md0 (mounted on / as ext4)
Resume device: /dev/disk/by-id/ata-ST3160815AS_5RX3KQA2-part1 (/dev/sda1)
[BLOCK] /dev/sda -> ata_piix
[BLOCK] /dev/sdb -> iscsi_tcp
[NETWORK] dynamic: enp18s0
Microcode: Adding Intel microcode 06-0f-06
[MODULES] thermal processor fan
[MODULES] raid0
[MODULES] raid1
[MODULES] raid10
[MODULES] raid456
[MODULES] rtc_cmos
[MODULES] scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw
[MODULES] i915
[MODULES] ata_piix iscsi_tcp
[MODULES] usbcore
[MODULES] ohci_hcd
[MODULES] uhci-hcd
[MODULES] ehci_hcd
[MODULES] xhci-hcd
[MODULES] usbhid
[MODULES] hid-logitech-dj
[MODULES] hid-generic
[MODULES] hid-holtek-kbd
[MODULES] hid-lenovo-tpkbd
[MODULES] hid-logitech-dj
[MODULES] hid-ortek
[MODULES] hid-roccat-arvo
[MODULES] hid-roccat-isku
[MODULES] hid-samsung
[MODULES] hid-apple
[MODULES] hid-belkin
[MODULES] hid-cherry
[MODULES] hid-ezkey
[MODULES] hid-microsoft
[MODULES] ehci-pci
[MODULES] ohci-pci
[MODULES] af_packet
[MODULES] pci:v000014E4d0000167Bsv00001734sd000010B2bc02sc00i00
[MODULES] iscsi_tcp
[MODULES] crc32c
[MODULES] scsi_transport_iscsi
[MODULES] iscsi_ibft
[MODULES] bnx2i
[MODULES] iscsi_ibft not present on this architecture, deleted from the list
[MODULES] Unsupported kernel (3.11.10-7-default)
Kernel Modules: thermal_sys thermal processor fan raid0 raid1 raid10 async_tx async_memcpy xor async_xor raid6_pq async_pq async_raid6_recov raid456 scsi_dh scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw video button i2c-algo-bit drm drm_kms_helper i915 ata_piix scsi_transport_iscsi libiscsi libiscsi_tcp iscsi_tcp usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd usbhid hid-logitech-dj hid-generic hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ehci-pci ohci-pci af_packet pps_core ptp libphy tg3 crc32c-intel uio cnic bnx2i
Firmware: tigon/tg3_tso5.bin tigon/tg3_tso.bin tigon/tg3.bin
[MOUNT] Root: /dev/md0
Features: acpi md intel_microcode kms block usb network iscsi
Shared libs: lib64/ lib64/ lib64/ lib64/ usr/lib64/ lib64/ lib64/ lib64/ lib64/ usr/lib64/ usr/lib64/ usr/lib64/ lib64/ lib64/ lib64/ lib64/ lib64/ lib64/ lib64/ lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ usr/lib64/ /lib64/ /lib64/ /lib64/

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups