September 20, 200718 yr Greetings, I have finally set up my 2tb unRAID system and need a little help. I have a NAS device that has about 1tb of movies and i would like to copy them to the unRAID. I have set up a user share called \\tower\movies---my NAS has a shared folder also called movies - \\server\movies. So, what is the best way to move these files over. Can someone give me the step by step instructions for mounting the NAS folder and then copying from NAS to the user share using telnet/putty? It would be greatly appreciated and i am sure good for others to know as well. Thanks in advance. Ruby
September 20, 200718 yr there's already a page on the wiki detailing exactly how to do this: http://lime-technology.com/wiki/index.php?title=Transferring_Files_from_a_Network_Share_to_unRAID it worked for me, although as noted on the wiki, the cp command changes files to system and hidden, so watch out for that.
September 20, 200718 yr Author is there a way to do this without creating hidden or system file attributes when doing the copy in telnet? When trying to copy files in explorer, i lose the network after about 20GB.
September 25, 200718 yr if you're using windows to copy, try using robocopy instead of windows explorer
September 25, 200718 yr is there a way to do this without creating hidden or system file attributes when doing the copy in telnet? When trying to copy files in explorer, i lose the network after about 20GB. I would think you can simply set the "umask" to 000 and then do the copy using the "cp" command in a telnet window. The reason the extra bits are set when using telnet to do a copy is that the "umask" value is currently set to 0022. That causes two of the bits on the newly copied files to be set. Those are the bits being used by samba to mark it as hidden and a system file. Log in via telnet Type umask 000 Then type cp /mnt/disk1/file-you-want-to-copy /mnt/disk4/ to copy a single file fromo disk1 to disk4 or to recursively copy an entire drive... from disk1 to disk4 cp -R /mnt/disk1/* /mnt/disk4 The new umask value will only last until you log off in that telnet window, but you can re-type it if you log in again to copy more files. Joe L. Joe L.
September 25, 200718 yr Author is there a way to do this without creating hidden or system file attributes when doing the copy in telnet? When trying to copy files in explorer, i lose the network after about 20GB. I would think you can simply set the "umask" to 000 and then do the copy using the "cp" command in a telnet window. The reason the extra bits are set when using telnet to do a copy is that the "umask" value is currently set to 0022. That causes two of the bits on the newly copied files to be set. Those are the bits being used by samba to mark it as hidden and a system file. Log in via telnet Type umask 000 Then type cp /mnt/disk1/file-you-want-to-copy /mnt/disk4/ to copy a single file fromo disk1 to disk4 or to recursively copy an entire drive... from disk1 to disk4 cp -R /mnt/disk1/* /mnt/disk4 The new umask value will only last until you log off in that telnet window, but you can re-type it if you log in again to copy more files. Joe L. Joe L. Joe, would the same hold true then for moving from NAS to unraid? That is, would i still start with unmask 000? Then do: smbmount //workstation/share / cp -r /share/* /mnt/disk1
September 25, 200718 yr is there a way to do this without creating hidden or system file attributes when doing the copy in telnet? When trying to copy files in explorer, i lose the network after about 20GB. I would think you can simply set the "umask" to 000 and then do the copy using the "cp" command in a telnet window. The reason the extra bits are set when using telnet to do a copy is that the "umask" value is currently set to 0022. That causes two of the bits on the newly copied files to be set. Those are the bits being used by samba to mark it as hidden and a system file. Log in via telnet Type umask 000 Then type cp /mnt/disk1/file-you-want-to-copy /mnt/disk4/ to copy a single file fromo disk1 to disk4 or to recursively copy an entire drive... from disk1 to disk4 cp -R /mnt/disk1/* /mnt/disk4 The new umask value will only last until you log off in that telnet window, but you can re-type it if you log in again to copy more files. Joe L. Joe L. Joe, would the same hold true then for moving from NAS to unraid? That is, would i still start with unmask 000? Then do: smbmount //workstation/share / cp -r /share/* /mnt/disk1 Try it with one file to test, but yes, it should work the same way. In other words, cp /share/one_file_name /mnt/disk1 Then, look at disk1 from windows explorer and the file should be visible. Then, if it works as expected, use the "-r" option to the copy command as you described in your example. Joe L.
Archived
This topic is now archived and is closed to further replies.