mirror of
https://github.com/tkuschel/bees.git
synced 2025-11-17 23:09:14 +01:00
56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
## Config for Bees: /etc/bees/beesd.conf.sample
|
|
## https://github.com/Zygo/bees
|
|
## It's the default values, change them if needed.
|
|
|
|
# How to use?
|
|
# Copy this file to a new file name and adjust the UUID below.
|
|
# Note: To find the UUID of the btrfs disks: `lsblk -f`
|
|
|
|
# Which file system will be used?
|
|
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
|
|
## System Vars
|
|
# Change carefully
|
|
# WORK_DIR=/run/bees/
|
|
# MNT_DIR="$WORK_DIR/mnt/$UUID"
|
|
# BEESHOME="$MNT_DIR/.beeshome"
|
|
# BEESSTATUS="$WORK_DIR/$UUID.status"
|
|
|
|
## Options to apply, see also `beesd --help`
|
|
## Load management options:
|
|
# -c, --thread-count Worker thread count (default CPU count * factor)
|
|
# -C, --thread-factor Worker thread factor (default 1)
|
|
# -G, --thread-min Minimum worker thread count (default 0)
|
|
# -g, --loadavg-target Target load average for worker threads (default none)
|
|
# --throttle-factor Idle time between operations (default 1.0)
|
|
## Filesystem tree traversal options:
|
|
# -m, --scan-mode Scanning mode (0..4, default 4)
|
|
## Workarounds (the workaround-btrfs-send was needed < 5.4.4 Linux kernel)
|
|
# -a, --workaround-btrfs-send Workaround for btrfs send
|
|
# (ignore RO snapshots)
|
|
## Logging options:
|
|
# -t, --timestamps Show timestamps in log output (default)
|
|
# -T, --no-timestamps Omit timestamps in log output
|
|
# -p, --absolute-paths Show absolute paths (default)
|
|
# -P, --strip-paths Strip $CWD from beginning of all paths in the log
|
|
# -v, --verbose Set maximum log level (0..8, default 7)
|
|
# Use these options to reduce journal entries:
|
|
# OPTIONS="--strip-paths --no-timestamps --verbose 7"
|
|
# For more debugging messages and as a first approach:
|
|
OPTIONS="--verbose 8"
|
|
|
|
## Bees DB size
|
|
# Hash Table Sizing
|
|
# sHash table entries are 16 bytes each
|
|
# (64-bit hash, 52-bit block number, and some metadata bits)
|
|
# Each entry represents a minimum of 4K on disk.
|
|
# unique data size hash table size average dedupe block size
|
|
# 1TB 4GB 4K
|
|
# 1TB 1GB 16K
|
|
# 1TB 256MB 64K
|
|
# 1TB 16MB 1024K
|
|
# 64TB 1GB 1024K
|
|
#
|
|
# Size MUST be multiple of 128KB
|
|
# DB_SIZE=$((1024*1024*1024)) # 1G in bytes
|