AIX 系统故障之--hd5修复
AIX 系统修复hd5
系统环境:
操作系统: AIX5308
故障现象:
hd5 被误删除,在执行cfgmgr 时报错!
1、查看rootvg 信息
# lsvg -l rootvg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 4 4 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 40 40 1 open/syncd /
hd2 jfs2 16 16 1 open/syncd /usr
hd9var jfs2 16 16 1 open/syncd / var
hd3 jfs2 8 8 1 open/syncd /tmp
hd1 jfs2 120 120 1 open/syncd /home
hd10opt jfs2 1 1 1 open/syncd /opt
fwdump jfs2 1 1 1 open/syncd / var /adm/ras/platform
fslv06 jfs 120 120 1 closed/syncd N/A
没有hd5的lv
|
2、执行cfgmgr 出错
# cfgmgr -v
......
Calling savebase
Return code = 1
*** no stdout ****
*** no stderr ****
cfgmgr: 0514-609 Unable to save the base customized information
on /dev/ipldevice.
修复启动lv:
# bosboot -ad /dev/ipldevice
0301-168 bosboot: The current boot logical volume, /dev/hd5,
does not exist on /dev/hdisk5.
同步lv:
# synclvodm -P -v rootvg
1
2
3
4
5
6
7
8
9
10
11
|
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd10opt updated.
synclvodm: Logical volume fwdump updated.
synclvodm: Logical volume fslv06 updated.
|
# lsvg -l rootvg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 4 4 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 40 40 1 open/syncd /
hd2 jfs2 16 16 1 open/syncd /usr
hd9var jfs2 16 16 1 open/syncd / var
hd3 jfs2 8 8 1 open/syncd /tmp
hd1 jfs2 120 120 1 open/syncd /home
hd10opt jfs2 1 1 1 open/syncd /opt
fwdump jfs2 1 1 1 open/syncd / var /adm/ras/platform
fslv06 jfs 120 120 1 closed/syncd N/A
缺少hd5的lv
|
重新创建hd5,报错:
# mklv -y hd5 -t boot -a e rootvg 1
0516-360 getlvname: The device name is already used; choose a
different name.
0516-822 mklv: Unable to create logical volume.
0516-1734 mklv: Warning, savebase failed. Please manually run 'savebase' before rebooting.
# synclvodm -P -v rootvg
1
2
3
4
5
6
7
8
9
10
11
|
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd10opt updated.
synclvodm: Logical volume fwdump updated.
synclvodm: Logical volume fslv06 updated.
|
3、解决方法:
通过ODM删除hd5:
# odmdelete -q name=hd5 -o CuDv
1 objects deleted
# odmdelete -q name=hd5 -o CuAt
6 objects deleted
重建hd5:
# mklv -y hd5 -t boot -a e rootvg 1
hd5
同步lv:
# synclvodm -P -v rootvg
1
2
3
4
5
6
7
8
9
10
11
12
|
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd10opt updated.
synclvodm: Logical volume fwdump updated.
synclvodm: Logical volume fslv06 updated.
synclvodm: Logical volume hd5 updated.
|
# lsvg -l rootvg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 4 4 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 40 40 1 open/syncd /
hd2 jfs2 16 16 1 open/syncd /usr
hd9var jfs2 16 16 1 open/syncd / var
hd3 jfs2 8 8 1 open/syncd /tmp
hd1 jfs2 120 120 1 open/syncd /home
hd10opt jfs2 1 1 1 open/syncd /opt
fwdump jfs2 1 1 1 open/syncd / var /adm/ras/platform
fslv06 jfs 120 120 1 closed/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
hd5修复成功!
|
重新修复启动lv:
# bosboot -ad /dev/ipldevice
cfgmgr 正常:
1
2
3
4
5
6
7
|
# cfgmgr -v
......
Calling savebase
Return code = 0
*** no stdout ****
*** no stderr ****
Configuration time: 1 seconds
|
AIX 系统故障之--hd5修复相关推荐
- Linux系统故障排查和修复技巧
(一)单用户模式 Linux系统提供了单用户模式(类似Windows安全模式),可以在最小环境中进行系统维护.在单用户模式(运行级别1)中,Linux引导进入根shell,网络被禁用,只有少数进程运行 ...
- 运维人员打字耍不要快_Linux运维人员应该知道的系统故障排查及修复方法
今天小编要跟大家分享的文章是关于Linux运维人员应该知道的系统故障排查及修复方法.熟悉Linux的小伙伴都知道,Linux系统在启动过程中会出现一些故障,导致系统无法正常启动,小编在文章中分享了几个 ...
- AIX学习之--文件系统修复(/home)
系统环境: 操作系统:AIX 5.3.8 Oracle: Oracle 10gR2 案例: 在执行mount文件系统时出现以下错误: [root@aix199:/]#mount /home Repl ...
- Linux启动hbase的shell命令出现警告_Linux 系统故障排查和修复技巧
我发现Linux系统在启动过程中会出现一些故障,导致系统无法正常启动,我在这里写了几个应用单用户模式.GRUB命令操作.Linux救援模式的故障修复案例帮助大家了解此类问题的解决. (一)单用户模式 ...
- Linux系统修复网络,解决Linux系统故障排查和修复技巧的3种方法解析与案例分享...
描述 我发现Linux系统在启动过程中会出现一些故障,导致系统无法正常启动,我在这里写了几个应用单用户模式.GRUB命令操作.Linux救援模式的故障修复案例帮助大家了解此类问题的解决. (一)单用户 ...
- 关于AIX下,hd5状态为close的解释
如果是访问fs需要open,即创建文件系统并mount 文件系统LV STATE 才是open/syncd 的: 如果是访问raw,即lv 作为裸设备(raw device),在用到的时候是LV ...
- Linux 系统故障排查和修复技巧
点击上方"民工哥技术之路"选择"置顶或星标" 每天10点为你分享不一样的干货 来源:csghjnbj blog.chinaunix.net/uid-265677 ...
- 【干货】Linux 系统故障排查和修复技巧
我发现Linux系统在启动过程中会出现一些故障,导致系统无法正常启动,我在这里写了几个应用单用户模式.GRUB命令操作.Linux救援模式的故障修复案例帮助大家了解此类问题的解决. (一)单用户模式 ...
- linux故障排查书籍,Linux系统故障排查和修复技巧.docx
fsck -y /cievZhdab (fsck为文件系统检测修复命令,"-y"设定检测到错误自动修复,Zdev/hda6 为发生错误的硬盘分区,请依据具体情况更改此参数) 系统修 ...
最新文章
- Eclipse技巧:1.定制toString()模版
- 程序员接私活的途径以及正确方式。
- A Hands-on Look at Using Ray Tracing in Games with UE 4.22 GDC 2019
- 密码学系列之:feistel cipher
- 机器学习实战(十二)降维(PCA、SVD)
- Ubuntu系统---C++之Eclipse IDE 编译器安装
- UBUNTU安装之后要配置的内容
- 北大青鸟的java课程_北大青鸟Java课程
- 加密狗通过USB SERVER远程连接
- 十年Smartbi项目经理:BI应用在银行业的发展历程和展望
- Stata初步处理CFPS数据(merge)
- nginx 的安装、配置和使用(全)
- DNS域名解析服务介绍
- linux wine 原理,wine的工作原理与自动运行PE程序
- ie浏览器调用本地文件无反应_ie上传附件没有反应怎么办_解决ie浏览器上传附件没有反应的方法...
- 【前端开发】:行间距和首行缩进
- 怎样修心?不乱于心,不困于情。
- 如何使用云桌面系统提高涉密网络安全性与方便性
- MacBook 快捷键个人总结和设置
- ucweb7.0 5800