1827295 Members
4295 Online
109717 Solutions
New Discussion

Inode erros in syslog

 
Sutanu Das
New Member

Inode erros in syslog

I am getting this error message in the syslog.

vxfs: mesg 008: vx_direrr - /u017 file system inode 7 block 23 error 6

We are not using Veritas File System though.

Folks, Please advice how may I get rid of this warning ?
8 REPLIES 8
Edward Alfert_2
Respected Contributor

Re: Inode erros in syslog

run fsck to fix the problem

#man fsck
"Do what you love and you will never work a day in your life." - Confucius
Animesh Chakraborty
Honored Contributor

Re: Inode erros in syslog

Hi,
have you tried fsck ?
what is your default fs type ?
see /etc/default/fs file
fsck -F hfs /dev/vgxx/lvolX


best of luck
Animesh
Did you take a backup?
Sanjay_6
Honored Contributor

Re: Inode erros in syslog

Hi,

Maybe fsck will fix it, maybe not. You may have to replace the disk if the no of blocks become high or it becomes a regular feature.

vxfs is the default filesystem for HP-UX now. You don't need to load veritas for that.

hope this helps.

thanks
Edward Alfert_2
Respected Contributor

Re: Inode erros in syslog

ok, i'll be nice... you don't have to read the man pages:

the error message does say you have vxfs not hfs so here is the fsck command i would use.

fsck -F vxfs -o full /dev/vg??/u017
"Do what you love and you will never work a day in your life." - Confucius
Sridhar Bhaskarla
Honored Contributor

Re: Inode erros in syslog

Looks like your intent log is out of sync. Unmount the file system and run fsck on it. You may lose the file associated with the inode or may not.

It's obviously a veritas filesystem as per the log entry.

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

Re: Inode erros in syslog

Hi,

Found this HP doc 8606140236

/Begin/
Calling getdirentries() or getdents() on a non-directory file will
cause vx_direrr errors and vx_dirbread errors. The file could
potentially be marked bad and then lost on a subsequent run of fsck
even though the file is not actually bad.

syslog.log:May 22 14:02:34 nodeA vmunix: vxfs: mesg 008: vx_direrr -
/mntpoint file system inode 3955 block 499332 error 6

Fix Text

fix
Fixed in PHKL_21885.
/End/

what i would do is copy this file, just in case it gets deleted on fsck.

Patch PHKL_21885 has been superseded by PHKL_22677 which has a dependency of PHKL_18543 (which doesn't ;-)

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Sutanu Das
New Member

Re: Inode erros in syslog

Folks thanks for all good advices.

I saw LOCAL=vxfs at /etc/default/fs and did a fstyp -v /dev/vgPROD/u017P and saw vxfs
version: 3.

So, May I be sure we are using vxfs ?

I have 20 Oracle datafiles under this mount-point. Is there any way I can find out which file is acutally not in sink ?
OR Should I backup all the files under my mount-point before I run fsck ?

Experts, Please advice.
Animesh Chakraborty
Honored Contributor

Re: Inode erros in syslog

Hi Das babu,
U can be 100 % sure that your file system is vxfs.
1.take backup of the filesystem
2.unmount
3.fsck -F vxfs -o full /dev/vgPROD/u017
4.mount the file system back

As advised by Ramesh you can install the patch
PHKL_22677 which has a dependency of PHKL_18543 .Before that please check whether it is already installed or not ?
swlist PHKL_22687

Best of luck
Animesh

Did you take a backup?