Sweex Posted April 2, 2019 Share Posted April 2, 2019 Hi! Im doing the spring cleaning of my server and noticed that when i set up my movie and tv-show shares the split lvl was set to auto. I wanna fix this to avoid unnecessary spin up of disks to get subs or something. I read that if i change split lvl on a share that has data unraid won't move the old data, it only applies to new data. So i made i new share called tv-shows-2 and set split lvl 2 (allowed to split tv-shows but not seasons right?). I then went into krusader (docker) and navigated through user shares and moved everything from tv-shows to tv-shows-2 but everything stayed on the same disks? I thought it would organize it self because the new share had a different split level? How do i most easily clean up my media? And how im a sure that new media being written to the shares by sonarr/radarr honors the split level? Best Regards Sweex Quote Link to comment
JorgeB Posted April 2, 2019 Share Posted April 2, 2019 20 minutes ago, Sweex said: How do i most easily clean up my media? This is what I used: https://forums.unraid.net/topic/34547-diskmv-a-set-of-utilities-to-move-files-between-disks/?do=findComment&comment=391785 21 minutes ago, Sweex said: And how im a sure that new media being written to the shares by sonarr/radarr honors the split level? I believe that as long as it's writing to a user share split level will be honored, but since I don't use this someone might correct me. Quote Link to comment
itimpi Posted April 2, 2019 Share Posted April 2, 2019 If you were trying to move files using Krusader then you have fallen foul of a quirk of the way the 'move' operation is typically implemented in Linux. Because both shares seem to be the same mount point (/mnt/user) the move get implemented by first trying a rename (which is fast) and then only if the rename fails doing a copy/delete (which is much slower). In the case the rename has 'worked' so the files end up on the same disk but in the new folder. You either need to do an explicit copy/delete operation at the Krusader level or do this over the network via the share names.. Quote Link to comment
Sweex Posted April 2, 2019 Author Share Posted April 2, 2019 46 minutes ago, johnnie.black said: This is what I used: https://forums.unraid.net/topic/34547-diskmv-a-set-of-utilities-to-move-files-between-disks/?do=findComment&comment=391785 I believe that as long as it's writing to a user share split level will be honored, but since I don't use this someone might correct me. Tanks a bunch! where would i enter this command? In the terminal on the wed gui? 41 minutes ago, itimpi said: If you were trying to move files using Krusader then you have fallen foul of a quirk of the way the 'move' operation is typically implemented in Linux. Because both shares seem to be the same mount point (/mnt/user) the move get implemented by first trying a rename (which is fast) and then only if the rename fails doing a copy/delete (which is much slower). In the case the rename has 'worked' so the files end up on the same disk but in the new folder. You either need to do an explicit copy/delete operation at the Krusader level or do this over the network via the share names.. Oh, thanks. The explains a few things. I'll try the script from above first before ill do the more manual option. Quote Link to comment
JorgeB Posted April 2, 2019 Share Posted April 2, 2019 19 minutes ago, Sweex said: In the terminal on the wed gui? That works, you can also SSH into the server. Quote Link to comment
Sweex Posted April 2, 2019 Author Share Posted April 2, 2019 Just now, johnnie.black said: That works, you can also SSH into the server. First i must install the plug-in right? And i can't seam to find the .plg file? Is it somewhere on github? Im quite new to all this.. Quote Link to comment
JorgeB Posted April 2, 2019 Share Posted April 2, 2019 1 minute ago, Sweex said: First i must install the plug-in right? The plugin for what? If you mean diskmv it's a script, just needs to be copied to the server, for example to the flash drive. Quote Link to comment
Sweex Posted April 2, 2019 Author Share Posted April 2, 2019 Just now, johnnie.black said: The plugin for what? If you mean diskmv it's a script, just needs to be copied to the server, for example to the flash drive. Oh ok. As what file type? And where on the flash should i put it, just root? Quote Link to comment
JorgeB Posted April 2, 2019 Share Posted April 2, 2019 Just unzip the files and leave them as they are, and yes root if fine, then just cd /boot before running it. Quote Link to comment
Sweex Posted April 2, 2019 Author Share Posted April 2, 2019 11 minutes ago, johnnie.black said: Just unzip the files and leave them as they are, and yes root if fine, then just cd /boot before running it. Thanks! the Script works. this saved me a lot of time.. 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.