Operating System - HP-UX
1833648 Members
4697 Online
110062 Solutions
New Discussion

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

 
Joe Profaizer
Super Advisor

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

What is the command and options I should run w/ fsck?

Thanks,

..Joe
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor

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

Just fsck /dev/vgdvl2/lvol1 should take care of cleaning the logical volume. If it asks for a full check,

fsck -y -o full /dev/vgdvl2/lvol1 should do.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

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

Hi Joe,

Use

fsck -F vxfs dev/vgdvl2/rlvol1

It should say, replaying log....

Once done, mount using
mount -F vxfs dev/vgdvl2/lvol1 /mount_point

Hope this works.

Thanks
Sanjay_6
Honored Contributor

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

Hi joe,

Use the raw device rlvol1 for fsck.

Thanks
Deshpande Prashant
Honored Contributor

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

HI

fsck -y -o full /dev/vgdvl2/lvol1 should help cleaning file system.

Thanks.
Prashant.

Take it as it comes.
Joe Profaizer
Super Advisor

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

Below is the output from running both commands. Also, I am striping this logical volume across controllers on my AutoRAID 12H.

Please consult.

..Joe
Joe Profaizer
Super Advisor

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

Below is the output from running both commands. Also, I am striping this logical volume across controllers on my AutoRAID 12H.


# fsck -F vxfs dev/vgdvl2/rlvol1
vxfs fsck: OLT extent 1 has bad checksum
read of OLT copy failed
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
(RGAB:/)
# fsck -y -o full /dev/vgdvl2/lvol1
vxfs fsck: OLT extent 1 has bad checksum
read of OLT copy failed
missing or invalid OLT copies, rewrite? (ynq)y
invalid fileset entry found
invalid fileset entry found
vxfs fsck: No valid fset headers found
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...



Please consult.

..Joe