NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: find dir inode?
On Thu, May 28, 2020 at 10:37:23AM -0400, MLH wrote:
> Getting a panic every night with NetBSD 9.99.64 due to a directory issue:
>
> [ 84702.426131] panic: /opt2: bad dir ino 209700553 at offset 0: Bad dir (too big), reclen=0x5000, namlen=59, dirsiz=68 <= reclen=20480 <= maxsize=512, flags=0x2001000, entryoffsetinblock=0, dirblksiz=512
Did you run fsck -fy on it (after unmounting it, of course) ?
> [...]
> I tried plowing around using ls -id to find a directory inode which
> matches but can't find it. Back in about '84 was the last time I
> used fsdb to rebuild a filesystem but I can't remember what I used
> to locate inode numbers back then. Any suggestions? Thx
find -inum maybe ?
But you'll likely hit the panic when find will read the directory.
with fsdb you can
clri <inum>
But then you'll have to fsck the filesystem.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index