Comments (6)
@willscott
I've tried to mount with options locallocks
, and it looks better.
But there are still some problems.
Word docx(doc) files could be saved with some wired temporary directories like abc.docx.sb-xxxxxx-xxxxx
Excel xlsx(xls) files could be saved without any sb
temporary directory
PowerPoint pptx(ppt) files could be created but couldn't be saved.
- NFS Server: macOS,
sudo ./example/osnfs /path/to/files/ 45678
- NFS Client: macOS,
sudo mount_nfs -vvv -o port=45678,mountport=45678,proto=tcp,nosuid,sync,locallocks "localhost:/nfs" /path/to/mount
from go-nfs.
I wonder if #72 was the underlying issue behind this
can you try again with the current version?
from go-nfs.
@willscott
Same...
from go-nfs.
Does anyone have a clear idea what is happening here? This is affecting rclone users in rclone/rclone#7973 in exactly the same way.
Putting nolock
or locallocks
doesn't fix the problem though - the symptoms are as described above #54 (comment)
Is this a problem because the nfs server doesn't implement locking? If so could we implement a skeleton locking system?
I notice that memfs has a stubbed out Lock and Unlock which don't appear to be called anywhere
Lines 335 to 343 in 91bc389
from go-nfs.
@ncw - the reason memfs does not implement lock / unlock is because the accompanying 'Network Lock Manager (NLM)
protocol' is not implemented here. The protocol is documented in RFC 1813 - but it will be a bigger effort than the method you point to.
from go-nfs.
Thanks @willscott
What do you think the best way forward with this issue is? Rclone can't support locking so how can we tell the clients not to try?
from go-nfs.
Related Issues (20)
- There are still places where FileID zero is returned, which confuses linux HOT 9
- Still getting stale file handle issues: see #100 HOT 3
- `onRename` errors out with "comparing uncomparable type" HOT 4
- if `fs.Remove` fails with `non-empty directory`, the server should forward that. HOT 1
- Incorrect handling of an open file's `Name()` HOT 1
- If `Read` is above a certain size, it will return nothing HOT 1
- onReadDirPlus with small cache yields no results, but no error HOT 2
- Some Write calls leads to data loss HOT 30
- A git clone will lead to the server displaying files with corrupted permissions HOT 9
- Unnecessary error messages for non-errors HOT 8
- make `onlookup` use stat rather than readdir HOT 1
- Removing directory leads to `Stale file handle` HOT 3
- Symbolic Links Cause Stale NFS File Handles HOT 1
- tagged releases
- fs.Stat is called when fs.Lstat should be called HOT 5
- support backing systems without exposed fileids
- Sockets don't work through mount HOT 11
- "Illegal instruction" when trying to run `su user` in chroot in mount HOT 29
- `flock` hangs HOT 3
- GETATTR does not set fhandle in returned struct HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-nfs.