- 论坛徽章:
- 0
|
有一个Veritas做的数据盘镜像,两块磁盘。其中一块磁盘物理有坏道,造成在它上面的volume被disable了,而这个块上有Disk1-01(文件块)Disk1-02(log块)。另一个磁盘的块是disk2-01。故障前,Disk1-02,Disk1-02的状态为stale。Disk1-01为IOfault。更换了一个新磁盘后,volume都正常了。
但用mount时,出错。
mount -F vxfs -o rw /dev/vx/dsk/MYSQLdg/backup_index /mysql
vxfs mount: /dev/vx/dsk/MYSQLdg/backup_index is corrupted. needs checking
在用命令
fsck -F vxfs /dev/vx/dsk/MYSQLdg/backup_index
vxfs fsck: file system had I/O error(s) on user data.
再用命令format检查磁盘,没有坏块
再用命令
fsck -F vxfs -o full,nolog /dev/vx/dsk/MYSQLdg/backup_index
vxfs fsck: file system had I/O error(s) on user data.
pass0 - checking structural files
pass1 - checking inode sanity and blocks
subr.c 301: ASSERT(HELD_BP(bp) == 0) failed
subr.c 301: ASSERT(HELD_BP(bp) == 0) failed
fileset 999 primary inode 248 has invalid number of blocks (0)
fileset 999 primary inode 248 has invalid block map
fileset 999 primary inode 248 failed validation clear? (ynq)n
subr.c 301: ASSERT(HELD_BP(bp) == 0) failed
subr.c 301: ASSERT(HELD_BP(bp) == 0) failed
fileset 999 primary inode 327 has invalid number of blocks (3632)
fileset 999 primary inode 327 has invalid block map
fileset 999 primary inode 327 failed validation clear? (ynq)y
readi.c 280: ASSERT(ic->bp == bp) failed
vxfs fsck: fsck write failure bno = -1, off = 0, len = 0
file system check failure, aborting ...
只要选y,就会退出,文件系统不能修复。
怀疑故障前volume的信息,没有被删除掉,或者记录不完整。
是不是必须重新做配置,生成一个新卷,再把原来的数据到回去
看其它大哥还有什么好的建议。
软件版本Veritas FS. Veritas Volume Manager. 3.1 |
|