问题说明
OS : AIX 6.1
DB : Oracle 10.2.0.5
双节点RAC,节点2主机维护性重启,手动mount本地目录,报错
root@rac2:/>mount /rac2_arch
Replaying log for /dev/archdb2lv.
mount: 0506-324 Cannot mount /dev/archdb2lv on /rac2_arch: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/archdb2lv is dirty. Run a full fsck to fix.
问题分析
通过执行 errpt 命令可以查看系统的错误日志
该问题是由于强制关机,造成系统分区的损坏,
故” The media is not formatted or the format is not correct “ ,无法正确识别该分区
解决方法
Run a full fsck to fix ,执行fsck命令来修复该分区
root@rac2:/>fsck -p /rac2_arch
The current volume is: /dev/archdb2lv
Primary superblock is valid.
J2_LOGREDO:log redo processing for /dev/archdb2lv
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
File system inode map is corrupt (FIXED)
Superblock marked dirty because repairs are about to be written.
*** Phase 5 - Check and repair block allocation map
Block allocation map is corrupt (FIXED)
File system is clean.
Superblock is marked dirty (FIXED)
All observed inconsistencies have been repaired.
再次执行mount操作
root@rac2:/>mount /rac2_arch
root@rac2:/>df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 30.00 21.59 29% 16935 1% /
......
172.24.177.81:/rac1_arch 500.00 499.92 1% 4 1% /rac1_arch
/dev/archdb2lv 500.00 499.92 1% 4 1% /rac2_arch
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28697282/viewspace-1626576/
,如需转载,请注明出处,否则将追究法律责任。