设备odm库被锁定的处理
# rmdev -dl cd0
rmdev: 0514-516 Device configuration database lock service timed out.
后来连创建文件系统也挂起。
开始以为是卷组或者lvm-odm被锁定,尝试用chvg -u和putlvodm,均不得解。
查MessageGuide,原来是这样:
Device configuration database lock service timed out
Explanation:
You ran a command that tried to access a Configuration Object Data Management (CODM) file that is presently in use or was closed incorrectly.
User Response:
* Run the df command to determine if there is a process currently using any CODM file. If there is, wait until the process is completed and reissue your command.
* If you suspect that the CODM file was incorrectly closed, do the following:
1. Run the cd command to go to the /etc/objrepos directory.
2. Rename the config_lock file to config_lock.old using the mv command.
3. Reissue your command.
到/etc/objrepos目录下,移除config_lock文件后,原来不能执行的命令都顺利运行出结果。
本文来自博客园,作者:xiaoming zhang,转载请注明原文链接:https://www.cnblogs.com/xmzhang

浙公网安备 33010602011771号