Operating System - HP-UX
1839319 Members
2598 Online
110138 Solutions
New Discussion

problems with vxfs mount error

 
anat heilper
Frequent Advisor

problems with vxfs mount error

Hi All,
we keep having errors when trying to mount:
mount /dev/vg02/vol2 /mnt/vg02/vol2
UX:vxfs mount: ERROR: V-3-21268: /dev/vg02/vol2 is corrupted. needs checking

after we do fsck we manage to mount,
but next time the error will pop again.
Any ideas?
Thanks,
Anat
7 REPLIES 7
Ivan Krastev
Honored Contributor

Re: problems with vxfs mount error

See Veritas File System Administration guide - http://docs.hp.com/en/5991-5510/5991-5510.pdf

UX:vxfs command: ERROR: V-3-21268: message
â   Description
This message is printed by two different commands:
fsckpt_restore and mount. In both cases, the kernel's attempt
to mount the file system failed because of I/O errors or corruption
of the VxFS metadata.
â   Action
Check the console log for I/O errors and fix any problems reported
there. Run a full fsck

regards,
ivan
Yogeeraj_1
Honored Contributor

Re: problems with vxfs mount error

hi Anat,

Did you verify your syslog.log for any error messages?

Also verify that the system was cleanly unmounted. You may also wish to manually unmount and remount the file system and see if the error recurs.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
AwadheshPandey
Honored Contributor

Re: problems with vxfs mount error

use fsck -F vxfs -y -o full /dev/vg00/lvol2
It's kind of fun to do the impossible
AwadheshPandey
Honored Contributor

Re: problems with vxfs mount error

use fsck -F vxfs -y -o full /dev/vg00/lvol2

if problem comes again then check the disk for i/o error with dd command
dd if=/dev/dsk/c2t3d4 of=/dev/null bs=1024
dd if=/dev/null of=/dev/dsk/c2t3d4 bs=1024

Reagrds,
It's kind of fun to do the impossible
Dennis Handly
Acclaimed Contributor

Re: problems with vxfs mount error

>Awadhesh: dd if=/dev/null of=/dev/dsk/c2t3d4 bs=1024

I think you want to use if=/dev/zero and probably a bigger blocksize.
Nick W
Frequent Advisor

Re: problems with vxfs mount error

**** CAUTION !!! ****
Hi Anat

Please be aware that the previous 2 posts are suggesting that you WRITE data to the suspect disk - BE SURE THIS IS WHAT YOU WANT TO DO....!

As suggested by Awadhesh, performing a 'dd read scan' is a good idea to detect any IO issues with the suspect disk (ie ?Do you have a HW issue on this device...?)

so I would suggest the following:
(assuming /dev/vg02/lvol2 is physically located on /dev/rdsk/c2t3d4 - using raw-device file)

READ SCAN: dd if=/dev/dsk/c2t3d4 of=/dev/null bs=1024k <--- note 1024k=1MB
READ SCAN ON ENTIRE (raw) LVOL: dd if=/dev/vg02/rlvol2 of=/dev/null bs=1024k
WRITE SCAN: --- CAUTION this will overwrite the data on this disk ---
dd if=/dev/zero of=/dev/dsk/c2t3d4 bs=1024k

Hope this helps,
Regards,
Nick 'dubya'

PS Please remember to assign points...
anat heilper
Frequent Advisor

Re: problems with vxfs mount error

Thank you all