openEuler 24.03 RAID1+LVM install log — from 'Kickstart insufficient' troubleshooting to biosboot, mdstat verification and online expansion (verified on a dual-disk VM)
Verification scope
Section titled “Verification scope”Evidence on this page comes from the machine track (E3) — openEuler 24.03 LTS SP4 RAID1+LVM install and expansion, verified on PVE VM 383 (2×10G SCSI + a later-added 4G SCSI) (2026-11-04/05): the full troubleshooting record in evidence/logs/openeuler-p2-raid-install-vm.log, the final ks file openeuler-p2-raid-ks-v4.cfg, expansion commands and output in openeuler-p2-raid-expand-vm.log; screenshots in evidence/screenshots/euler-raid-*.png (including the original error dialog).
Target layout and the final ks
Section titled “Target layout and the final ks”sda(10G) sdb(10G)├─sda1 1M biosboot ├─sdb1 1M biosboot├─sda2 1G raid member ├─sdb2 1G raid member│ └─md0 RAID1 → /boot ext4 988M ┘└─sda3 9G raid member └─sdb3 9G raid member └─md1 RAID1 (LVM2_member, 9G) vg0: lv-root 8G xfs (/) + lv-swap 1GThe partitioning section of the ks (full file in the evidence directory; --grow lets the md1 members fill the remainder):
bootloader --timeout=1zerombrclearpart --all --initlabel --drives=sda,sdbpart biosboot --fstype=biosboot --size=1 --ondisk=sdapart biosboot --fstype=biosboot --size=1 --ondisk=sdbpart raid.11 --size=1024 --ondisk=sdapart raid.12 --size=1024 --ondisk=sdbraid /boot --level=1 --device=md0 --fstype=ext4 raid.11 raid.12part raid.21 --size=1024 --grow --ondisk=sdapart raid.22 --size=1024 --grow --ondisk=sdbraid pv.01 --level=1 --device=md1 --fstype=lvmpv raid.21 raid.22volgroup vg0 --pesize=4096 pv.01logvol / --vgname=vg0 --name=lv-root --fstype=xfs --size=6144 --growlogvol swap --vgname=vg0 --name=lv-swap --size=1024Troubleshooting log: three layers of localization for ‘Kickstart insufficient’
Section titled “Troubleshooting log: three layers of localization for ‘Kickstart insufficient’”The first three install rounds all stalled on the same symptom — the SUMMARY screen’s Installation Destination showed “Kickstart insufficient”, Storage Configuration fell back to Automatic, and installation could not begin. That error carries zero information; the real root cause has to be dug out yourself:
- anaconda.log (TTY2): only
ui.gui.spokes.storage: Failed to save storage configuration— no stack, no reason; - Whether the ks was picked up (TTY2):
grep -c raid /run/install/ks.cfg= 7 ✓ andlsblkconfirmed both sda/sdb 10G disks present ✓ — ruling out the two usual suspects, “the ks didn’t take effect” and “wrong disk names”; - The real cause was in the GUI: clicking into Installation Destination, the dialog behind the bottom banner
Error checking storage configuration. Click for details.gave the answer outright (screenshoteuler-raid-error-details.png):
Your BIOS-based system needs a special partition to boot from a GPT disk label.To continue, please create a 1MiB 'biosboot' type partition.

clearpart --initlabel laid a GPT label on these VM disks, and BIOS booting a GPT disk requires a biosboot partition — autopart creates it automatically, but a hand-written partitioning scheme must declare it explicitly. After adding the two 1MiB biosboot partitions (one each on sda/sdb), round four passed on the first try.

Troubleshooting methodology distilled: Anaconda’s storage-validation errors do not state the reason in the logs — “Failed to save storage configuration” is a dead end; clicking the GUI’s “Click for details” is the actual answer. Two other pits worth recording that were dug for nothing: with the md1 member partitions pinned at
--size=1024, the root logvol (6144M) would not fit and reported insufficient the same way (member partitions need--growto fill the remainder).
Post-install layout verification (verified output)
Section titled “Post-install layout verification (verified output)”$ cat /proc/mdstatmd0 : active raid1 sdb2[1] sda2[0] 1046528 blocks super 1.2 [2/2] [UU]md1 : active raid1 sdb3[1] sda3[0] 9424896 blocks super 1.2 [2/2] [UU]$ lvslv-root vg0 -wi-ao---- 7.98g lv-swap vg0 -wi-ao---- 1.00g$ df -h //dev/mapper/vg0-lv--root 8.0G 2.7G 5.3G 35% //dev/md0 988M 195M 726M 22% /boot[UU] = both disks healthy and in sync; md metadata super 1.2 (when /boot sits on RAID1, Anaconda handles the boot-metadata compatibility — verified bootable directly from BIOS).
Online expansion, verified: vgextend + lvextend + xfs_growfs
Section titled “Online expansion, verified: vgextend + lvextend + xfs_growfs”Online expansion after adding a 4G disk to the running machine (no reboot, no unmounting at any point):
$ pvcreate /dev/sdb → Physical volume "/dev/sdb" successfully created$ vgextend vg0 /dev/sdb → Volume group "vg0" successfully extended$ vgs → vg0 2 2 0 wz--n- 12.98g <4.00g$ lvextend -L +2G /dev/vg0/lv-root → Logical volume vg0/lv-root successfully resized$ xfs_growfs / → data blocks changed from 2093056 to 2617344$ df -h / → /dev/mapper/vg0-lv--root 10G (was 8.0G)XFS only grows, never shrinks; lvextend -r (growing the filesystem at the same time) works the same on openEuler (the lvm2 toolchain shares its origin with EL) — this experiment split it into steps so each stage could be evidenced.
A finding from testing: disk order reshuffles after hot-plug + reboot
Section titled “A finding from testing: disk order reshuffles after hot-plug + reboot”A lesson this expansion experiment handed over for free: after a reboot the newly inserted 4G disk claimed a lower major device number — the original RAID members moved from sda/sdb to sda/sdc, and the new disk took over as sdb. The first expansion command, pvcreate /dev/sdc, failed outright with device is partitioned (it was a RAID member!). Conclusion: disk order is unreliable after hot-plug + reboot; any storage script must locate disks by /dev/disk/by-id/ (WWN/UUID) or LVM labels, with device names kept only for eyeball confirmation within the current session.
Unverified
Section titled “Unverified”- RAID1 degradation/rebuild after disk swap (the mdadm —add/—fail flow) not tested in this environment (it belongs to mdadm operations; the hub’s storage page has the generic flow; openEuler-side verification is queued for a later batch);
- The UEFI + RAID1 /boot combination not tested in this environment (this page is BIOS/GPT; for UEFI see the Secure Boot page);
- No comparison experiment between md metadata 1.0 and 1.2 for /boot (the verified result was that 1.2 boots normally).