What is the problem you are having with rclone?
Can't figure out how to use nfsmount with vfscache etc. The man page for nfsmount
is the same as mount
with minimal changes and no info on nuanced differences between the two.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.2
- os/version: darwin 14.2.1 (64 bit)
- os/kernel: 23.2.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.21.6
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive (Shared)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
$ rclone nfsmount gmail: ~/Documents/rclonemount/ --vfs-cache-mode=full -vv
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[gmail]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id =
A log from the command that you were trying to run with the -vv
flag
$ rclone nfsmount gmail: ~/Documents/rclonemount/ --vfs-cache-mode=full -vv
2024/01/24 13:24:12 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "nfsmount" "gmail:" "/Users/c/Documents/rclonemount/" "--vfs-cache-mode=full" "-vv"]
2024/01/24 13:24:12 DEBUG : Creating backend with remote "gmail:"
2024/01/24 13:24:12 DEBUG : Using config file from "/Users/c/.config/rclone/rclone.conf"
2024/01/24 13:24:12 DEBUG : vfs cache: root is "/Users/c/Library/Caches/rclone"
2024/01/24 13:24:12 DEBUG : vfs cache: data root is "/Users/c/Library/Caches/rclone/vfs/gmail"
2024/01/24 13:24:12 DEBUG : vfs cache: metadata root is "/Users/c/Library/Caches/rclone/vfsMeta/gmail"
2024/01/24 13:24:12 DEBUG : Creating backend with remote "/Users/c/Library/Caches/rclone/vfs/gmail/"
2024/01/24 13:24:12 DEBUG : fs cache: renaming cache item "/Users/c/Library/Caches/rclone/vfs/gmail/" to be canonical "/Users/c/Library/Caches/rclone/vfs/gmail"
2024/01/24 13:24:12 DEBUG : Creating backend with remote "/Users/c/Library/Caches/rclone/vfsMeta/gmail/"
2024/01/24 13:24:12 DEBUG : fs cache: renaming cache item "/Users/c/Library/Caches/rclone/vfsMeta/gmail/" to be canonical "/Users/c/Library/Caches/rclone/vfsMeta/gmail"
2024/01/24 13:24:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/01/24 13:24:12 DEBUG : Running mount command: ["mount" "-o" "port=61716" "-o" "mountport=61716" "localhost:" "/Users/c/Documents/rclonemount/"]
2024/01/24 13:24:12 NOTICE: NFS Server running at 127.0.0.1:61716
2024/01/24 13:24:12 DEBUG : Google drive root '': read info from Shared Drive "GShared "
2024/01/24 13:24:12 DEBUG : : OpenFile: flags=O_RDONLY, perm=----------
2024/01/24 13:24:12 DEBUG : : >OpenFile: fd=/ (r), err=<nil>
2024/01/24 13:24:13 [ERROR] No file for lookup of ._.
2024/01/24 13:24:13 [ERROR] call to 0x1038c13a0 failed: No such file or directory
2024/01/24 13:24:13 DEBUG : : OpenFile: flags=O_RDONLY, perm=----------
2024/01/24 13:24:13 DEBUG : : >OpenFile: fd=/ (r), err=<nil>
2024/01/24 13:24:13 [ERROR] No file for lookup of image18.png
2024/01/24 13:24:13 [ERROR] call to 0x1038c13a0 failed: No such file or directory
2024/01/24 13:24:13 DEBUG : : OpenFile: flags=O_RDONLY, perm=----------
2024/01/24 13:24:13 DEBUG : : >OpenFile: fd=/ (r), err=<nil>
2024/01/24 13:24:13 [ERROR] No file for lookup of .hidden
2024/01/24 13:24:13 [ERROR] call to 0x1038c13a0 failed: No such file or directory
2024/01/24 13:24:13 DEBUG : : OpenFile: flags=O_RDONLY, perm=----------
2024/01/24 13:24:13 DEBUG : : >OpenFile: fd=/ (r), err=<nil>
2024/01/24 13:24:13 [ERROR] No file for lookup of DCIM
2024/01/24 13:24:13 [ERROR] call to 0x1038c13a0 failed: No such file or directory
2024/01/24 13:24:13 DEBUG : : OpenFile: flags=O_RDONLY, perm=----------
2024/01/24 13:24:13 DEBUG : : >OpenFile: fd=/ (r), err=<nil>
2024/01/24 13:24:13 [ERROR] No file for lookup of .metadata_never_index_
And what does not work?
Your command looks ok:
Be aware that from my experience it is extremely buggy - I am not actually sure why it was released in such state.
Reading files from mount works but it is impossible to write anything.
The issues have been already reported on github:
opened 02:06PM - 12 Dec 23 UTC
<!--
We understand you are having a problem with rclone; we want to help you … with that!
**STOP and READ**
**YOUR POST WILL BE REMOVED IF IT IS LOW QUALITY**:
Please show the effort you've put into solving the problem and please be specific.
People are volunteering their time to help! Low effort posts are not likely to get good answers!
If you think you might have found a bug, try to replicate it with the latest beta (or stable).
The update instructions are available at https://rclone.org/commands/rclone_selfupdate/
If you can still replicate it or just got a question then please use the rclone forum:
https://forum.rclone.org/
for a quick response instead of filing an issue on this repo.
If nothing else helps, then please fill in the info below which helps us help you.
**DO NOT REDACT** any information except passwords/keys/personal info.
You should use 3 backticks to begin and end your paste to make it readable.
Make sure to include a log obtained with '-vv'.
You can also use '-vv --log-file bug.log' and a service such as https://pastebin.com or https://gist.github.com/
Thank you
The Rclone Developers
-->
**Hello! I'm writing with an active issue that seems to affect `rclone nfsmount` on macOS.**
-----
#### The associated forum post URL from `https://forum.rclone.org`
https://forum.rclone.org/t/rclone-v1-65-0-release/43100/25?u=scuba-tech
#### What is the problem you are having with rclone?
**ALL** attempts to copy files of any size or type, from Finder into OneDrive, via `nfsmount` fail.
It is not possible to write from Finder or save work. It *is* possible to read/open files.
Simple writing operations like `touch` and `cat > filename` from a shell do write properly into nfsmount.
-----
#### What is your rclone version (output from `rclone version`)
1.65.0 via brew
-----
#### Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
**macOS Sonoma (14.1.1)** // ARM64
-----
#### Which cloud storage system are you using? (e.g. Google Drive)
Microsoft OneDrive (personal family // 6TB)
-----
#### The command you were trying to run (e.g. `rclone copy /tmp remote:tmp`)
`rclone nfsmount --vfs-cache-mode full --filter-from "/Users/<user>/.config/rclone/rclone-filter-rules.txt" OD: ~/MOUNT-OneDrive --verbose`
Notes:
1. I am using `--vfs-cache-mode full` to allow writing with OneDrive. Using none gives an (expected) read-only error message.
2. Here are the contents of my filter rules file:
```
- **/.DS_Store
- **/.hidden*
- **/._*
```
#### A log from the command with the `-vv` flag (e.g. output from `rclone -vv copy /tmp remote:tmp`)
```
[ERROR] No file for lookup of ._GH010215.mp4
[ERROR] call to 0x106<###> failed: No such file or directory
INFO : SdT-Inboxes/GH010215.mp4: vfs cache: removed cache file as file deleted
[ERROR] No file for lookup of ._7F2A7976.JPG
[ERROR] call to 0x106<###> failed: No such file or directory
[ERROR] err loading attrs for SdT-Inboxes/GH010215.mp4: file does not exist
[ERROR] No file for lookup of ._7F2A7977.JPG
[ERROR] call to 0x106<###> failed: No such file or directory
[ERROR] err loading attrs for SdT-Inboxes/GH010215.mp4: file does not exist
```
<img width="684" alt="image" src="https://github.com/rclone/rclone/assets/35608185/9d2adedc-09e3-44e5-b4c5-bf5b91602585">
Confirming that the copy into the mount _did fail_, checking with Finder, `ls -hAls`, and even OneDrive webUI... all of these confirm that the file does **not** actually "already exist" as the error message above claims!
I hope this report helps with getting `nfsmount` sorted. :)
#### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
but so far nothing changed.
I would not use it for anything but experimenting - at least on macOS.
For working solution I use FUSE-T and rclone mount
Well this answers it. writes don't work. The documentation for nfsmount is pretty stale/incomplete I guess
system
(system)
Closed
January 27, 2024, 10:44pm
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.