1838092 Members
3436 Online
110124 Solutions
New Discussion

Re: Error fsck

 
Ralf Buchhold
Regular Advisor

Error fsck

Hello,
I have the following problem. Is it possible
to get the filesystem ready:

fsck -F vxfs -o full /dev/vg00/lvol6
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 = 22248, off = 0, len = 8192
file system check failure, aborting ...

Thanks Ralf
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Error fsck

Try this:

fsck -F vxfs -o full -y /dev/vg00/lvol6

This will on a vxfs fs answer all questions the way they need to be answered.

If this doesn't fix it, nothing can. Its restore time. Adjust the command for other filesystems.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mel Burslan
Honored Contributor

Re: Error fsck

usually this is the indication of a bad hardware. Sorry.
________________________________
UNIX because I majored in cryptology...
Bharat Katkar
Honored Contributor

Re: Error fsck

Even after the -y option, you receive the same error it is the indication of BAD BLOCK in your filesystem and almost impossible to mount your filesystem. Time to recreate new and restore back your backup if you have one!!
You need to know a lot to actually know how little you know
Kent Ostby
Honored Contributor

Re: Error fsck

This is the vxfs equivilant of the old "Cannot read block nnnnnnnn" that you would see on hfs filesystems and unfortunately usually does mean that your hardware is bad.

Check your syslog to see if any HW errors are being logged for a particular "dev" or "bdev".

If its a hex number then you can figure out which disk it is by taking the last six digits of the hex number and putting them into this command (substitute the "xxxxxx"):

ll /dev/dsk | grep xxxxxx

Also, you can do:
lvdisplay -v /dev/vg00/lvol6 | more

Then find your physical volumes listed there.

If there is more then one this command against each disk:

dd if=/dev/dsk/cXtYdZ of=/dev/null bs=64k

This should come back with a message of I/O error for a bad disk in most cases.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Mobeen_1
Esteemed Contributor

Re: Error fsck

Ralf,
As Steven has suggested, i would recommend that you use the -y option, which will answer your questions to fix the drive. Even after using this option, if the errors still remain, the only option i could think of is, just get rid of the drive

regards
Mobeen