February 17, 201412 yr Hi All I have managed to get my new Unraid unit (HP-Unraid/192.168.1.100) up and running and am trying to move 8Tb from the old box to the new. SO... I thought rather than use Windows explorer I would try and use Rsync for speed. The old unit (Unraid-1/192.168.1.101) is running v4.7 and I have 5.05 on the new one. I have followed various really good howto's on setting up Rsync on the new box and am confident I have it up and running. I would like to transfer data from shares rather than disk mounts, so I have played with the command line and keep failing. The share name is "media" on both machines... so I have tried several variations; Attempt 1: rsync -av --stats --progress /mnt/media/ rsync://192.168.1.100/mnt/media reports; sending incremental file list rsync: change_dir "/mnt/media" failed: No such file or directory (2) ERROR: module is read only rsync error: syntax or usage error (code 1) at main.c(869) [Receiver=3.0.7] rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(794) [sender=3.0.2] Attempt 2: rsync -av --stats --progress /media/ rsync://192.168.1.100/media reports; @ERROR: Unknown module 'media' rsync error: error starting client-server protocol (code 5) at main.c(1495) [sender=3.0.2] Attempt 3: rsync -av --stats --progress /mnt/user/media/ rsync://192.168.1.100/mnt/user/media reports; sending incremental file list rsync: writefd_unbuffered failed to write 4 bytes [sender]: Connection reset by peer (104) ERROR: module is read only rsync error: syntax or usage error (code 1) at main.c(869) [Receiver=3.0.7] rsync: connection unexpectedly closed (5 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(635) [sender=3.0.2] Having spent 2 days on this, I am now wishing I had just let the Windows samba based copy run as it would be done by now ;-) But any pointers greatly received.
February 18, 201412 yr I'd run this command on your old server. All user shares are under the "user" folder. So its /mnt/user/media instead of /mnt/media /usr/bin/rsync -avzh /mnt/user/media [email protected]:/mnt/user/media The -v is for verbose so it will output what its currently moving. -a is for archive keeps permissions/stuff the same. -h is for human readable for file sizes. -z is to compress while transferring. Really, I would run this in screen so if you disconnect your telnet session it still runs. - Download link. http://lime-technology.com/forum/index.php?topic=15707.0
February 18, 201412 yr Author Thanks smdion I did manage to get it working... although I have noticed on the new server, if I try to access "media" it says that I do not have permission. However I noticed in 5.0.5 there is a tick box in Utils -> Upgrade Utilities -> New Permissions, which says... This is a one-time action to be taken after upgrading from a pre-5.0 unRAID server release to version 5.0. It is also useful for restoring default ownership/permissions on files and directories when transitioning back from Active Directory to non-Active Directory integration. This utility starts a background process that goes to each of your data disks and cache disk and changes file and directory ownership to nobody/users (i.e., uid/gid to 99/100), and sets permissions as follows: For directories: drwxrwxrwx For read/write files: -rw-rw-rw- For readonly files: -r--r--r-- Clicking Start will open another window and start the background process. Closing the window before completion will terminate the background process. This process can take a long time if you have many files. So... I was planning on running this once the data has copied as I am nearly 2Tb into the move? Do you know if this is the correct way to get permission again, or should I start the transfer afresh using the -a flag? Thanks
February 18, 201412 yr Thanks smdion I did manage to get it working... although I have noticed on the new server, if I try to access "media" it says that I do not have permission. However I noticed in 5.0.5 there is a tick box in Utils -> Upgrade Utilities -> New Permissions, which says... This is a one-time action to be taken after upgrading from a pre-5.0 unRAID server release to version 5.0. It is also useful for restoring default ownership/permissions on files and directories when transitioning back from Active Directory to non-Active Directory integration. This utility starts a background process that goes to each of your data disks and cache disk and changes file and directory ownership to nobody/users (i.e., uid/gid to 99/100), and sets permissions as follows: For directories: drwxrwxrwx For read/write files: -rw-rw-rw- For readonly files: -r--r--r-- Clicking Start will open another window and start the background process. Closing the window before completion will terminate the background process. This process can take a long time if you have many files. So... I was planning on running this once the data has copied as I am nearly 2Tb into the move? Do you know if this is the correct way to get permission again, or should I start the transfer afresh using the -a flag? Thanks That is what I would do, but I would run it from command line with screen "newperms". I just don't like the chance of my session being interrupted.
September 9, 201411 yr Hello, I am in the middle of something similar, I have older unraid server name "Tower", running on version 4.5.6. USB stick from Lime. I just got finished building my new system with all 4TB drives, running version 5.0.5 USB stick from Lime. server name is "Tower" also, wondering is there any problem of changing the server name because of network naming? I see hostname commands, but is there any other place that needs to be changed? will it cause any problems with the webgui ?
September 9, 201411 yr Hello, I am in the middle of something similar, I have older unraid server name "Tower", running on version 4.5.6. USB stick from Lime. I just got finished building my new system with all 4TB drives, running version 5.0.5 USB stick from Lime. server name is "Tower" also, wondering is there any problem of changing the server name because of network naming? I see hostname commands, but is there any other place that needs to be changed? will it cause any problems with the webgui ? I don't know anything about 4.5.6, but you can set the name in 5.0.5 directly in the webGUI on the Settings Tab - Identification. So just set the name of the new server to something other than tower.
Archived
This topic is now archived and is closed to further replies.