Replies: 1 comment 7 replies
-
Borg does not interact with ZFS at all, it just uses the normal OS file api (open, read/write, close, fsync, fadvise). For the source files it also uses the OS calls to get attributes, xattrs and ACLs. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a storage server, and trying to make it extremely fast and have large amounts of data. In order to do this I'm creating the server with two zpools. One smaller SSD write cache zpool, (technically not a cache in ZFS terminology but functionally the same in practice) and a larger HDD zpool. I'm trying to see if I can saturate my network with the write cache. So, what happens is I write to the cache, and then use ZFS send / receive in scripts to move my data from the cache to storage. But, I don't know how Borg interacts with ZFS.
I don't believe my cache will have a borg database necessarily, and doing the sends from the cache wouldn't be calling borg. So, I think I'll have to run borg differently from how I've been running it on my desktop. More accurately, would I have to call borg from my file server to move the files on my desktop that changed to the write cache in ZFS? Would Borg then be capable of handling the ZFS send / receives to update the database stored on my HDDs?
I won't have the cache initially since I need to design the HDDs with all of their special disks first. Borg should just work until I add the write cache functionality to speed up network writes. I'm new to ZFS and I don't know how using multiple pools of disks would work exactly. Maybe, Borg and ZFS are already smart enough to just write new data to the write cache, and ZFS can handle moving it all down to the HDDs. How does Borg interact with Hierchachal Storage Management?
Also are Borg writes over a network all sync writes? If they are that would change how I design my disk layout.
Beta Was this translation helpful? Give feedback.
All reactions