-
-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] supporting remote mounts #178
Comments
Thanks, glad you find it useful. An ssh mount or samba share we can probably make work with the disk usage chart. I'll need to experiment with rclone since I've not used it before. That may not be as straightforward. |
@henrygd Considering both SSHFS and Rclone use FUSE as their filesystems framework, I'd imagine implementing something for FUSE would allow either of SSHFS or Rclone (or any other FUSE filesystem) to work. However, Samba, in my opinion, would be the more difficult one to work with since it uses a proprietary protocol (SMB). I appreciate you already taking some initiative looking into it! If you hit a roadblock or this is a lower priority issue, let me know, I'll have some time on my hands in two weeks or so to try and implement this myself. Plus, I've been meaning to learn Go, so this would be a good opportunity 😊. |
Just did a quick test and it looks like we can read usage for SSHFS / FUSE and SMB / CIFS, at least with the binary. I'm mainly curious what the capacity will be if you mount something like an S3 bucket with rclone. If it comes in as 1PB then that will not work well with the chart. Otherwise I think I can refactor things a bit to allow filesystems without I/O and allow paths in |
@henrygd I didn't consider this and you are correct. Certain Rclone providers don't have capacity information. The full list is in this table (look at the "About" column). You are also correct that Rclone displays the capacity as 1 PB in these cases (users can also manually set the size to anything they want with the Unlike storage capacity, all storage providers do correctly return information on the current size. However, I'm reading that this operation can be expensive for certain providers (like S3). |
This should work now in 0.5.0. Let me know if you have any questions or run into trouble setting it up. |
I'd first like to express how amazing, beautiful, and simple to setup this project is. Thank you for creating it!
My feature request is to allow adding remote mounts as extra filesystems. For example SSH mounts or, in my use case, rclone mounts.
My main goal is to monitor storage usage on my remote mounts. I realize remote mounts may be incompatible with certain beszel widgets that disk mounts would have available (e.g. throughput). So, if this feature were to be implemented, disk mounts would likely show different widgets.
I'd appreciate any thoughts and contributions to this requests Thank you!
The text was updated successfully, but these errors were encountered: