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.

Removing a disc from a share and copy the data to the share the disc originated from?

Featured Replies

Hi, I want to remove one of the disks from the share because my rips didn't take as much space as expected. The disc I want to remove from the share (but leave it in the array) has files on it that I want to copy to the original share.

 

Can I simply uncheck the disc in Share settings without losing the data? And, if so, what's the best way to copy the files to the other shares? Use the Krusader docker? Or is a tool like unbalance better?

 

Just double checking before I do something stupid! ;-)

 

 

Edited by Teejoo

  • Teejoo changed the title to Removing a disc from a share and copy the data to the share the disc originated from?
8 hours ago, Teejoo said:

Can I simply uncheck the disc in Share settings without losing the data?

This just affect new add file do not write to that disk.

 

8 hours ago, Teejoo said:

And, if so, what's the best way to copy the files to the other shares?

Assume the share name "xxx" and in disk4

cd /mnt/disk4

mv xxx yyy

rsync -ah --stats /mnt/disk4/yyy/ /mnt/user/xxx/ -n

Check if transfer size match and any "Number of deleted files:" show, if all seems normal then remove -n and go

 

Edited by Vr2Io

Just now, trurl said:

Do not mix disks and user shares when moving or copying files.

They are yyy and xxx, in different name.

  • Community Expert
5 minutes ago, Vr2Io said:

They are yyy and xxx, in different name.

yes I noticed and so deleted my post. Might be good to have the quote from mine together with your explanation though in case someone else tries this without taking that precaution.

That's great, we always try the best to provide correct solution or answer.

  • Author
9 hours ago, Vr2Io said:

This just affect new add file do not write to that disk.

 

Thanks for your help. After doing this I still can see the files from that disc in the share. So it really only affects new files as you say? Is there no way to 'update' the share that these files aren't there anymore? That would make more sense to me. Or do I have to make a new share?

 

Edit: I found this helpful topic that explains it.

 

 

9 hours ago, Vr2Io said:

Assume the share name "xxx" and in disk4

cd /mnt/disk4

mv xxx yyy

rsync -ah --stats /mnt/disk4/yyy/ /mnt/user/xxx/ -n

Check if transfer size match and any "Number of deleted files:" show, if all seems normal then remove -n and go

 

 

 

I'm not so into the command lines thing, but I think I understand what you mean. But as far as I can see I can use the Unbalance plugin to do this? I believe the unbalance docker checks size automatically.

Edited by Teejoo

2 hours ago, Teejoo said:

So it really only affects new files as you say?

Yes.

 

2 hours ago, Teejoo said:

Is there no way to 'update' the share that these files aren't there anymore?

You need move / copy out the file from remove disk to other disks, no matter you use what method.

 

2 hours ago, Teejoo said:

Or do I have to make a new share?

Case by case, I always recommend create share ( folder ) to copy file instead move file, because this can easy discard the change. Once file complete copy then perform last step to merge directory. 

 

2 hours ago, Teejoo said:

But as far as I can see I can use the Unbalance plugin to do this? I believe the unbalance docker checks size automatically.

That's fine if you think unbalance more easy to handle the job, btw, any wrong setting in unbalance can cause problem too. I never use unbalance.

  • Author

Thanks Vr2Io!

 

Using Unbalanced seems a good way to do this. The only thing I have to figure out is why it uses the cache disc when I move the files to the other drive. I did disable the cash in the share settings.

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.