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:

Hallo,
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
message:

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] 01-acpi.sh: thermal processor fan
[MODULES] 02-start.sh:
[MODULES] 02-start.sh:
[MODULES] 03-md.sh: raid0
[MODULES] 03-md.sh: raid1
[MODULES] 03-md.sh: raid10
[MODULES] 03-md.sh: raid456
[MODULES] 03-rtc.sh: rtc_cmos
[MODULES] 03-scsi_dh.sh: scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw
[MODULES] 03-storage.sh:
[MODULES] 05-kms.sh: i915
[MODULES] 11-block.sh: ata_piix iscsi_tcp
[MODULES] 11-usb.sh: usbcore
[MODULES] 11-usb.sh: ohci_hcd
[MODULES] 11-usb.sh: uhci-hcd
[MODULES] 11-usb.sh: ehci_hcd
[MODULES] 11-usb.sh: xhci-hcd
[MODULES] 11-usb.sh: usbhid
[MODULES] 11-usb.sh: hid-logitech-dj
[MODULES] 11-usb.sh: hid-generic
[MODULES] 11-usb.sh: hid-holtek-kbd
[MODULES] 11-usb.sh: hid-lenovo-tpkbd
[MODULES] 11-usb.sh: hid-logitech-dj
[MODULES] 11-usb.sh: hid-ortek
[MODULES] 11-usb.sh: hid-roccat-arvo
[MODULES] 11-usb.sh: hid-roccat-isku
[MODULES] 11-usb.sh: hid-samsung
[MODULES] 11-usb.sh: hid-apple
[MODULES] 11-usb.sh: hid-belkin
[MODULES] 11-usb.sh: hid-cherry
[MODULES] 11-usb.sh: hid-ezkey
[MODULES] 11-usb.sh: hid-microsoft
[MODULES] 11-usb.sh: ehci-pci
[MODULES] 11-usb.sh: ohci-pci
[MODULES] 12-network.sh: af_packet
[MODULES] 12-network.sh:
[MODULES] 12-network.sh: pci:v000014E4d0000167Bsv00001734sd000010B2bc02sc00i00
[MODULES] 13-iscsi.sh: iscsi_tcp
[MODULES] 13-iscsi.sh: crc32c
[MODULES] 13-iscsi.sh: scsi_transport_iscsi
[MODULES] 13-iscsi.sh: iscsi_ibft
[MODULES] 13-iscsi.sh: 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/ld-2.18.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0 lib64/libcap.so.2.22 usr/lib64/libcom_err.so.2.1 lib64/libcrypt-2.18.so lib64/libc-2.18.so lib64/libdbus-1.so.3.8.2 lib64/libdl-2.18.so usr/lib64/libe2p.so.2.3 usr/lib64/libext2fs.so.2.4 usr/lib64/libkmod.so.2.2.4 lib64/libm-2.18.so lib64/libpthread-2.18.so lib64/libreadline.so.6.2 lib64/libresolv-2.18.so lib64/librt-2.18.so lib64/libselinux.so.1 lib64/libtinfo.so.5.9 lib64/libz.so.1.2.8 usr/lib64/libblkid.so.1.1.0 usr/lib64/libgcrypt.so.11.8.2 usr/lib64/libgpg-error.so.0.10.0 usr/lib64/liblzma.so.5.0.5 usr/lib64/libmount.so.1.1.0 usr/lib64/libpcre.so.1.2.1 usr/lib64/libsgutils2.so.2.0.0 usr/lib64/libsystemd-daemon.so.0.0.10 usr/lib64/libudev.so.1.4.0 usr/lib64/libuuid.so.1.3.0 /lib64/libnss_dns-2.18.so /lib64/libnss_files-2.18.so /lib64/libgcc_s.so.1


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

< Previous Next >
Follow Ups