sgdisk hangs on Intel "fake" RAID

Beiträge: 3
Registriert: 15 Dez 2016, 09:37
Wohnort: Bremen, Gernamy

sgdisk hangs on Intel "fake" RAID

Beitragvon julen » 07 Sep 2018, 20:04

I'm trying to deploy opsi for installing the standard win7-x64 on a PC with an ASUSTeK PRIME Q27M-C motherboard.
When setting the on-board "RAID" (Fake-RAID) to RAID1, the miniroot image finds the /dev/md126 (as well as /dev/sda and /dev/sdb), but it is unable to write to it.

The log file hangs on:

Code: Alles auswählen

[5] [Sep 07 19:37:09] Disk order: (|78)
[5] [Sep 07 19:37:09]  - /dev/md126 (rotational? True) (sizeG 931) (uuid None) (|80)
[5] [Sep 07 19:37:09]  - /dev/sda (rotational? True) (sizeG 931) (uuid None) (|80)
[5] [Sep 07 19:37:09]  - /dev/sdb (rotational? True) (sizeG 931) (uuid None) (|80)
[5] [Sep 07 19:37:09] Using disk device /dev/md126 (|826)
[5] [Sep 07 19:37:09] Check if disk /dev/md126 is ssd or classic (rotational) HD (|85)
[5] [Sep 07 19:37:09] Disk /dev/md126 is rotational (Classic HD) (|92)
[5] [Sep 07 19:37:09] Clear partition table of /dev/md126 (|848)
[6] [Sep 07 19:37:09] Executing: /usr/sbin/sgdisk --zap-all /dev/md126 (|854)
[6] [Sep 07 19:37:09] Using encoding 'ANSI_X3.4-1968' (|887)

From that point on, any attempt to use sgdisk, fdisk, blkid or anything that points to /dev/md126 gets stuck.

It feels like a kernel issue (module missing).
It also gets stuck if I run "dd" before the sgdisk calls, as:

Code: Alles auswählen

dd if=/dev/zero of=/dev/md126 bs=512 count=1

/dev/disk/by-uuid is missing, and blkid does not display any UUID.

If I boot with a standard recent Debian 9 I don't see any storage devices at all, but with a recent CentOS7 I can run the

Code: Alles auswählen

sgdisk --zap-all /dev/md126

without problem.

Maybe the "dmraid=true" option should be passed to the bootloader and the module included in the miniroot image?

And sure... deploying in non-raid mode installs perfectly on /dev/sda. So it really looks like a module is missing.


Best regards

Beiträge: 1011
Registriert: 10 Jun 2015, 12:19

Re: sgdisk hangs on Intel "fake" RAID

Beitragvon m.radtke » 11 Sep 2018, 13:51

the dmraid modules are included in the bootimage
which version of the desired netboot product are you using?
Are you running in EFI mode?

Kein Support per DM!
opsi support -
For productive opsi installations we recommend support contracts.