February 27, 200917 yr I just transfered ~1TB of files to my new unRaid server, and am about to destroy my old server to include it's disks in the unRaid's build. Is there a way to do a checksum on the two directory's (old server vs. new server) to make sure my files were transfered correctly. I know of a 'cksum' command, but I think it only compares files and not directories with mutiple branches. Could I use Rsync? I believe it does it's own checksum, and plus it would copy anything which was not copied correctly. Also, if I am correct about Rsync, wouldn't that be a better method to copy over network shares as opposed to 'cp'. I would assume speed would be affected, but I think if you are transfering a large quantity of files, it would be worth it. Thanks
February 21, 201016 yr I would also like to know of any ideas as to how to confirm that every bit of my data made it to the unRaid server safely. I'm about to move 1.5 TB worth of DVD ISO's and I want to make sure that they get there safe and sound.
February 21, 201016 yr rsync is a great way to move the files. I use it on a daily basis. To really verify them, do an md5sum on the source and then the destination. This is especially important for a new system to insure that everything from source down the destination is working properly. There is a a windows version and a linux version. So you can test it on a windows workstation, move the files with rsync. Then test it on the unRAID/linux machine by logging in(telnet), cd'ing to the destination directory and doing the md5sum to compare the outputs.
February 21, 201016 yr I found this post and it makes it really easy to do a checksum on a large amount of data. http://lime-technology.com/forum/index.php?topic=4699.0 In linux (and unRAID) to calculate an md5 checksum on a file you would type md5sum filename To do it on all files under the user shares type find /mnt/user/ -type f -exec md5sum {} \; | tee /boot/md5_file_checksums.txt That command will compute an md5 checksum for every one of your files under the user-shares and also put the output in a file on your flash drive. If you have not enabled user-shares, use find /mnt/disk* -type f -exec md5sum {} \; | tee /boot/md5_file_checksums.txt
February 21, 201016 yr WeeboTech I would like to use rsync. Can you give me some pointers on how to set it up? I'm pretty new when it comes to cli. I'm moving my files from a ubuntu computer to a user share.
Archived
This topic is now archived and is closed to further replies.