Linux基础——ARM架构主机系统盘乱序问题

一、问题描述

裸金属宿主机根据qcow2镜像创建的裸金属服务器,创建裸金属服务器时无法正常将sda盘符落在系统盘上;

lsblk发现系统盘定义的盘符漂移到sdc盘,涉及问题裸金属服务器的磁盘slot直连磁盘和Raid块设备的启动顺序,

无法将/dev/sda盘符落在主机直连磁盘上;

 

二、问题排查

1、查看加载raid和直连磁盘的pci id

 

 

2、调整grub中内核磁盘模块加载顺序

rdloaddriver=ahci rdloaddriver=megaraid_sas

 暂时没有修复,排查中。

三、问题根因

四、参考

https://www.kernel.org/doc/html/v5.18/admin-guide/initrd.html
https://ironic-book.readthedocs.io/zh-cn/latest/inspector/inspector.html
https://www.jianshu.com/p/f7addd310377
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/?h=v4.19.313

 

posted on 2024-05-07 18:47  gkhost  阅读(14)  评论(0编辑  收藏  举报

导航