sgdisk hangs on Intel "fake" RAID

julen
Beiträge: 1
Registriert: 15 Dez 2016, 09:37

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

opsi-linux-bootimage-20180713-1.1.noarch
opsipxeconfd-4.0.7.9-2.2.noarch
opsi-depotserver-4.0.7.3-3.2.noarch

Best regards
Julen

Benutzeravatar
m.radtke
Beiträge: 609
Registriert: 10 Jun 2015, 12:19

Re: sgdisk hangs on Intel "fake" RAID

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

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

cheers
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.