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.

File movement inside of the same disk

Featured Replies

Hi All

I have a strange issue.

I want to migrate my shares and folders to a new structure. The new and old claim has the same configuration:
image.thumb.png.dc03a2c31e84ac5ee249219ec7aff1c4.png

 

All my files and folders are spread over different disks, which is ok.

But if I now want to move the files inside of one disk with the command:

mv /mnt/disk1/series/* /mnt/disk1/data/media/tv/

 

It takes ages to complete. Then I looked on the dashboard and saw I had read on all disks...

Typically a movement inside the same disk should be done in some seconds, but in my case, it will be read from all disks.

How can I fix this? It looks like it will copy the data from other disks.

Solved by JorgeB

  • Community Expert

Which filesystem?

  • Author

all of them are zfs. do you need other informations?

  • Community Expert

For zfs Unraid creates a dataset for shares, so they are in fact a different filesystem, and because of that will always require a rewrite.

 

Reads for the other array disks are normal if you have turbo write enabled.

  • Community Expert

Do you have Turbo Write enabled?

 

You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread.

  • Community Expert
  • Solution
33 minutes ago, quei said:

So what is your suggestion then? 🙂

Nothing much you can do, if you just wanted to change the share name that is easy and instant, but this is normal when moving data from one dataset to another.  

  • Author

Well, I want to reorganise the share... also move files and root folders to subfolders (inside the disk)...
So there is no chance to get this faster? Usually, a move takes seconds, and I must wait hours to move files inside the same disk.
this seems to be the trade-off from zfs...

  • Community Expert
19 minutes ago, quei said:

So there is no chance to get this faster?

AFAIK not unless they are all inside the same dataset (share) or it can just be renamed.

  • Author

I can move it inside of the share and then rename it.
So, in the end, this should be fast if this happens on the same disk and in the same share?

  • Community Expert

You can only rename the top level folder, which is the dataset.

  • Author

Sorry, I get confused a bit...

Does this mean movement is still slow even if I move folders and files inside of the same share/dataset?

  • Community Expert

Moving files to the same disk inside the same dataset/share is fast.

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.

Guest
Reply to this topic...

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.