1825775 Members
2287 Online
109687 Solutions
New Discussion

block corruption error

 
bazigardu
Advisor

block corruption error

I am facing problems in Bringing UP our DB.

I found that there is block corruption on the file system on which our Database was present.

I tried running fsck on the file-system it gives the following error.



# fsck -F vxfs -y -o full /dev/vg02/data2

vxfs fsck: file system had I/O error(s) on meta-data.

vxfs fsck: file system had I/O error(s) on user data.

log replay in progress

pass0 - checking structural files

pass1 - checking inode sanity and blocks

vxfs fsck: fsck read failure bno = 122584064, off = 0, len = 65536

file system check failure, aborting ...



This file system is from a storage box.

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: block corruption error

Shalom,

Make sure no database process is attempting to access the filesystem when you run fsck.

This would appear to indicate the need to replace a bad disk and restore the filesystem from backup.

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
Bill Hassell
Honored Contributor

Re: block corruption error

> vxfs fsck: file system had I/O error(s) on meta-data.
> vxfs fsck: file system had I/O error(s) on user data.

These are the important messages: fsck fixes logical errors but cannot fix disk errors. The disk is defective and must be replaced. You will also see a bunch or error messages in /var/adm/syslog/syslog.log


Bill Hassell, sysadmin
tsf_1
Frequent Advisor

Re: block corruption error

Suggest using "dd" command to see if the system is able to read the entire disk without error.
For example:
#dd if=/dev/rdsk/c0t6d0 of=/dev/null bs=4096k
>>If dd completes successfully and you are not seeing any other evidence to suspect and underlying disk issue, recreate the filesystem and restore data from backup.
>>If dd terminates with any read I/O errors or you are seeing other evidence that makes you suspect hardware issues involving the disk, have the disk replaced and/or address any hardware issue before recreating fs.
be willing to do, be happy to bear
bazigardu
Advisor

Re: block corruption error

Thanks all,
Acutally this server attached with MSA 1000,consist of 14 disk, in one disk is showing down-arrow constantly green and ioscan comman one disk is also missing which is having mountpoint.I rebooted the server also.In vgdisplay also warranty /dev/vg00/cxtydz not getting.