openEuer-22.03-LTS通过PXE安装,在raid1模式安装时遇到不稳定的情况,有时能装上,有时会报错,错误信息大致如下:
/dev/md/Volume0_0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
硬盘组raid1的方式是通过主板bois自带的raid控制器,CTRL+i的方式进入,创建raid1卷标Volumn0,两块硬盘大小一致,都是1T,同品牌同型号。
测试的主板是超微X11SSM-F
ks脚本相关内容如下:
eula --agreed
auth --enableshadow --passalgo=sha512
url --url=“http://192.168.114.10/openEuler-22.03-LTS/”
graphical
firstboot --enable
ignoredisk --only-use=Volume0_0,sdb,sda
keyboard --vckeymap=cn --xlayouts=‘cn’
lang zh_CN.UTF-8 --addsupport=en_US.UTF-8
Network information
network --bootproto=dhcp --device=eno1 --onboot=off --ipv6=auto --no-activate
network --bootproto=dhcp --device=eno2 --onboot=off --ipv6=auto
network --hostname=localhost.localdomain
timezone Asia/Shanghai --isUtc
System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=Volume0_0
Partition clearing information
clearpart --all --initlabel --drives=Volume0_0
Disk partitioning information
part /boot --fstype=“ext4” --ondisk=Volume0_0 --size=7629
part / --fstype=“ext4” --ondisk=Volume0_0 --size=122070 --grow
part /tmp --fstype=“ext4” --ondisk=Volume0_0 --size=122070
part /var --fstype=“ext4” --ondisk=Volume0_0 --size=30517
part /var/log --fstype=“ext4” --ondisk=Volume0_0 --size=122070
part /var/log/audit --fstype=“ext4” --ondisk=Volume0_0 --size=30517
part /var/tmp --fstype=“ext4” --ondisk=Volume0_0 --size=30517
#part /home --fstype=“xfs” --ondisk=Volume0_0 --size=364544
part /home --fstype=“ext4” --ondisk=Volume0_0 --size=122070
part /webapp --fstype=“ext4” --ondisk=Volume0_0 --size=30517
part swap --fstype=“swap” --ondisk=Volume0_0 --size=55296
求大佬指教!