Bug #2123
openhammer is losing files
0%
Description
I'm trying to use dragonflybsd as a backup server. I'm rsyncing from
multiple remote systems to a dragonfly master. Running ls -la in one
of the synced directories in a snapshot gives me "No such file or
directory errors":
,----
| muni# pwd
|
/backup/sync/@@0x000000010fae19c0/wodka-v/pediapress.com/rootfs/usr/share/zoneinfo/posix/Etc
| muni# ls -la
| ls: GMT: No such file or directory
| ls: GMT+0: No such file or directory
| ls: GMT-0: No such file or directory
| ls: GMT0: No such file or directory
| ls: Greenwich: No such file or directory
| total 0
| drwxr-xr-x 1 root wheel 0 Aug 23 03:31 .
| drwxr-xr-x 1 root wheel 0 Aug 23 03:31 ..
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+1
| rw-r--r- 1 root wheel 130 Aug 23 03:31 GMT+10
| rw-r--r- 1 root wheel 130 Aug 23 03:31 GMT+11
| rw-r--r- 1 root wheel 130 Aug 23 03:31 GMT+12
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+2
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+3
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+4
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+5
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+6
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+7
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+8
| rw-r--r- 1 root wheel 126 Aug 23 03:31 GMT+9
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-1
| rw-r--r- 1 root wheel 131 Aug 23 03:31 GMT-10
| rw-r--r- 1 root wheel 131 Aug 23 03:31 GMT-11
| rw-r--r- 1 root wheel 131 Aug 23 03:31 GMT-12
| rw-r--r- 1 root wheel 131 Aug 23 03:31 GMT-13
| rw-r--r- 1 root wheel 131 Aug 23 03:31 GMT-14
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-2
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-3
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-4
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-5
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-6
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-7
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-8
| rw-r--r- 1 root wheel 127 Aug 23 03:31 GMT-9
| rw-r--r- 2 root wheel 118 Aug 23 03:31 UCT
| rw-r--r- 6 root wheel 118 Aug 23 03:31 UTC
| rw-r--r- 6 root wheel 118 Aug 23 03:31 Universal
| rw-r--r- 6 root wheel 118 Aug 23 03:31 Zulu
`----
The missing files are all hard links to the same file, I guess they
haven't changed during backups.
dmesg contains missing inode warnings:
,----
| muni# dmesg |tail
| HAMMER: WARNING: Missing inode for dirent "GMT0"
| obj_id = 000000010c351d62, asof=000000010fae19c0, lo=00010000
| HAMMER: WARNING: Missing inode for dirent "Greenwich"
| obj_id = 000000010c351d62, asof=000000010fae19c0, lo=00010000
| HAMMER: WARNING: Missing inode for dirent "Greenwich"
| obj_id = 000000010c351d62, asof=000000010fae19c0, lo=00010000
| HAMMER: WARNING: Missing inode for dirent "GMT+0"
| obj_id = 000000010c351d62, asof=000000010fae19c0, lo=00010000
| HAMMER: WARNING: Missing inode for dirent "GMT+0"
| obj_id = 000000010c351d62, asof=000000010fae19c0, lo=00010000
`----
hammer config looks like:
,----
| muni# hammer config /backup/sync/
| # No configuration present, here are some defaults
| # you can uncomment. Also remove these instructions
| #
| snapshots 1d 60d
| prune 1d 5m
| rebalance 1d 5m
| dedup 1d 5m
| reblock 1d 5m
| recopy 30d 10m
`----
uname a says:
| muni# uname -a
| DragonFly muni.brainbot.com 2.11-DEVELOPMENT DragonFly
,---
v2.11.0.737.g5232a-DEVELOPMENT #0: Mon Aug 22 13:36:08 CEST 2011
root@muni.brainbot.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
`----