[haiku-bugs] [Haiku] #15609: checkfs do not detect attribute/index errors

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 07 Jan 2020 19:10:28 -0000

#15609: checkfs do not detect attribute/index errors
------------------------------+------------------------------
 Reporter:  X512              |        Owner:  axeld
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  Unscheduled
Component:  File Systems/BFS  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 This is hrev53693 with https://review.haiku-os.org/c/haiku/+/2083 applied.

 checkfs reports no error:
 {{{

checkfs -c /Haiku
         589270 nodes checked,
         0 blocks not allocated,
         0 blocks already set,
         0 blocks could be freed

         files           534706
         directories     50429
         attributes      2520
         attr. dirs      1575
         indices         40

         direct block runs               584629 (33.56 GiB)
         indirect block runs             2772 (in 153 array blocks, 7.16
 GiB)
         double indirect block runs      0 (in 0 array blocks, 0 bytes)
 }}}
 , but when opening Tracker "Open With" menu, following errors will be
 written to syslog:
 {{{
 KERN: bfs: InitCheck:325: Bad data
 KERN: bfs: KERN: inode at 27724319 is already deleted!
 KERN: bfs: GetNextMatching:615: Bad data
 KERN: bfs: KERN: could not get inode 27724319 in index "BEOS:APP_SIG"!
 KERN: bfs: inode 27724750 in query has no name!
 KERN: bfs: inode 28249203 in query has no name!
 KERN: bfs: bfs_open_dir:1705: Not a directory
 }}}
 .
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15609>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: