dlandon / unassigned.devices

Unassigned Devices plugin for unRAID
Other
81 stars 39 forks source link

【Feature】add option serverino for smb shares #99

Closed babatonga closed 6 months ago

babatonga commented 6 months ago

Please introduce the serverino option for CIFS (SMB) mounts to enable server-side inode numbers. Without this option, inode numbers are randomly generated upon each remount, potentially causing false file change detections by other applications, such as audiobookshelf.

There is an option for CIFS serverino which enables using server-side inode numbers. Without this setting those numbers will be random. I'm currently using the plugin dlandon/unassigned.devices to handle CIFS mounts and can't set that option by myself. But I could try to create a feature request there to support that option, but the owner doesn't like adding too many configuration options, because it can get too confusing (just opened there another feature request a few days before ^^)

Originally posted by @babatonga in https://github.com/advplyr/audiobookshelf/issues/2509#issuecomment-1891047531

dlandon commented 6 months ago

CIFS mounts default to servino. Sometime ago the noservino option was added to UD CIFS mounts to stop stale file handles. I'm not interested in going back to that with all the support that comes with it. Unless this can be done without re-introducing the stale file handle problem, it is a non starter.