Operating System - HP-UX
1855937 Members
9523 Online
104107 Solutions
New Discussion

vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

 
Glenn Joseph Andal
Frequent Advisor

vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

Can someone help us on this? One of our developer is trying to restart our development server. Unfortunately one of our filesystem becomes corrupted and un mountable. We tried some of the commands.:

fsck -F vxfs /dev/vg05/lvol1
fsck -o full /dev/vg05/lvol1
fsck -F vxfs -y -o full /dev/vg05/lvol1
fsck -F vxfs -y -o full /dev/rdsk/c13t0d0
fsck -F vxfs -o full,nolog -y /dev/vg05/lvol1

The error is like this:
vxfs fsck: file system had I/O error(s) on meta-data.
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
pass3 - checking reference counts
pass4 - checking resource maps
vxfs fsck: fsck read failure bno = 22, off = 0, len = 8192
file system check failure, aborting ....

Please help us...
Thank you for your usual support.

BTW. this are all using an external disk.

Otep.
5 REPLIES 5
Shaikh Imran
Honored Contributor

Re: vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

Hi,
Since you said you have tried all the possible combination of fsck & you are getting an i/o error.

This could be because of the bad blocks on the disk.
Please identify the disk device file &
do a check :

#dd if=/dev/vg05/lvol1 of=/dev/null bs=8192

or

#dd if=/dev/dsk/cXtYdZ of=/dev/null bs=8192

The o/p should be the same for both recored in & out.

If the dd is unsuccessful, you have a faulty disk which cannot be read properly.

Also check syslog for any other errors &
If possible run stm & see if gives the information on the selected disk.

Also see if physical indication (LED) is there on the external disk.

Regards







I'll sleep when i am dead.
Glenn Joseph Andal
Frequent Advisor

Re: vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

We've already try your recommendation and the output for dd are all the same. No physical LED and syslog is normal (no exceptional message. For stm we are not comportable running the tool. Can you send us step on how to use it. thanks.
Shaikh Imran
Honored Contributor

Re: vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

Hi,
++++++++++++++++++++++++++++++++++++++++++++
Fisrt check whether you have STM i.e. Onlinediag installed or not with swlist command w/o any option.
if insrtalled you will get something like this :
OnlineDiag B.11.00.24.11 HPUX 11.0 Support Tools Bundle, Mar 2003

along with your other installed software.

IF yes then:
2 ways you can use this, i prefer no.II
I [ TUI ]( Text user interface )
1) login as root
2) run cstm
This is menu driven you can select the disks and from menu you have to run info
on the disk..
&
II GUI ( graphical User interface )
For this you require a pc with Xwindows software installed:
1) login as root
2) export display to local
3) xstm

This is also menu driven &
admin friendly ...
+++++++++++++++++++++++++++++++++++++++++++++

BTW,
do you see any problems in ioscan & diskinfo?

Regards,









I'll sleep when i am dead.
Fabio Ettore
Honored Contributor

Re: vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

Hi,

Shaik suggested very good steps in order to check disk by STM tools. Anyway I saw that error in past and it usually is an hw problem. I think so because I notice the I/O error' on fsck output and 'fsck read failure'. Then I would suggest you to open as soon as possible an hw call by HP.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Glenn Joseph Andal
Frequent Advisor

Re: vxfs mount: /dev/vg05/lvol1 is corrupted. needs checking

thanks.