Operating System - HP-UX
1833879 Members
1796 Online
110063 Solutions
New Discussion

Re: vxfs fsck: fsck read failure

 
Annelise Wilken
Regular Advisor

vxfs fsck: fsck read failure

Hello,
server is 9000/867/G40/H40

I noticed that /opt wasn't mounted and when trying to mount it received the error:

vxfs mount: /dev/vg00/lvol5 is corrupted. needs checking

Tried fsck -F vxfs -o full -y /dev/vg00/lvol5 and got the following:

vxfs fsck: file system had I/O error(s) on meta-data.
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 801920, off = 0, len = 8192
file system check failure, aborting ...

I have checked in /var/adm/syslog/syslog.log - no errors here, I checked vgdisplay -v vg00 and lvdisplay -v /dev/vg00/lvol5 - again all looks ok nothing unavailable or stale

I tried: dd if=/dev/vg00/rlvol5 of=/dev/null bs=128k and got:
116+0 records in
116+0 records out

is this a disk failure or could it be something else? I've run ioscan -fn - everything listed is claimed .... any ideas???

Thanks in advance!
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: vxfs fsck: fsck read failure

This is a very small filesystem (14.5 MiB) indicated by the dd output but that might be reasonable given the age of the box. If this is indeed a 14.5MiB filesystem then the block number 801920 is much too large and would be an lseek() way beyond the end of the LVOL. This means that while the disk can be read the filesystem metadata is corrupt. Because the dd looks ok, you should be able to build a new filesystem and restore from backup.
If it ain't broke, I can fix that.
Annelise Wilken
Regular Advisor

Re: vxfs fsck: fsck read failure

Thanks for the prompt response - I'll recreate the filesystem and restore from backup. I was just concerned that it could be a hardware issue that I'd missed!!!

Thanks again!