Operating System - HP-UX
1833875 Members
3234 Online
110063 Solutions
New Discussion

Problem mounting vxfs file system

 
DAN ROSS
Advisor

Problem mounting vxfs file system

We have one file system that won't mount:
vxfs mount: /dev/vg01/lvol10 is corrupted. needs checking

When fsck -y /dev/vg01/lvol10 is run:
vxfs fsck: file system had I/O error(s) on meta-data.
log replay in progress
file system is not clean, full fsck required
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 237640, off = 0, len = 8192
file system check failure, aborting...

Question is, what exactly is this? A disk surface error? How to fix?
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Problem mounting vxfs file system

Sounds like a bad disk to me. Try running diskinfo and dd against it:

diskinfo /dev/rdsk/c3t6d0

dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=1024k

If either of those commands fail, it's pretty certain that you've got a bad disk and you're going to have to replace it. A handy guide to help with the replacement is available here:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf


Pete

Pete
Patrick Wallek
Honored Contributor

Re: Problem mounting vxfs file system

Run a full fsck on the filesystem.

# fsck -y -o full /dev/vg01/lvol10

and see what happens from there.

If that goes all the way through, then try mounting it.
Calandrello
Trusted Contributor

Re: Problem mounting vxfs file system

men
it tries
fsck -y -o full /dev/vg01/rlvol10
Bill Hassell
Honored Contributor

Re: Problem mounting vxfs file system

fsck can NEVER fix I/O errors. fsck's only purpose is to fix relationship errors in the directory. When fsck reports an I/O error, there is no further recovery possible. The disk has a hardware problem, either electronic or media (surface) error and must be replaced and all the data restored.


Bill Hassell, sysadmin
DAN ROSS
Advisor

Re: Problem mounting vxfs file system

The disc was bad and needed to be replaced. Thanks for the help.