Operating System - HP-UX
1825009 Members
2752 Online
109678 Solutions
New Discussion юеВ

urgent help: I/O error on file system

 
SOLVED
Go to solution
Carol Yu
Frequent Advisor

urgent help: I/O error on file system

HI, All,

I was copying some files to one file system. Then all of a sudden, it is no longer accessible. The bdf command returns:
bdf: /software: I/O error

I tried to mount it, it shows the same error.

What should I do to bring it back?

Thanks a lot,
Carol
8 REPLIES 8
RAC_1
Honored Contributor

Re: urgent help: I/O error on file system

Do you have backup of this FS???
What does dmesg and syslog.log says??
Seems that FS has problems.

Anil
There is no substitute to HARDWORK
R. Sri Ram Kishore_1
Respected Contributor

Re: urgent help: I/O error on file system

Hi Carol,

Take a look at this thread:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=319266

HTH.

Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
Sanjay_6
Honored Contributor

Re: urgent help: I/O error on file system

Do you get something in the syslog.

Looks like either your filesystem is corrupt or the disk has gone bad.

How were you copying stuff from one filesystem to another. simple copy command or thru dd since you say you tried to mount the filesystem after you got the error ?.

Hope this helps.

Regds
Sridhar Bhaskarla
Honored Contributor

Re: urgent help: I/O error on file system

Hi Carol,

Looks like one or more disks on which the corresponding logical volume is residing may have gone bad. Look for more errors in 'dmesg' and /var/adm/syslog/syslog.log. See if you see any POWERFAILED messages on any of the PVs.

Find out the failed disks using the command "ioscan -fnC disk" and see if there are any disks with NO_HW status. You can also find the disks that failed using 'vgdisplay -v vgxx|grep -i unavailable'. If a disk is bad, then you will need to get it fixed. Once it is fixed, you will have to run 'vgcfgrestore'. Unless you got the old disk back, the data in this logical volume may be lost. Search for the forums and you will find quite a few threads on fixing a bad disk.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Carol Yu
Frequent Advisor

Re: urgent help: I/O error on file system

I don't have backup of the FS, but the contents on the FS, I can copy over from another server.

The syslog say: Sep 15 14:07:15 aigdxi10 vmunix: msgcnt 5433 vxfs: mesg 072: vx_iaualloc - /dev/vg_software2/lv_software2 file s
ystem 999 file set index file set header checksum bad
Sep 15 14:07:15 aigdxi10 vmunix: msgcnt 5434 vxfs: mesg 031: vx_disable - /dev/vg_software2/lv_software2 file sy
stem disabled

Any thought what I should do?
RAC_1
Honored Contributor
Solution

Re: urgent help: I/O error on file system

Unmount the FS. Stop all processes accessing the FS and unmount.

Run fsck on it.

fsck -F vxfs -y -o full /dev/vgxx/lvolx

Anil
There is no substitute to HARDWORK
Carol Yu
Frequent Advisor

Re: urgent help: I/O error on file system

Thanks a lot, I ran a fsck and mount it back, everything looks fine. I got all my folders and files back.

Thanks again everyone for your help!
Carol
RAC_1
Honored Contributor

Re: urgent help: I/O error on file system

Now everything is back on line. How about backing it up?? A good backup procedure comes in handy many times.

Anil
There is no substitute to HARDWORK