瀏覽代碼

FAQ: Why is backing up an unmodified FAT filesystem slow on Linux?

Helmut Grohne 8 月之前
父節點
當前提交
70f173caa7
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      docs/faq.rst

+ 11 - 0
docs/faq.rst

@@ -357,6 +357,17 @@ to change them.
 
 Use ``borg repo-compress`` to efficiently recompress a complete repository.
 
+Why is backing up an unmodified FAT filesystem slow on Linux?
+-------------------------------------------------------------
+
+By default, the files cache used by BorgBackup considers the inode of files.
+When an inode number changes compared to the last backup, it hashes the file
+again. The ``vfat`` kernel driver does not produce stable inode numbers by
+default.  One way to achieve stable inode numbering is mounting the filesystem
+using ``nfs=nostale_ro``. Doing so implies mounting the filesystem read-only.
+Another option is to not consider inode numbers in the files cache by passing
+``--files-cache=ctime,size``.
+
 Security
 ########