Operating System - HP-UX
1834413 Members
1880 Online
110067 Solutions
New Discussion

Message in syslog of bad dir - mangled entry

 
SOLVED
Go to solution
James C. Hilley
Occasional Contributor

Message in syslog of bad dir - mangled entry

I have a HP T Frame running 10.20. In my syslog I am showing the following message.

/stand: bad dir ino 3 at offset ####: mangled entry

The directory at inode 3 is /stand/lost+found. The lost+found directory is empty. I cannot find anything about this in the knowledge databases. Has anyone ever run across this? And if so can you please let me know what could have caused it and how to fix the problem. Thanks for your help. James
Life is what you make it.
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Message in syslog of bad dir - mangled entry

James:

I found three documents for you. Two are very old (ca. 1994) and apply to very early releases of 10.x -- #1653101584 & #1653107946. In part they suggest not to run "fsck -n" on mounted filesystems.

The third document applies to 11.0 (#1653277301) and again deals with fsck on HFS file systems.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: Message in syslog of bad dir - mangled entry

James:

Ah, too fast on the submit button. I meant to add that you probably should have, if you don't, a relatively current set of LVM cumulative patches.

...JRF...
RikTytgat
Honored Contributor

Re: Message in syslog of bad dir - mangled entry

Hi,

To solve your problem, remove the 'lost+found' directory, and recreate it using the command mklost+found(1m).

Hope this helps,
Rik.
James C. Hilley
Occasional Contributor

Re: Message in syslog of bad dir - mangled entry

Thank you for your help. My problem is solved.
Life is what you make it.