Description of problem: RC1升级到RC2后,重启服务器,进到紧急模式:/home对应的lv没有,执行lvm相关命令,卡住,等待一段时间后,可以查询出/dev/cl/home Starting systemd-userdbd.service - User Database Manager... [ OK ] Started rpcbind.service - RPC Bind. [ OK ] Mounted var-lib-nfs-rpc_pipefs.mount - RPC Pipe File System. [ OK ] Reached target rpc_pipefs.target. [ OK ] Reached target nfs-client.target - NFS client services. [ OK ] Reached target remote-fs-pre.targe…reparation for Remote File Systems. [ OK ] Reached target remote-fs.target - Remote File Systems. [ OK ] Finished systemd-update-utmp.servi…ecord System Boot/Shutdown in UTMP. [ OK ] Started systemd-userdbd.service - User Database Manager. Starting systemd-update-utmp-runle…- Record Runlevel Change in UTMP... [ OK ] Finished systemd-update-utmp-runle…e - Record Runlevel Change in UTMP. [ OK ] Started systemd-resolved.service - Network Name Resolution. [ OK ] Reached target network.target - Network. [ OK ] Reached target network-online.target - Network is Online. [ OK ] Reached target nss-lookup.target - Host and Network Name Lookups. Starting kdump.service - Crash recovery kernel arming... Starting rpc-statd-notify.service - Notify NFS peers of a restart... [ OK ] Started rpc-statd-notify.service - Notify NFS peers of a restart. [ 121.682117] block dm-0: the capability attribute has been deprecated. [ 125.816941] kauditd_printk_skb: 19 callbacks suppressed [ 125.816947] audit: type=1400 audit(1766506434.712:64): avc: denied { read } for pid=1526 comm="systemd-journal" name="init.scope" dev="cgroup2" ino=47 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=dir permissive=1 You are in emergency mode. After logging in, type[ 125.886602] audit: type=1400 audit(1766506434.780:65): avc: denied { checkpoint_restore } for pid=3375 comm="sulogin" capability=40 scontext=system_u:system_r:sulogin_t:s0-s0:c0.c1023 tcontext=system_u:system_r:sulogin_t:s0-s0:c0.c1023 tclass=capability2 permissive=1 [ 125.912173] audit: type=1300 audit(1766506434.780:65): arch=c00000b7 syscall=29 success=yes exit=0 a0=3 a1=5457 a2=fffffac99ee0 a3=0 items=0 ppid=3374 pid=3375 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyAMA0 ses=4294967295 comm="sulogin" exe="/usr/sbin/sulogin" subj=system_u:system_r:sulogin_t:s0-s0:c0.c1023 key=(null) [ 125.943516] audit: type=1327 audit(1766506434.780:65): proctitle="/usr/sbin/sulogin" Give root password for maintenance (or press Control-D to continue): Login incorrect Give root password for maintenance (or press Control-D to continue): [root@anolis ~]# [root@anolis ~]# ll /dev/cl/* lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/root -> ../dm-0 lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/swap -> ../dm-1 [root@anolis ~]# [root@anolis ~]# lvscan Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl [root@anolis ~]# vgscan Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl [root@anolis ~]# [root@anolis ~]# pvscan Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl Interrupted... No matching physical volumes found [root@anolis ~]# pvscan Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl Interrupted... No matching physical volumes found [root@anolis ~]# [root@anolis ~]# ps aux | grep -i lvm [root@anolis ~]# pvscan Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl Interrupted... No matching physical volumes found [root@anolis ~]# [root@anolis ~]# ll /dev/cl/* lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/root -> ../dm-0 lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/swap -> ../dm-1 [root@anolis ~]# vgchange -ay Interrupted... Giving up waiting for lock. Can't get lock for cl. Cannot process volume group cl [root@anolis ~]# ll /dev/cl/* lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/root -> ../dm-0 lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/swap -> ../dm-1 [root@anolis ~]# [ 572.238740] audit: type=1131 audit(1766506881.132:66): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 572.256741] igb 0007:01:00.0 enP7s9f0: renamed from eth0 [ 572.304108] igb 0007:01:00.1 enP7s9f1: renamed from eth1 [ 572.332731] audit: type=1130 audit(1766506881.228:67): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 572.354974] audit: type=1131 audit(1766506881.228:68): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 572.391275] mlx5_core 0002:01:00.0 enP2s7f0np0: renamed from eth2 [ 572.444105] mlx5_core 0002:01:00.1 enP2s7f1np1: renamed from eth3 [ 572.468660] audit: type=1131 audit(1766506881.364:69): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=lvm-activate-cl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 572.512804] audit: type=1130 audit(1766506881.408:70): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 572.561179] mlx5_core 0006:01:00.0 enP6s6f0np0: renamed from eth4 [ 572.580576] audit: type=1400 audit(1766506881.476:71): avc: denied { sys_resource } for pid=6722 comm="systemd-userwor" capability=24 scontext=system_u:system_r:systemd_userdbd_t:s0 tcontext=system_u:system_r:systemd_userdbd_t:s0 tclass=capability permissive=1 [ 572.603935] audit: type=1400 audit(1766506881.476:73): avc: denied { sys_resource } for pid=6721 comm="systemd-userwor" capability=24 scontext=system_u:system_r:systemd_userdbd_t:s0 tcontext=system_u:system_r:systemd_userdbd_t:s0 tclass=capability permissive=1 [ 572.627292] audit: type=1400 audit(1766506881.476:72): avc: denied { sys_resource } for pid=6723 comm="systemd-userwor" capability=24 scontext=system_u:system_r:systemd_userdbd_t:s0 tcontext=system_u:system_r:systemd_userdbd_t:s0 tclass=capability permissive=1 [ 572.650650] audit: type=1300 audit(1766506881.476:73): arch=c00000b7 syscall=167 success=yes exit=0 a0=23 a1=9 a2=ffff8611f020 a3=0 items=0 ppid=3156 pid=6721 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-userwor" exe="/usr/lib/systemd/systemd-userwork" subj=system_u:system_r:systemd_userdbd_t:s0 key=(null) [ 572.683555] audit: type=1300 audit(1766506881.476:72): arch=c00000b7 syscall=167 success=yes exit=0 a0=23 a1=9 a2=ffff80276020 a3=0 items=0 ppid=3156 pid=6723 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-userwor" exe="/usr/lib/systemd/systemd-userwork" subj=system_u:system_r:systemd_userdbd_t:s0 key=(null) [ 572.842321] mlx5_core 0006:01:00.1 enP6s6f1np1: renamed from eth5 [ 589.309008] kauditd_printk_skb: 4 callbacks suppressed [ 589.309013] audit: type=1400 audit(1766506898.204:74): avc: denied { read } for pid=1526 comm="systemd-journal" name="init.scope" dev="cgroup2" ino=47 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=dir permissive=1 [ 589.336819] audit: type=1130 audit(1766506898.204:75): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=kdump comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [root@anolis ~]# [root@anolis ~]# [root@anolis ~]# ll /dev/cl/* lrwxrwxrwx. 1 root root 7 12月24日 00:21 /dev/cl/home -> ../dm-2 lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/root -> ../dm-0 lrwxrwxrwx. 1 root root 7 12月24日 00:12 /dev/cl/swap -> ../dm-1 [root@anolis ~]# Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.见上 2. 3. Actual results: /home没有mount,导致无法进系统 Expected results: 能正常进系统 Additional info:
默认安装无法复现 升级是如何升级?需要更多信息