[DragonFlyBSD - Bug #3056] (Feedback) HAMMER2 corruption - nonexistent files

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Sep 19 09:30:59 PDT 2017


Issue #3056 has been updated by arcade at b1t.name.

Status changed from Resolved to Feedback

Oops, it's not over yet.

I hadn't paid attention to other fs parts and some wrong files were still present. I cleaned up whole disk from incorrect files (god bless backups) and found some more weird things:

-rw-r--r--  1 root    wheel         4 19-Sep-2017 19:23 slim.pid
-rw-r--r--  1 root    wheel         4 19-Sep-2017 19:23 slim.pid
-rw-r--r--  1 root    wheel         4 19-Sep-2017 19:23 slim.pid
-rw-r--r--  1 root    wheel         4 19-Sep-2017 19:23 slim.pid
-rw-------  1 root    wheel         4 19-Sep-2017 19:23 smartd.pid
-rw-------  1 root    wheel         4 19-Sep-2017 19:23 smartd.pid
-rw-------  1 root    wheel         4 19-Sep-2017 19:23 smartd.pid
-rw-------  1 root    wheel         4 19-Sep-2017 19:23 smartd.pid
-rw-------  1 root    wheel         3 19-Sep-2017 19:22 syslog.pid
-rw-------  1 root    wheel         3 19-Sep-2017 19:22 syslog.pid
-rw-------  1 root    wheel         3 19-Sep-2017 19:22 syslog.pid
-rw-------  1 root    wheel         3 19-Sep-2017 19:22 syslog.pid

If I do `hammer2 destroy filename` one of them is destroyed.

I also noticed that after the crash simple empty files may appear in the place of newly created files.

Will clean up the drive and check how it would work.

----------------------------------------
Bug #3056: HAMMER2 corruption - nonexistent files
http://bugs.dragonflybsd.org/issues/3056#change-13212

* Author: arcade at b1t.name
* Status: Feedback
* Priority: Normal
* Assignee: dillon
* Category: Kernel
* Target version: 
----------------------------------------
After one crash (like a week ago) I got one dir damaged:

> find . | wc -l
     144

> find . -type f |& wc -l
     142

> find .
…
./standard/module.time.9.cfg
./standard/module.notification.3.cfg
./standard/e_bindings.6.cfg
./standard/module.gadman.3.cfg
./standard/systray.5.cfg
./standard/module.tasks.5.cfg
./standard/e_bryces.5.cfg
…

> find . -type f
…
find: ./standard/module.conf.9.cfg: No such file or directory
find: ./standard/module.music_control.7.cfg: No such file or directory
find: ./standard/module.everything-apps.3.cfg: No such file or directory
find: ./standard/module.ibar.7.cfg: No such file or directory
find: ./standard/module.syscon.6.cfg: No such file or directory
…

No messages on system console even with vfs.hammer2.debug=1. Not fixed with cleanup/blukfree. Current kernel: 2e8a93d8402e.

---Files--------------------------------
core.txt.31 (210 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list