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.

I wanted to copy all the 'disks' from one unRaid to another and then compare

Featured Replies

Hello,

 

I wanted to copy all the disks I have on one unRaid to another one ... there are six disks on each.

I want to keep the drives organized in the same way on the new unRaid.

 

The commands I used below worked on disks two through six ... but there seems to be one directory on disk one which holds about 3 GB of files that doesn't want to copy in this way with rsync.

 

I'm not sure if there are more files that aren't copying in another directory.

 

I was curious if there was a way to compare all files on both unRaids ...

I've been trying WinMerge ... but it was locking up more than running ... It had about 16,000 files of 250,000 compared.

(Funny thing ... WInMerge touched all the files ... now rsync wants to copy them all again ... adding --checksum to commandline ...)

 

I'm running rsync again to try and get the errors to come up again ...

 


screen -R temporary1
mkdir /temporary1
mount -t cifs -o username=root,password=******** //Storage/disk1 /temporary1
rsync -avr --stats --progress /temporary1/ /mnt/disk1/
umount /temporary1
rmdir /temporary1
exit


screen -R temporary2
mkdir /temporary2
mount -t cifs -o username=root,password=******** //Storage/disk2 /temporary2
rsync -avr --stats --progress /temporary2/ /mnt/disk2/
umount /temporary2
rmdir /temporary2
exit


screen -R temporary3
mkdir /temporary3
mount -t cifs -o username=root,password=******** //Storage/disk3 /temporary3
rsync -avr --stats --progress /temporary3/ /mnt/disk3/
umount /temporary3
rmdir /temporary3
exit


screen -R temporary4
mkdir /temporary4
mount -t cifs -o username=root,password=******** //Storage/disk4 /temporary4
rsync -avr --stats --progress /temporary4/ /mnt/disk4/
umount /temporary4
rmdir /temporary4
exit


screen -R temporary5
mkdir /temporary5
mount -t cifs -o username=root,password=******** //Storage/disk5 /temporary5
rsync -avr --stats --progress /temporary5/ /mnt/disk5/
umount /temporary5
rmdir /temporary5
exit


screen -R temporary6
mkdir /temporary6
mount -t cifs -o username=root,password=******** //Storage/disk6 /temporary6
rsync -avr --stats --progress /temporary6/ /mnt/disk6/
umount /temporary6
rmdir /temporary6
exit

 

 

Bobby

 

From a Windows computer, you could use TeraCopy to compare the files.  First, enable the 'verify' function in TeraCopy to run by default.  Next, select the entire contents of disk1 on server 1 and drag it into disk1 on server 2.  It will analyze for a while, then ask you if you want to overwrite, skip, etc.  Choose 'skip all'.  TeraCopy will then just run the CRC verification on each of the files without actually copying anything (though it should be able to copy your ornery 3 GB folder...).  Rinse and repeat this method for disks 2 - 6.

Beyond Compare Can do the same thing Rajahal suggested.

It can also do a binary compare if a CRC is not enough.

  • Author

I'm using rsync 3.04 (installed from unMenu) and the files Teracopy copies after an rsync has completed have accents (À, É, Î, Õ and Ü) in their filename.

I'm wondering if it's just coincidence or if I need to enable another option ... hmmm ...

 

or is it file length / directory depth ....

 

Bobby

Archived

This topic is now archived and is closed to further replies.

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.