[GH-ISSUE #100] Ubuntu network drive mapping from a Windows server issue #78

Closed
opened 2026-02-26 05:31:15 +03:00 by kerem · 2 comments
Owner

Originally created by @kenhuang on GitHub (Nov 17, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/100

I had mapped a network drive from a windows server as a local drive to Ubuntu system.

Some how any new log did not pick up by the harvester, any suggestion?

Regards
Ken

Originally created by @kenhuang on GitHub (Nov 17, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/100 I had mapped a network drive from a windows server as a local drive to Ubuntu system. Some how any new log did not pick up by the harvester, any suggestion? Regards Ken
kerem closed this issue 2026-02-26 05:31:15 +03:00
Author
Owner

@kenhuang commented on GitHub (Feb 3, 2014):

Just found this on nodejs api doc:

http://nodejs.org/api/fs.html#fs_fs_watch_filename_options_listener

Availability#

This feature depends on the underlying operating system providing a way to be notified of filesystem changes.

On Linux systems, this uses inotify.
On BSD systems (including OS X), this uses kqueue.
On SunOS systems (including Solaris and SmartOS), this uses event ports.
On Windows systems, this feature depends on ReadDirectoryChangesW.
If the underlying functionality is not available for some reason, then fs.watch will not be able to function. For example, watching files or directories on network file systems (NFS, SMB, etc.) often doesn't work reliably or at all.

You can still use fs.watchFile, which uses stat polling, but it is slower and less reliable.

<!-- gh-comment-id:34000425 --> @kenhuang commented on GitHub (Feb 3, 2014): Just found this on nodejs api doc: http://nodejs.org/api/fs.html#fs_fs_watch_filename_options_listener Availability# This feature depends on the underlying operating system providing a way to be notified of filesystem changes. On Linux systems, this uses inotify. On BSD systems (including OS X), this uses kqueue. On SunOS systems (including Solaris and SmartOS), this uses event ports. On Windows systems, this feature depends on ReadDirectoryChangesW. If the underlying functionality is not available for some reason, then fs.watch will not be able to function. For example, watching files or directories on network file systems (NFS, SMB, etc.) often doesn't work reliably or at all. You can still use fs.watchFile, which uses stat polling, but it is slower and less reliable.
Author
Owner

@msmathers commented on GitHub (Aug 1, 2014):

Log.io currently doesn't support harvesting on windows machines... In your case, if the log files are located on a Ubuntu system I'd recommend installing the harvester on the Ubuntu machine itself.

<!-- gh-comment-id:50853194 --> @msmathers commented on GitHub (Aug 1, 2014): Log.io currently doesn't support harvesting on windows machines... In your case, if the log files are located on a Ubuntu system I'd recommend installing the harvester on the Ubuntu machine itself.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#78
No description provided.