quei Posted August 22, 2023 Share Posted August 22, 2023 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: 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. Quote Link to comment
quei Posted August 22, 2023 Author Share Posted August 22, 2023 all of them are zfs. do you need other informations? Quote Link to comment
JorgeB Posted August 22, 2023 Share Posted August 22, 2023 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. Quote Link to comment
itimpi Posted August 22, 2023 Share Posted August 22, 2023 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. Quote Link to comment
quei Posted August 22, 2023 Author Share Posted August 22, 2023 Yes, turbo write is enabled. So what is your suggestion then? :-) I attached the diags tauri-diagnostics-20230822-1503.zip Quote Link to comment
Solution JorgeB Posted August 22, 2023 Solution Share Posted August 22, 2023 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. Quote Link to comment
quei Posted August 22, 2023 Author Share Posted August 22, 2023 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... Quote Link to comment
JorgeB Posted August 22, 2023 Share Posted August 22, 2023 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. Quote Link to comment
quei Posted August 22, 2023 Author Share Posted August 22, 2023 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? Quote Link to comment
JorgeB Posted August 22, 2023 Share Posted August 22, 2023 You can only rename the top level folder, which is the dataset. Quote Link to comment
quei Posted August 22, 2023 Author Share Posted August 22, 2023 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? Quote Link to comment
JorgeB Posted August 22, 2023 Share Posted August 22, 2023 Moving files to the same disk inside the same dataset/share is fast. 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.