Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

NFS support #107

Open
nizsheanez opened this issue Sep 4, 2014 · 2 comments
Open

NFS support #107

nizsheanez opened this issue Sep 4, 2014 · 2 comments

Comments

@nizsheanez
Copy link

Hi.
go version go1.3.1 linux/amd64

I runed 2 containers:

  1. with application source code in volume.
  2. with daemon (https://github.com/beego/bee) which listen changes of files in volumes (--volumes-from app_container)

in volumes (folder mounted by NFS), your library can see when i change files inside container, but when i change it from outside - no notifications.

I found out in https://docs.google.com/document/d/1xl_aRcCbksFRmCKtoyRQG9L7j6DIdMZtrkFAoi5EXaA/edit
that this problem with NFS is known, but "It is unclear how important that case is"

Suggest me please: Must i create ticket about it in Go bug tracker?

@nathany
Copy link
Contributor

nathany commented Sep 4, 2014

Hi Alexey. The lack of NFS support is a limitation of the underlying operating system.

One work around would be to fallback to polling, but we don't have polling support built into fsnotify (at least not yet). See https://github.com/go-fsnotify/fsnotify/issues/9.

@ghost
Copy link

ghost commented May 20, 2016

Yes, NFS doesn't support this type of function. (And how would it, imagine 20 network computers updating 20 files on one NFS)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants