【标题描述】能够简要描述问题:
1、服务器使用了软RAID组成的RAID1作为系统盘
2、系统盘分区使用了lvm卷;
3、灌装系统完成后,执行reboot命令,重启卡主,无法重启!
一、缺陷信息
内核信息:
5.10.0-136.55.0.134.oe2203sp1.x86_64
缺陷归属组件:
systemd
缺陷归属的版本:
缺陷简述:
1、服务器使用了软RAID组成的RAID1作为系统盘
2、系统盘分区使用了lvm卷;
3、灌装系统完成后,执行reboot命令,重启卡主,无法重启!
4、上图所示为reboot过程中卡主的进程的栈信息,以及lsof -p pid的信息;
经过对比,社区的发布版本ISO,默认文件系统ext4,不会存在reboot卡主的问题;当文件系统为xfs时,必现此问题!
【环境信息】
硬件信息
【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等
[ OK ] Reached target System Reboot.
[ 282.844197][ T1] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 283.029221][ T1] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 283.045403][ T1274] systemd-journald[1274]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 283.054817][ T1] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 283.068835][ T1] systemd-shutdown[1]: Unmounting file systems.
[ 283.075475][ T2586] [2586]: Remounting '/' read-only in with options 'seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota'.
[ 283.327785][ T1] systemd-shutdown[1]: All filesystems unmounted.
[ 283.334052][ T1] systemd-shutdown[1]: Deactivating swaps.
[ 283.339730][ T1] systemd-shutdown[1]: All swaps deactivated.
[ 283.345652][ T1] systemd-shutdown[1]: Detaching loop devices.
[ 283.351751][ T1] systemd-shutdown[1]: All loop devices detached.
[ 283.358019][ T1] systemd-shutdown[1]: Stopping MD devices.
[ 283.364168][ T1] systemd-shutdown[1]: Stopping MD /dev/md127 (9:127).
[ 283.370879][ T1] md: md127 stopped.
[ 283.388346][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1).
[ 283.417348][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy
[ 283.426139][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0).
[ 283.433017][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy
[ 283.441793][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126).
[ 283.448492][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy
[ 283.457097][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left.
[ 283.464141][ T1] systemd-shutdown[1]: Detaching DM devices.
[ 283.470321][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-2 (253:2).
[ 283.499685][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-2 (openeuler-home) is removed successfully
[ 283.518305][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-1 (253:1).
[ 283.543425][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-1 (openeuler-swap) is removed successfully
[ 283.561298][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[ 283.568591][ T1] systemd-shutdown[1]: Stopping MD devices.
[ 283.574671][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1).
[ 283.595581][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy
[ 283.604363][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0).
[ 283.611238][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy
[ 283.620013][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126).
[ 283.626713][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy
[ 283.635318][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left.
[ 283.642365][ T1] systemd-shutdown[1]: Detaching DM devices.
[ 283.648336][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[ 283.655470][ T1] systemd-shutdown[1]: Cannot finalize remaining DM devices, MD devices, continuing.
[ 284.813251][ T1] systemd-shutdown[1]: Successfully changed into root pivot.
[ 284.820474][ T1] systemd-shutdown[1]: Returning to initrd...
[ 284.849892][ T255] audit: type=1400 audit(1706034378.444:131): avc: denied { nosuid_transition } for pid=2613 comm="shutdown" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:mdadm_t:s0 tclass=process2 permissive=0
[ 284.857551][ T1] dracut: Taking over mdmon processes.
[ 284.870553][ T255] audit: type=1401 audit(1706034378.444:131): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:init_t:s0 newcontext=system_u:system_r:mdadm_t:s0
[ 284.875969][ T1] dracut Warning: Killing all remaining processes
dracut Warning: Killing all remaining processes
[ 285.133345][ T2637] XFS (dm-0): Unmounting Filesystem
[ 375.121083][ T1] dracut Warning: Unmounting /oldroot timed out.
dracut Warning: Unmounting /oldroot timed out.
[ 375.142273][ T2641] dracut: Disassembling device-mapper devices
[ 375.152087][ T2646] dracut: Waiting for mdraid devices to be clean.
缺陷详情参考链接:
https://e.gitee.com/open_euler/dashboard?issue=I8PFAG
缺陷分析指导链接:
Hi huyubiao, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @Monday , @syyhao , @谢志鹏 , @zhujianwei001 , @hexiaowen , @licunlong , @const , @xujing , @chenjiayi , @陈棋德
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论