1833420 Members
3229 Online
110052 Solutions
New Discussion

Cannot repair FS

 
a8965
Occasional Advisor

Cannot repair FS

On HPUX 11.00

One file system is corrupted.
After starting the "fsck" command, I have the following answer :

# fsck -F vxfs -o full,nolog /dev/vg00/lvshare
vxfs fsck: file system had I/O error(s) on meta-data.
vxfs fsck: file system had I/O error(s) on user data.
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 262560, off = 0, len = 8192
file system check failure, aborting ...

And I still cannot do anything with the LV.

I'd like to know if there is one way to repair the FS or if I have to delete and recreate it...
5 REPLIES 5
CAS_2
Valued Contributor

Re: Cannot repair FS

I suggest to run dd command to check possible I/O errors. For example

dd if=/dev/vg00/rlvshare of=/dev/null bs=2048
a8965
Occasional Advisor

Re: Cannot repair FS

I just run "dd" command and the result is ok :

131072+0 records in
131072+0 records out
Sheriff Andy
Trusted Contributor

Re: Cannot repair FS

I am not so sure if you need to umount the system or not, but I am pretty sure that you need to specify the raw.

# fsck -F vxfs -o full,nolog /dev/vg00/rlvshare
a8965
Occasional Advisor

Re: Cannot repair FS

The FS is not mounted.

The "fsck" command on the raw file gives the same result :

# fsck -F vxfs -o full,nolog /dev/vg00/rlvshare
vxfs fsck: file system had I/O error(s) on meta-data.
vxfs fsck: file system had I/O error(s) on user data.
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 262560, off = 0, len = 8192
file system check failure, aborting ...

Sheriff Andy
Trusted Contributor

Re: Cannot repair FS

How does your pvdisplay (on the disks within your volumegroup) and your vgdisplay look?

Can you run a fsck -F vxfs without any options successfully?