Replies: 1 comment 9 replies
-
https://trapexit.github.io/mergerfs/error_handling_and_logging/#logging This isn't a mergerfs thing. No, there are no logs for that. That would be a huge amount of data that would be useless 99.9999% of the time. No filesystem I'm aware of does that kind of thing. Nor can it know the high level user of the filesystem. sshfs is abstracting that away. You need to look on the machine using sshfs. Use a tool like lsof to see what files are open in the mountpoint. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying furthermore MergerFS on a little DIY NAS wiht 4 SSD drives having each a directory called 'Backups' that I want to combine to see and access all the data stored there.
So far, MergerFs does its job fine. :-D
I use SSHFS on the client computers to access the NAS mount point for MergerFS.
I wanted to clean some mess due to duplicate folders created by MergerFS on the 4 SSD while I want only one copy of the folder on one SSD drive (So, I sould have accessed the drive independently, I accessed via MergerFS : My mistake...)
So, I wanted to use 'umount' like when there is Nobody using the NAS during my setup work.
Problem, I have a bunch of client sessions using SFTP and SSHFS accessing the "MergerFS share".
Usually, No problem to 'umount' while using SFTP clients.
The problem comes from SSHFS connections from the clients.
My question is: If possible, How to see (from logs ? Wich ones ?) which client is connected and, is it possible to end their sessions without risking to kill my remote access to the NAS ?
I tried by stopping SSH service/daemond on the server, But (fortunately for my main remote access session) is does Not kill the already establshed SSH(FS) sessions.
Well, this question may be more a SSHFS challenge than a MergerFS one... But, 'umount' just fail with "umount: /path/to/merged/dir/: target is busy.", what seems directly related to MergerFS or am I completely wrong on the "stacking" between 'mount' + "MergerFS' + 'SSHFS' ?
If someone can point me toward the right direction, I will continue my search for an answer to my question.
Thanks a lot for reading me so far. :-)
Best regards,
HP_
Beta Was this translation helpful? Give feedback.
All reactions