Operating System - HP-UX
1833552 Members
3531 Online
110061 Solutions
New Discussion

Re: Logical Volume Problems...

 
Denton Williams
Advisor

Logical Volume Problems...

Hi All,
I am having some problem with one of my LV's and it is showing this error:

vxfs mount: /dev/vg00/lvol5 is corrupted. needs checking

I might have forgotten to mount before I rebooted the system. Can anyone show me what my options are? any help will be greatly appreciated.

Denton.
Working hard
4 REPLIES 4
Helen French
Honored Contributor

Re: Logical Volume Problems...

Hi,

Try this:

# fsck -o full /dev/vg00/lvol5

This will do a complete check on the file system and will fix it if there is no hardware errors. You may mount the file system after that.

HTH,
Shiju
Life is a promise, fulfill it!
Denton Williams
Advisor

Re: Logical Volume Problems...

I tried the command you gave me but it gave me the following error:

fsck -o full /dev/vg00/lvol5
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
pass2 - checking directory linkage
pass3 - checking reference counts
pass4 - checking resource maps
vxfs fsck: fsck read failure bno = 1024000, off = 0, len = 8192
file system check failure, aborting ...

Thanks,
Denton.
Working hard
Krishna Prasad
Trusted Contributor

Re: Logical Volume Problems...

I start with

fsck -F vxfs /dev/vg00/lvol5

This just fixes the superblock as clean.
That is normally what is needed when you reboot with out a normal shutdown.

What do you get when you do a lvdisplay -v /dev/vg00/lvol5 ? Is it possible that the drive is bad?



Positive Results requires Positive Thinking
Helen French
Honored Contributor

Re: Logical Volume Problems...

Hi Denton,

Your file system has hardware errors on it. You need to replace the disks. Find out the disks on this file system:

# lvdisplay -v /dev/vg00/lvol5

Contact your hardware support and get it replaced. After replacing the disk, do a 'vgcfgrestore' on the new disk. That will restore the original VG information to the new disks. Then create new file system (newfs) and restore your data from the backup.

HTH,
Shiju
Life is a promise, fulfill it!