Skip to content

Suggested layout when using NAS to store archive #1384

Answered by pirate
guidoism asked this question in Q&A
Discussion options

You must be logged in to vote

Yup! That looks typical for an ArchiveBox NAS setup and is very similar to how I do it with NFS/SMB/ZFS on my TrueNAS box + experiments server at home.

My only suggestions are:

  • also store the ArchiveBox.conf file locally and rsync it (ArchiveBox is picky about only writing to that file atomically to prevent race conditions from multiple processes editing it)
  • make sure index.sqlite3-wal is also stored locally (you can rsync it but it's not required)
  • configure these recommended ZFS options on the underlying ZFS dataset on the NAS
    • compression=lz4 (archived data compresses very well and lz4 uses very little extra CPU)
    • atime=off xattr=sa dnodesize=auto (common performance improvements that p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guidoism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants