March 24, 201016 yr I need some help moving all the data from my server from Disk 2\Movies to Disk 1\Movies. It's about 300GB. I did some reading here and found that I can use Telnet or Putty but I have no idea how. I managed to install the Telnet client on my windows 7 and then that's where I'm stuck. I need step by step instructions as it's all new to me. What now? Any help is appreciated.
March 24, 201016 yr Open a command prompt and type "telnet tower" (replace tower with the name of your unRAID server.) Enter "root" at the login prompt. If asked for a password enter the password you configured. Type "mv /mnt/disk2/Movies /mnt/disk1/Movies" Once the move is complete the prompt will return in the telnet window.
March 24, 201016 yr Author Sounds easy enough! Just curious, if my disk 1 folder movies contains existing movie folders below it but are different than the disk 2 movies, I'm assuming the command above will simply add the folders from disk 2\movies to the existing disk 1\movies and not overwrite my disk 1 folders right?
March 24, 201016 yr That would be correct. If they do have the same files i think (not sure though) you get prompted what to do.
March 24, 201016 yr Author Hmm didn't work. I got this Linux 2.6.31.12-unRAID. root@Tower:~# mv /mnt/disk2/movies /mnt/disk1/movies mv: cannot stat `/mnt/disk2/movies': No such file or directory root@Tower:~#
March 24, 201016 yr Hmm didn't work. I got this Linux 2.6.31.12-unRAID. root@Tower:~# mv /mnt/disk2/movies /mnt/disk1/movies mv: cannot stat `/mnt/disk2/movies': No such file or directory root@Tower:~# Capitalization is important. "Movies" is not equal to "movies"
March 24, 201016 yr Hmm didn't work. I got this Linux 2.6.31.12-unRAID. root@Tower:~# mv /mnt/disk2/movies /mnt/disk1/movies mv: cannot stat `/mnt/disk2/movies': No such file or directory root@Tower:~# Make sure you have the capitalizations correctly
March 24, 201016 yr Author ok, did that. Am I supposed to see what's copying or does it just stay at a blinking prompt?
March 24, 201016 yr ok, did that. Am I supposed to see what's copying or does it just stay at a blinking prompt? If you did not see an error then the command worked. You will not see any progress as it goes about its business. You can check disk1 to see is the move is happening. This is the reason I use Midnight Commander (type mc at the command prompt). Midnight commander allows you to see the progress as stuff is moved.
March 24, 201016 yr Author ok, I do see from the tower console that the write count is going up on disk1 so I'll assume it's working. I'm assuming I should be able to go to Explorer and view disk1 and see the new folders being written to the bottom of the list. Well I guess they will take a long time to copy over 300GB of data.
March 24, 201016 yr ok, I do see from the tower console that the write count is going up on disk1 so I'll assume it's working. I'm assuming I should be able to go to Explorer and view disk1 and see the new folders being written to the bottom of the list. Well I guess they will take a long time to copy over 300GB of data. Yes, you can go to explorer and see files appearing on disk1. You will not see files removed from disk2 till all the files are copied to disk1.
March 24, 201016 yr ok, did that. Am I supposed to see what's copying or does it just stay at a blinking prompt? If you did not see an error then the command worked. You will not see any progress as it goes about its business. You can check disk1 to see is the move is happening. This is the reason I use Midnight Commander (type mc at the command prompt). Midnight commander allows you to see the progress as stuff is moved. Hmmm, I never though of using Midnight commander in Telnet instead of Putty but now that you bring it up i would imagine that works just fine .
March 24, 201016 yr ok, did that. Am I supposed to see what's copying or does it just stay at a blinking prompt? If you did not see an error then the command worked. You will not see any progress as it goes about its business. You can check disk1 to see is the move is happening. This is the reason I use Midnight Commander (type mc at the command prompt). Midnight commander allows you to see the progress as stuff is moved. If you use mc under telnet the function keys and mouse will not work. (they do under putty) Under telnet the escape-key followed by 0 through 9 emulate the function keys in "mc" Hmmm, I never though of using Midnight commander in Telnet instead of Putty but now that you bring it up i would imagine that works just fine .
March 24, 201016 yr Author I don't see any folders being created on disk1. Gee this is not very good. I feel kinda blind at the moment not knowing what's going on...
March 24, 201016 yr Author This may seem like a silly question, but do I need to keep my telnet session open while everything is copying? If I close my session, will the copying stop?
March 24, 201016 yr This may seem like a silly question, but do I need to keep my telnet session open while everything is copying? If I close my session, will the copying stop? It will stop if you close the session.
March 25, 201016 yr Author Okay didn't quite work out the way I had anticipated. By using the command above to copy the folder, it created another folder in my Movies folder on Disk 1 called Movies and copied my movie folders there instead of the movie folder above. But no probl.
Archived
This topic is now archived and is closed to further replies.