-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patharcticwolf.example.toml
More file actions
39 lines (34 loc) · 1.3 KB
/
arcticwolf.example.toml
File metadata and controls
39 lines (34 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Arctic Wolf NFS Server Configuration
# Copy this file to /etc/arcticwolf/config.toml
[server]
# Listen address (default: "0.0.0.0")
bind_address = "0.0.0.0"
# NFS port (default: 2049)
nfs_port = 2049
# Mount daemon port (default: 0 = dynamic, OS-assigned)
# Portmapper is always on port 111 (RFC 1833)
mount_port = 0
[fsal]
# Filesystem backend type: "local" (default: "local")
backend = "local"
# NFS export root directory (default: "/tmp/nfs_exports")
export_path = "/tmp/nfs_exports"
[logging]
# Log level: "error", "warn", "info", "debug", "trace" (default: "info")
level = "info"
[quota]
# Enable folder quota enforcement (default: false)
# When enabled, first-level subdirectories under export_path may be
# assigned a byte limit; writes past the limit return NFS3ERR_DQUOT.
enabled = false
# redb database storing quota limits and tracked usage.
# The parent directory is created at startup if missing.
db_path = "/var/lib/arcticwolf/quota.db"
# Optional declarative bootstrap. Each entry sets a quota on the first-
# level subdirectory at startup, but only if the directory has no quota
# entry yet. This keeps the bootstrap idempotent: editing it after initial
# rollout will not clobber the tracked usage.
#
# Sizes support suffixes B, KB, MB, GB, TB (1024-based).
# [quota.bootstrap]
# "pvc-example" = "10GB"