[Borgbackup] Did anyone ever test SSHFS with FUSES's NOFORGET-option?

Thorsten Schöning tschoening at am-soft.de
Tue Jul 6 15:39:05 EDT 2021


Hi all,

I'm refering to the following problem:

https://borgbackup.readthedocs.io/en/stable/faq.html#why-is-backup-slow-for-me

After looking at your issue tracker and stuff, whenever people ran
into that problem and SSHFS really was the issue, instead of changing
mount points or alike, I couldn't find the options people used SSHFS
with.

The point is that FUSE supports two interesting options: "use_ino",
which is documented to allow the file system to "set" inodes. OTOH,
I've read that SSHFS is based on SFTP, which doesn't provide inodes at
all. So "set" might really be meant as it is, like a value not being
available when only read in this setup.

> -o use_ino
> let filesystem set inode numbers

https://linux.die.net/man/1/sshfs

But there's additionally the option "noforget" and that doesn't seem
to even be documented for SSHFS:

> Never forget cached inodes

https://www.fsl.cs.stonybrook.edu/docs/fuse/fuse-article-appendices.html

And here's the interesting part: I've found someone describing inode
related problems with GIT and SSHFS and "noforget" seems to have fixed
those:

> Fuse version 2.8.x has a "noforget" option that should provide stable
> inode numbers, at the cost of unbounded memory use. Could you please
> try if this option fixes these issues?

https://git.vger.kernel.narkive.com/L4f8hTjT/inode-problem-when-using-git-on-a-sshfs-filesystem#post3
https://git.vger.kernel.narkive.com/L4f8hTjT/inode-problem-when-using-git-on-a-sshfs-filesystem#post4

As both mentioned options are disabled by default accoridng the docs,
I wondered if it's known that those have been explicitly tested ever?

Or is it known already that those can't work with Borg?

Especially the latter reads to me like FUSE is calculating inodes
somehow on its own and those are stable then onyl for a longer period
of time. But I couldn't find how those are calculated especially with
SSHFS and how long those would be valid. I guess only for how long a
file system is mounted?

Thanks!

Mit freundlichen Grüßen

Thorsten Schöning

-- 
AM-SoFT IT-Service - Bitstore Hameln GmbH
Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

E-Mail: Thorsten.Schoening at AM-SoFT.de
Web:    http://www.AM-SoFT.de/

Tel:   05151-  9468- 0
Tel:   05151-  9468-55
Fax:   05151-  9468-88
Mobil:  0178-8 9468-04

AM-SoFT IT-Service - Bitstore Hameln GmbH, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 221853 - Geschäftsführer: Janine Galonska


Für Rückfragen stehe ich Ihnen sehr gerne zur Verfügung.

Mit freundlichen Grüßen

Thorsten Schöning


Tel: 05151 9468 0
Fax: 05151 9468 88
Mobil: 
Webseite: https://www.am-soft.de 

AM-Soft IT-Service - Bitstore Hameln GmbH i.G. ist ein Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

AM-Soft IT-Service - Bitstore Hameln GmbH i.G.
Brandenburger Str. 7c
31789 Hameln
Tel: 05151 9468 0

Bitstore IT-Consulting GmbH
Zentrale - Berlin Lichtenberg
Frankfurter Allee 285
10317 Berlin
Tel: 030 453 087 80

CBS IT-Service - Bitstore Kaulsdorf UG
Tel: 030 453 087 880 1

Büro Dallgow-Döberitz
Tel: 03322 507 020

Büro Kloster Lehnin
Tel: 033207 566 530

PCE IT-Service - Bitstore Darmstadt UG
Darmstadt
Tel: 06151 392 973 0

Büro Neuruppin
Tel: 033932 606 090

ACI EDV Systemhaus - Bitstore Dresden GmbH
Dresden
Tel: 0351 254 410

Das Systemhaus - Bitstore Magdeburg GmbH
Magdeburg
Tel: 0391 636 651 0

Allerdata.IT - Bitstore Wittenberg GmbH
Wittenberg
Tel: 03491 876 735 7

Büro Liebenwalde
Tel: 033054 810 00

HSA - das Büro - Bitstore Altenburg UG
Altenburg
Tel: 0344 784 390 97

Bitstore IT – Consulting GmbH
NL Piesteritz 
Piesteritz
Tel: 03491 644 868 6

Solltec IT-Services - Bitstore Braunschweig UG
Braunschweig
Tel: 0531 206 068 0

MF Computer Service - Bitstore Gütersloh GmbH
Gütersloh
Tel: 05245 920 809 3

Firmensitz: AM-Soft IT-Service - Bitstore Hameln GmbH i.G. , Brandenburger Str. 7c , 31789 Hameln
Geschäftsführer Janine Galonska








More information about the Borgbackup mailing list