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.

Sanity Check on Moving Shares From a Disk to Another Disk

Featured Replies

Hi,

 

I have a share all on disk 1 which I'd like to move to disks 2 & 3.

/mnt/disk1/share1

 

In the UI I believe I need to change the included disks to Disk 2 & 3, and exclude disk 1.

 

But this will NOT copy/move existing data, it'll only be true for new data.

 

Therefore, from the CLI I plan to do this:

 

cp -R -u /mnt/disk1/share1 /mnt/disk2/share1

 

This will move all the data from disk1, onto disk2.

 

Then, when I access that data via the SMB share, unraid will automatically know the existing data is now in disk2...

 

 

Is my understanding of this correct?

 

 

Solved by itimpi

  • Community Expert
  • Solution

Not quite.   If you use 'cp' then the data will end up on both drives.   You need to either delete the files from disk1 after doing the copy or use a command that does a move.   

 

When a file exists in the same location on more than one drive then Unraid will initially show the copy on the lowest number drive and hide the other one.   This can then get confusing as if you delete the file it appears to not happen as this then 'uncovers' the copy on the other drive.

  • Author
3 minutes ago, itimpi said:

Not quite.   If you use 'cp' then the data will end up on both drives.   You need to either delete the files from disk1 after doing the copy or use a command that does a move.   

 

When a file exists in the same location on more than one drive then Unraid will initially show the copy on the lowest number drive and hide the other one.   This can then get confusing as if you delete the file it appears to not happen as this then 'uncovers' the copy on the other drive.

Ahh yes I will delete it after, but was just checking my idea of how moving data from one drive to another would work.

 

 

Thanks!

 

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.