January 24, 20251 yr I use multiples SMB shares on the same pool on unRAID. When I move a file or folder to another shared folder on that pool, the files get downloaded to my Windows 10 client first, then uploaded to the destination. Server-side move doesn't work somehow. With Get-SmbConnection I can see that SMB version 3.1.1 is used, so it should work, right? It worked perfectly with my previous Synology NAS. Do you need to activate it somewhere in unRAID first?
January 25, 20251 yr 12 hours ago, Vexz said: Do you need to activate it somewhere in unRAID first? Nope, it works by default.
January 25, 20251 yr Author 3 minutes ago, JorgeB said: Nope, it works by default. Could RAID 10 be the problem here, because the files of the other share are on the other RAID 1?
January 25, 20251 yr That should not be an issue, but post the diagnostics and the share names you are copying to/from to see if anything jumps out.
January 25, 20251 yr Author 43 minutes ago, JorgeB said: That should not be an issue, but post the diagnostics and the share names you are copying to/from to see if anything jumps out. I did in the OP, but it looks like it already got removed. Hopefully it won't get removed so fast this time. I moved files from "/mnt/user/Downloads" to "/mnt/user/Spiele". But from what I can tell, it doesn't make a difference from which to which share I move files. nas-diagnostics-20250125-1149.zip
January 25, 20251 yr I see that you have the root share hack setup, are you using that share or copying from the actual shares directly? Also, and unrelated, but see here to try and resold the PCIe errors: https://forums.unraid.net/topic/118286-nvme-drives-throwing-errors-filling-logs-instantly-how-to-resolve/?do=findComment&comment=1165009
January 25, 20251 yr Author 39 minutes ago, JorgeB said: I see that you have the root share hack setup, are you using that share or copying from the actual shares directly? Had to do a little research to know what you mean by "root share hack", as I'm still pretty new to unRAID. I guess it means that "/mnt/user" is accessible via SMB, right? It isn't. Neither do I see it when I check "\\NAS", nor is it hidden, because \\NAS\user" isn't accessible from Windows Explorer. From what I remember, I never changed anything specific to "/mnt/user" directly, just its subfolders. Adding shares from the web UI adds the subfolders in "/mnt/user". To make it short: I use the shares directly (e. g. "/mnt/user/Downloads" is accessed directly via SMB). 39 minutes ago, JorgeB said: Also, and unrelated, but see here to try and resold the PCIe errors: https://forums.unraid.net/topic/118286-nvme-drives-throwing-errors-filling-logs-instantly-how-to-resolve/?do=findComment&comment=1165009 I guess I have to put that in Main -> Boot Device -> Flash -> Syslinux Configuration -> Unraid OS, right? It looks like this now: kernel /bzimage append initrd=/bzroot mitigations=off pcie_aspm=off Needs a reboot though, which I'm not willing to do right now, as I'm running some tasks on my unRAID server, which take a while to finish first. Edited January 25, 20251 yr by Vexz
January 25, 20251 yr 1 minute ago, Vexz said: It isn't. In that case, remove all the lines you have on SMB Extra settings, also make sure the root share option is not enabled in the UD plugin, then reboot and retest.
January 25, 20251 yr Author 38 minutes ago, JorgeB said: In that case, remove all the lines you have on SMB Extra settings, also make sure the root share option is not enabled in the UD plugin, then reboot and retest. Can I instead do individual configurations for all of my shares, where the "path" is set to the shares' path? I really need this SMB configuration. For example: [Downloads] path = /mnt/user/Downloads ... [Backups] path = /mnt/user/Backups ... Edit: Can't find something like a "root share" option in Unassigned Devices. But I can remove the plugin itself. I don't need it that much. Edited January 25, 20251 yr by Vexz
January 25, 20251 yr 41 minutes ago, Vexz said: Can I instead do individual configurations for all of my shares, where the "path" is set to the shares' path? I really need this SMB configuration. For example: [Downloads] path = /mnt/user/Downloads ... [Backups] path = /mnt/user/Backups ... Edit: Can't find something like a "root share" option in Unassigned Devices. But I can remove the plugin itself. I don't need it that much. @JorgeB was referring to SETTINGS >>> SMB and then down to this section: (Some of mine are old settings that are now a part of the standard SMB configuration. Probably should remove them someday but I am lazy...)
January 25, 20251 yr Author 8 minutes ago, Frank1940 said: @JorgeB was referring to SETTINGS >>> SMB and then down to this section: (Some of mine are old settings that are now a part of the standard SMB configuration. Probably should remove them someday but I am lazy...) Yes, that's the first half of their statement, which is why I specifically asked for the changes I gave an example for. The second half of their statement referred to the UD plugin. But I can't find a "root share" option in its settings.
January 25, 20251 yr Author So I removed the UD plugin and removed everything from the SMB Extras, but still no luck. Moving a large file from one share to another is still not made server-side. I uploaded a new diagnostics file. nas-diagnostics-20250125-1540.zip Edited January 25, 20251 yr by Vexz
January 26, 20251 yr Don't see anything else that could be an issue, post the output from smbstatus but I would expect to show the same as Windows
January 26, 20251 yr Author 1 hour ago, JorgeB said: Don't see anything else that could be an issue, post the output from smbstatus but I would expect to show the same as Windows Here you go. Samba version 4.21.1 PID Username Group Machine Protocol Version Encryption Signing ---------------------------------------------------------------------------------------------------------------------------------------- 1484851 alex users 2003:c3:ef0a:fe00:fc0b:e5f7:44c6:ddad (ipv6:2003:c3:ef0a:fe00:fc0b:e5f7:44c6:ddad:52228) SMB3_11 - partial(AES-128-CMAC) 1487255 alex users 2003:c3:ef0a:fe00:e809:fa59:c990:3bbc (ipv6:2003:c3:ef0a:fe00:e809:fa59:c990:3bbc:59091) SMB3_11 - partial(AES-128-GMAC) Service pid Machine Connected at Encryption Signing --------------------------------------------------------------------------------------------- Downloads 1487255 2003:c3:ef0a:fe00:e809:fa59:c990:3bbc Sun Jan 26 11:46:08 AM 2025 CET - - Programme 1484851 2003:c3:ef0a:fe00:fc0b:e5f7:44c6:ddad Sun Jan 26 10:29:48 AM 2025 CET - - Docker 1484851 2003:c3:ef0a:fe00:fc0b:e5f7:44c6:ddad Sun Jan 26 10:55:03 AM 2025 CET - - Spiele 1487255 2003:c3:ef0a:fe00:e809:fa59:c990:3bbc Sun Jan 26 11:46:08 AM 2025 CET - - Sonstiges 1487255 2003:c3:ef0a:fe00:e809:fa59:c990:3bbc Sun Jan 26 11:24:12 AM 2025 CET - - Downloads 1484851 2003:c3:ef0a:fe00:fc0b:e5f7:44c6:ddad Sun Jan 26 11:56:32 AM 2025 CET - - Locked files: Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 1487255 99 DENY_NONE 0x100081 RDONLY NONE /mnt/user/Sonstiges . Sun Jan 26 11:24:12 2025 1487255 99 DENY_NONE 0x80 RDONLY NONE /mnt/user/Downloads . Sun Jan 26 11:46:08 2025 1484851 99 DENY_ALL 0x100080 RDONLY NONE /mnt/user/Downloads . Sun Jan 26 11:56:31 2025 1484851 99 DENY_NONE 0x100080 RDONLY NONE /mnt/user/Docker . Sun Jan 26 12:00:26 2025 1484851 99 DENY_NONE 0x100081 RDONLY NONE /mnt/user/Docker . Sun Jan 26 11:59:49 2025 1484851 99 DENY_NONE 0x100081 RDONLY NONE /mnt/user/Docker . Sun Jan 26 11:52:47 2025 1487255 99 DENY_NONE 0x80 RDONLY NONE /mnt/user/Spiele . Sun Jan 26 11:46:08 2025
January 26, 20251 yr SMB3, so no reason not to work, do you have another client computer you could test with?
January 26, 20251 yr Author 23 minutes ago, JorgeB said: SMB3, so no reason not to work, do you have another client computer you could test with? Yes, a Windows 11 Pro machine. Just tested, but same issue. No issues when I move files to another path on the same share though. Even testet it with a 51GB file. I don't know why it isn't working, but an ugly workaround would be to create just one share, create folders or ZFS datasets in that share with the current share's names and put all the files in these folders/datasets. Wait a minute. ZFS creates individual datasets for each share. Could that be the reason why it isn't working? Moving files from one dataset to another dataset?
January 26, 20251 yr Author Solution 6 minutes ago, Vexz said: Wait a minute. ZFS creates individual datasets for each share. Could that be the reason why it isn't working? Moving files from one dataset to another dataset? Looks like this is the issue here. I just created a new share (which automatically creates a new dataset), called "Test". In that dataset, I created two new datasets "Test1" and "Test2". I copied a file (around 4.5GB) to Test/Test1. From there I moved it to Test/Test2. It took about 20 seconds to move the file. Just to make sure, I moved the file back to Test/Test1 and then to Test/. It always took the same amount of time. Then I created a folder (not a dataset) Test/Testfolder and moved the file from Test/ to Test/Testfolder and it was instantly there. Conclusion: Moving files from dataset to dataset makes unRAID have to copy the file over to the destination and then delete the source. It's not just a change of the pointer to the file in the file system. @JorgeB can you confirm that?
January 26, 20251 yr On 1/24/2025 at 7:55 PM, Vexz said: When I move a file or folder to another shared folder on that pool, the files get downloaded to my Windows 10 client first, then uploaded to the destination. Copying a file from one dataset to another implies an actual copy, not a move, but that wasn't the issue you mentioned, and that should still not happen even with datasets.
January 26, 20251 yr Author 42 minutes ago, JorgeB said: Copying a file from one dataset to another implies an actual copy, not a move, but that wasn't the issue you mentioned, and that should still not happen even with datasets. Yes, I specifically said "move", not "copy" in my original post. But when you say that should still not happen, even with datasets, then the problem must be somewhere with ZFS on my unRAID server, right? Edit: If you can trust people on reddit, it's a copy from one dataset to another. So yes, that has to be the issue here. https://www.reddit.com/r/zfs/comments/fvjmmb/is_moving_files_between_datasets_a_copy_operation/ Edited January 26, 20251 yr by Vexz
January 26, 20251 yr 50 minutes ago, Vexz said: Yes, I specifically said "move", not "copy" in my original post. Yes, but you also said: On 1/24/2025 at 7:55 PM, Vexz said: the files get downloaded to my Windows 10 client first, then uploaded to the destination. This cannot happen, is it happening?
January 26, 20251 yr Author 1 hour ago, JorgeB said: This cannot happen, is it happening? I don't know where to check that, but it must have been my misinterpretation. It was my guess of what happens there, since it took so long. Just ignore it. Thank you very much for your help.
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.