[haiku-bugs] Re: [Haiku] #15355: checkfs freezes app_server

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 15 Sep 2019 15:13:52 -0000

#15355: checkfs freezes app_server
--------------------------+----------------------------
   Reporter:  pulkomandy  |      Owner:  nobody
       Type:  bug         |     Status:  new
   Priority:  normal      |  Milestone:  Unscheduled
  Component:  - General   |    Version:  R1/Development
 Resolution:              |   Keywords:
 Blocked By:              |   Blocking:
Has a Patch:  0           |   Platform:  All
--------------------------+----------------------------
Comment (by X512):

 It's better to use "checkfs -c" first. checkfs is potentially dangerous
 operation. If I understand correctly it traverses node tree and remove
 invalid nodes. So if folder will be considered invalid it and its contents
 will be deleted (https://xref.plausible.coop/source/xref/haiku/src/add-
 ons/kernel/file_systems/bfs/CheckVisitor.cpp#351) and child nodes will be
 not traversed. checkfs don't attempts to recover unreferenced nodes and
 nodes that "cannot be opened".

 "cannot be opened" errors can be caused by problems in disk cache. Reboot
 can fix that.

 BFS is journaling file system and it do not require repair after
 unexpected shutdown (but I heard that freeing blocks is required
 sometime). Filesystem errors are caused by kernel, file system drivers
 bugs and/or disk hardware failures.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15355#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: