NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-xen/56782: panic: /: bad dir ino null entry



The following reply was made to PR port-xen/56782; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Bartosz Maciejewski <bartosz%maciejewski.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: port-xen/56782: panic: /: bad dir ino null entry
Date: Thu, 7 Apr 2022 11:45:30 +0200

 So it looks like that directory has a bunch of blocks that got zeroed.
 This could be fallout from various things - including a bad block on the
 disk and the drive firmware remapping it to a spare.
 
 The way forward probably is to kill the directory completely, by using
 
   fsdb (inum: 2) > clri 30113744
 
 and then run fsck again (which will collect all the files in that dir
 into /lost+found, but since it is a cache it doesn't matter and you can
 delete them).
 
 I'm not sure if you need to create a new empty /var/cache/fontconfig
 dir or if it will happen automatically on reboot, but after that everything
 should be ok again.
 
 Martin
 


Home | Main Index | Thread Index | Old Index