vxfs corrupt导致cluster file system不能online

在移除CFS节点的时候,由于没有运行cfsumount再进行cfscluster stop操作,导致vxfs文件系统损坏,这样文件系统资源挂不上,并且有如下报错:
/dev/vx/dsk/ShareDG/Mainvol1 is corrupted. needs checking
Google了一下,是因为文件系统需要修复,按如下操作:
root@Rhada # /opt/VRTS/bin/fsck -F vxfs /dev/vx/dsk/ShareDG/Mainvol1
log replay in progress
log replay failed to clean file system
file system is not clean, full fsck required
full file system check required, exiting …
root@Rhada # /opt/VRTS/bin/fsck -F vxfs -y -o full /dev/vx/dsk/ShareDG/Mainvol1
log replay in progress
pass0 – checking structural files
pass1 – checking inode sanity and blocks
pass2 – checking directory linkage
pass3 – checking reference counts
pass4 – checking resource maps
au 5286 emap incorrect – fix? (ynq)y
au 5286 summary incorrect – fix? (ynq)y
free block count incorrect 94503896 expected 94536664 fix? (ynq)y
free extent vector incorrect fix? (ynq)y
OK to clear log? (ynq)y
flush fileset headers? (ynq)y
set state to CLEAN? (ynq)y
root@Rhada # hastatus -sum

Leave a Reply

Your email address will not be published. Required fields are marked *