[排错] 解决戴尔服务器 iDRAC 阵列卡的任务卡住且无法删除

现象

戴尔 iDRAC 阵列卡的任务 (例如删除 RAID 虚拟磁盘的任务) 卡住且无法删除,且就算进入戴尔的 Lifecycle Controller 后也没有发现要删除的 RAID 虚拟磁盘有什么变化

解决方法

步骤一:进入戴尔的 Lifecycle Controller 手动删除此 RAID 虚拟磁盘

(步骤略)

(注意:删除 RAID 虚拟磁盘后里面的所有数据都会无法访问)

步骤二:让任务彻底失败

登陆戴尔 iDRAC 网页 à Dashboard à More Actions à Reboot iDRAC

步骤三:删除彻底失败了的任务

登陆戴尔 iDRAC 网页 à Storage à Tasks à Job Queue à 勾选彻底失败了的任务 à Delete

步骤四:再次重启 iDRAC

登陆戴尔 iDRAC 网页 à Dashboard à More Actions à Reboot iDRAC

步骤五:之后就可以进行其他操作了

(步骤略)

[STEP] DELL server iDRAC physical disk foreign state clean

Step One: Check the state of physical disk

Storage –> Overview –> Physical Disks
We can see the State is Foreign not Ready

Step Two: Clean the foreign state of physical disk

2.1 Access controllers interface

Storage –> Overview –> Controllers

2.2 Clean the foreign state of physical disk

Choose Controllers à Action à Foreign Configuration à Clean Foreign

[步骤] Rocky Linux & RHEL 本地缓存的软件包的安装

步骤一:将 yum 工具 & dnf 工具缓存下来的软件包设置为持续保存

# vi /etc/yum.conf

或者:

# vi /etc/dnf/dnf.conf

将部分内容修改如下:

......
keepcache = 1

步骤二:清空本地 yum 工具 & dnf 工具的缓存

# yum clean all

或者:

# dnf clean all

步骤三:将 yum 工具 & dnf 工具的软件包清单缓存到本地

# yum makecache

步骤四:将 yum 工具 & dnf 工具所有可以升级的软件包缓存到本地

# yum update --downloadonly

或者:

# dnf update --downloadonly

步骤五:显示已经缓存的软件包

5.1 显示所有已经缓存的软件包

# yum -C list

或者:

# dnf -C list

5.2 显示某个已经缓存的软件包

# yum -C list kernel

或者:

# dnf -C list kernel

(补充:这里以显示已经缓存的 kernel 软件包为例)

步骤六:使用 yum 工具 & dnf 工具缓存的所有软件包提到系统里现存的老的软件包

# yum -C update

或者:

# dnf -C update

[DEBUG] Linux resolve at command error ‘PAM failure: Authentication service cannot retrieve authentication info’

Error Reporting Command

> at

Error Code

PAM failure: Authentication service cannot retrieve authentication info

Reason

This user which inputted at command did not have password so there is no record relate to it in /etc/shadow file.
And at command need check the record in the file /etc/shadow.
If at command can not find the user's record in /etc/shadow, it output this error code.

Solution

And password to the suer:

> passwd