Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Windows: correctly moving files between shares on same disks

Featured Replies

Hi,

 

I got two shares on an Unraid server:

- "download": included all disks

- "media": included all disks

 

So, I assumed that if I move files between them it would be instantly as both shares are on the exactly same drives nothing physically has to be moved - only the pointer.

 

This works as expected if I move the files within the Unraid terminal in Midnight Commander.

But this does not work as expected if I move the files within Windows in Total Commander. Here, it really copies the files to the new location and removes the old ones.

 

Is this behaviour normal or can I somehow fix this?

Edited by tardezyx
issue solved: add SMB rootshare

It's normal, and can be replicated on every OS out there.

 

Here's how this works.  The OS (in this case Windows) attempts to do a rename.  This fails (because your cannot rename from \\media\,,, to \\downloads\... the same way that you cannot rename from C:\... to D:\...), so it has to do a copy / delete operation.

 

MC operates below the system, and because of that it does succeed in the renaming, so it's instantaneous.

 

To work around this what you need to do is set up a "root share" (space invader one has a video about that).  Then the mount points are the same and you're renaming instead of copying / deleting, because you're going from \\rootshare\media to \\rootshare\downloads)  There are some caveats with that however.  If you did have include / exclude disks or use cache settings different between the two shares, then the renamed file may wind up on the wrong disk (it'll actually stay on the source disk) in apparent violation of the rules, but it's actually not a violation because you're bypassing the system

 

  • Author

Thanks a lot - I've found the video:

 

  • tardezyx changed the title to [SOLVED] Windows: correctly moving files between shares on same disks

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.