Deadringers Posted June 28 Share Posted June 28 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? Quote Link to comment
Solution itimpi Posted June 28 Solution Share Posted June 28 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. Quote Link to comment
Deadringers Posted June 28 Author Share Posted June 28 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! 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.