LoveUnix » AIX -IBM UNIX » 关于0518的老问题再拿出来讨论下
让LU留住您的每

一天 让LU博客留住您的每一天
2008-6-2 16:26 shl1129
关于0518的老问题再拿出来讨论下

今天做了一件很愚蠢的事,在inittab中添加了clcomdES:2:once:startsrc -s clcomdES >/dev/console 2>&1 这行记录,结果b80就停在0518上了,估计这个操作也影响不大,因为在另台p630上做了同样的操作没有受到影响,而且b80不是添加记录后马上停的,我还折腾了会IP地址。
    然后根据提示/usr文件系统损坏,就拿盘引导到维护模式下执行fsck,结果提示:
#fsck -y /dev/hd2
The current volume is: /dev/hd2
File system is currently mounted.
Primary superblock is valid.
fsck: Performing read-only processing does not produce dependable results.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check inode allocation map
*** Phase 5 - Check block allocation map
File system is currently mounted.
fsck: Performing read-only processing does not produce dependable results.
    没看懂有什么名堂!?
    接着fsck其他文件系统,结果提示:
The current volume is: /dev/hd3
Primary superblock is valid.
J2_LOGREDO:log redo processing for /dev/hd3                        
j2_logredo.cpp: ERROR in isLogging line 2383, log device currently used by mounted devices
j2_logredo.cpp: ERROR in j2_logredo line 647, open/read device
Failure replaying log: -1
exec module "/sbin/helpers/jfs2/logredo" failed.
logredo failed (rc=255).  fsck continuing.
Primary superblock is valid.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check and repair inode allocation map
*** Phase 5 - Check and repair block allocation map
File system is clean.
    还是没看明白错误提示。惭愧,我非常菜。


    结果重起,结果停在0518上的,查了些资料,找到了燕大侠和农哥之前对这个0518问题的分析。感觉比较有效的方法还是保留安装,但比较没劲。
    不知道hd5删了重建有没有用。

    本人属于非常菜的,没看出来代码的问题,请教。

[[i] 本帖最后由 shl1129 于 2008-6-2 17:09 编辑 [/i]]

2008-6-2 17:16 shl1129
维护模式下执行bosboot,结果提示缺少rc.boot文件,能不能考一个来用,呵呵

2008-6-2 17:19 炸鸡
0518不一定都能救。

2008-6-2 17:47 yddll
你进维护模式的时候,记住选哪个xxx before  xxx的选项

不过你这个机型,导致0518的可能原因就太多稀奇古怪了:lol :lol

2008-6-2 20:49 goldfishway
0518

43p150
44p170
b80

我都是在安装aix的时候遇到的 通过更换光驱硬盘基本搞定

2008-6-2 21:22 haian
呵呵,aix。

2008-6-3 09:23 shl1129
感觉是修复不了,直接有效的方法只有保留安装,也没试过,要找不到方法只好这样做了。

2008-6-3 11:25 shl1129
太郁闷了,b80的机器问题太多,串口登最后老是停在0c45,害我老是得重起,运气好才跳到0c42选择concole,我靠,半小时多了,重起了三次,今天太背了

2008-6-3 16:28 这个绝对不能忘
我晕。。。强悍。。文件系统做fsck怎么可以MOUNT起来做,文件系统不坏都被你搞坏了。。。

你可以重新进维护模式fsck做一下,千万不能mount.
不行就把日志设备logform一下试试。

2008-6-3 17:20 shl1129
不明白楼上什么意思,执行了fsck -y /dev/hd2 会自动mount文件系统,而且这种方法也没有错。检查并修复文件系统。而且文件系统也没有问题。

弱弱的问下楼上
# logform /dev/hd8
logform: 0507-507 Log device is currently used by mounted file systems
怎么处理?

2008-6-3 17:36 yurual
Log device is currently used by mounted file systems

2008-6-3 18:21 老农
光驱微码低了,呵呵
先装低版本的AIX吧

2008-6-3 18:22 老农
想办法找个地方升级光驱微码——找一台能接这个光驱的机器

2008-6-4 09:46 shl1129
估计就是光驱微码问题,不过我运气好还是把系统装上了,5.3的,呵呵。等等升下微码。
本来想保留安装,结果提示缺少rc.boot文件,在之前bosboot时也提示缺少rc.boot文件。性急把系统直接覆盖安装了,不知道直接拷个rc.boot文件上去会不会有用,呵呵。

2008-6-4 10:08 这个绝对不能忘
文件系统坏了,当然就找不到rc.boot了,你修复没有成功。具体为什么不成功,提示都已经很清楚了。你既然已经重新安装了,讨论就没意义了

2008-6-4 16:55 blackcat
失去了一次解决问题的好机会,应当不要先装系统

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.