一台P595 AIX系统主机,启动后发现数据分区没有挂载上,手动挂载提示如下错误:
#mount /data Replaying log for /dev/lv_tdprd_bak.mount: 0506-324 Cannot mount /dev/lv_tdprd_bak on /data: The media is not formatted or the format is not correct. 0506-342 The superblock on /dev/datavg is dirty. Run a full fsck to fix. |
查看系统日志如下:
# errpt
A6DF45AA 0215180108 I O RMCdaemon The daemon is started.
B38E3397 0215175908 U S SYSDUMP 先前的系统转储信息
C0AA5338 0215175808 U S SYSDUMP 系统转储
9D035E4D 0215175108 P S SYSVMM 数据存储中断,处理器
9DBCFDEE 0215175908 T O errdemon 记录错误日志打开
B6DB68E0 0215043408 I O SYSJ2 FILE SYSTEM RECOVERY REQUIRED
49A83216 0215030208 T H hdisk2 磁盘操作错误
6926ECA8 0215030108 I O SYSJ2 META-DATA I/O ERROR
613E5F38 0215030108 P H LVDD LVM 检测到 I/O 错误
425BDD47 0215030108 P H hdisk2 磁盘操作错误
故障原因:
由于AIX重启时无法正常重启,强制重启后出现如上错误。这是因为强制关机造成了系统分区的损坏,显示“The media is not formatted or the format is not correct”错误,导致分区无法正常挂载。
解决办法:
执行fsck对磁盘分区进行修复
以下是代码片段: #fsck -p /data #对挂载的路径fsck ** Phase 1 - Check Blocks and Sizes .... ** Phase 6b - Salvage Block Map -1 blocks missing -1 blocks missing Superblock is marked dirty (FIXED) 1922574 files 375776584 blocks 46344568 free ***** Filesystem was modified ***** |
修复成功后重新挂载分区,问题解决。