1836428 Members
3618 Online
110100 Solutions
New Discussion

Re: bdf shows i/o error

 
david_252
Frequent Advisor

bdf shows i/o error

Team;

when i do bdf it shows bdf: /oracle: I/O error.
please help.

Thanks

david.
7 REPLIES 7
Jean-Luc Oudart
Honored Contributor

Re: bdf shows i/o error

Another similar thread :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=213447

regards,
Jean-Luc
fiat lux
Massimo Bianchi
Honored Contributor

Re: bdf shows i/o error

Looks like you have a corrupoted fs.

Is there any message in the syslog ?

Massimo
RAC_1
Honored Contributor

Re: bdf shows i/o error

Any error in syslog and demsg?

Seems problem with disk where /oracle resides.
There is no substitute to HARDWORK
Helen French
Honored Contributor

Re: bdf shows i/o error

Check if your file systems and disks are okay. Check the syslog.log file for any file system/disk warnings. You can use these tools to find out the problem:

# stm (or cstm or mstm)
# ioscan -fn
# ioscan -fnC disk
# diskinfo /dev/rdsk/cxtydz
# vgdisplay -v
# lvdisplay -v /dev/vgXX/lvolX
Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: bdf shows i/o error

Hi david,

Means that you probably have a media error on the disk in the area that the /oracle filesystem exists.
You can try to unmount it & run fsck on it

umount /oracle
fsck -F vxfs -o full /oracle

Sometimes multiple fsck passes are required to fully fix a problem.
Of course it may be a disk going bad & needs to be replaced.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Elmar P. Kolkman
Honored Contributor

Re: bdf shows i/o error

Seems like /oracle has a problem... Try to access it in another way. That probably won't work too... (DON'T do that on the console, but with a network connection, because it could very well hang your session!)

If you do
grep /oracle /etc/mnttab
you can see what filesystem was mounted as /oracle, to see how it was mounted. Perhaps a good idea to post that output to help us help you solve the issue.

In most cases errors like these imply a hardware error...
Every problem has at least one solution. Only some solutions are harder to find.
Kent Ostby
Honored Contributor

Re: bdf shows i/o error

Also you can list the PVs on that lvol (lets say it was /dev/vg02/lvol6 for instance):

lvdisplay -v /dev/vg02/lvol6 | more

Look at the pv's listed there then for each one you can do:

dd if=/dev/rdsk/ of=/dev/null bs=64k

One of these is likely to come back and tell you I/O error if you have a physical disk problem.

It pretty much means that you'll have to initialize the filesystem and reload any data you have there from backup.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"