LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

fsck fails after install of 11i

 
SOLVED
Go to solution
jerry1
Super Advisor

fsck fails after install of 11i

We cannot fsck one of our lvol's to mount
after vgimport.

vgimport -m mapfile -v -f infile /dev/vg03

# fsck -F vxfs -o full /dev/vg03/rlvol1
log replay in progress
vxfs fsck: file system does not contain a valid log
vxfs fsck: cannot perform log replay
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 = 334, off = 0, len = 8192
file system check failure, aborting ...
5 REPLIES 5
RAC_1
Honored Contributor
Solution

Re: fsck fails after install of 11i

This seems to be hardware problem with disk.

Run a dd test on whole disk and check.
dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k

Anil
There is no substitute to HARDWORK
Eric Antunes
Honored Contributor

Re: fsck fails after install of 11i

Hi Jerry,

Check this thread: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=695580

Best Regards,

Eric Antunes
Each and every day is a good day to learn.

Re: fsck fails after install of 11i

This *might* not be hardware related...

Did you properly umount all your filesystems before doing the upgrade? or did you just vgexport with them up?

IIRC VxFS in 11i has a new layout which means it can't read the intent log from an older VxFS filesystem... I'd be tempted to restore an old copy of fsck from before the upgrade (you *did* take a backup didn't you?) - I seem to remember it is somewhere in /sbin. Restore it to a new name/location and see if you can 'fix' the filesystem using it - then try mounting it in the usual way.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Steven E. Protter
Exalted Contributor

Re: fsck fails after install of 11i

This does not look good.

I suspect a disk has died.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
KVK
Valued Contributor

Re: fsck fails after install of 11i

I am also suspecting It looks the problem with hard disk only . #dd command returns with any error ?