nukem492 Posted December 12, 2021 Share Posted December 12, 2021 I see the file permissions and ownership are slightly different between these two options. Using Unraid Share, since no credentials are specified, files appear to use the uid and gid number of the user from the VM that created them (when viewing natively in unRAID). That is, if my user in the VM has uid/gid=1003 and I touch a file in the VM in this direct share mount, running 'stat' directly on unRAID shows the uid/gid as 1003 and permissions 0664 (rw-rw-r--). Since unRAID groups start at 100 and Ubuntu (for example) groups start at 1000, the gid for files are basically invalid for direct unRAID access (not that I think it really matters). Using SMB share, files are saved using the uid/gid of the unRAID user account that is used to log in to the share. And they're also saved with 0666 permissions (rw-rw-rw-) Which of these is preferable or does it not really matter? I assume the two methods are equal in performance, i.e., the VM using SMB does not actually traverse my network but rather only uses the virtual network which (I understand) is equivalent to direct access. Quote Link to comment
JonathanM Posted December 13, 2021 Share Posted December 13, 2021 12 hours ago, nukem492 said: I assume the two methods are equal in performance, I would be curious to know the answer to this, as in the not too distant past 9p was a good bit slower than SMB. Personally I prefer SMB anyway, as it allows identical configurations shared between VM and physical boxes, one less thing to remember how I set it up. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.