August 5, 20169 yr Hi! Im gonna replace a disc in my NAS and I want all the content on the old disc to be trasfered to another disc. Problem is that I cant find any easy way to transfer the files... Is there a way just to copy/paste from 1 disc to another? Best regards
August 5, 20169 yr Hi! Im gonna replace a disc in my NAS and I want all the content on the old disc to be trasfered to another disc. Problem is that I cant find any easy way to transfer the files... Is there a way just to copy/paste from 1 disc to another? Best regards You can use any number of methods listed here: https://lime-technology.com/wiki/index.php/Transferring_Files_Within_the_unRAID_Server The goto tool is probably Midnight Commander. Very good tool. There are other methods using a seperate computer e.g. Syncback on Windows which will do things over the network - be sure to read my warning on the bug below though. You would have to make sure you use exposed Disk Shares. http://www.2brightsparks.com/freeware/freeware-hub.html Another Tool on Windows which I like (and use) is called Teracopy: http://www.codesector.com/teracopy I like Teracopy as it has a resume feature which will deal with dropouts or other interruptions. Be mindful however to install the latest stable version and not their development versions. The development versions are often woefully lacking in features and I don't find them suitable for use most of the time. Teracopy and syncback will also do a copy verify if you set it too. Obviously if you do choose to copy your files first (which some would recommend over moving for Safety) then you would have to delete the source to complete the "move". For a bit of a tutorial on command line file movement / copying see another post I wrote some time back: http://lime-technology.com/forum/index.php?topic=47879.msg458911#msg458911 If you decide to use the command line, you're probably going to telnet in. If you do this and are likely transferring a large amount of data I would suggest using Screen. Screen is a tool that will let you run a program (e.g. cp or mc or mv etc) persistently even if a terminal window closes or a connection is dropped. Here is a how to site I linked to: https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/ To install Screen on unRAID you need to install the NERD Pack Plugin (which will install it for you): http://lime-technology.com/forum/index.php?topic=37541.0 Best way to install NerdPack (and other Plugins) is via Community Applications Plugin: http://lime-technology.com/forum/index.php?topic=40262.0 Back to copying though, PLEASE be aware of the "share copy bug" though. If a user attempts to copy files from a disk included in a user share, to the user share, even after removing the disk from the user share, the copy will result in the files on the disk to be truncated and data lost. I believe that behind the scenes, FUSE sees that files are being overwritten, and it is trying to copy the files from the disk share on top of themselves, resulting in the data loss. Basically to be safe I would make sure you copy disk to disk whether it be over SMB (via disk share) or via command line or some other tool etc as explained in previous link. Explained in depth here: https://lime-technology.com/forum/index.php?topic=34480.0
August 5, 20169 yr Community Expert Hi! Im gonna replace a disc in my NAS and I want all the content on the old disc to be trasfered to another disc. Problem is that I cant find any easy way to transfer the files... Is there a way just to copy/paste from 1 disc to another? Best regards Do you mean that you want to: 1) copy all the data on that disk to another disk that is already part of your array? 2) get the data from the disk you are replacing onto the new disk that will replace it? #2 is what people would usually do when they say they are replacing a disk. If it is #2 you mean, then you don't want to copy anything, you want to rebuild the old disk to the new. If you mean #1 instead, then I have to wonder how else you intend to proceed since you have brought up the subject of replacing a disk when you are asking about just copying a disk.
August 5, 20169 yr Hi! Im gonna replace a disc in my NAS and I want all the content on the old disc to be trasfered to another disc. Problem is that I cant find any easy way to transfer the files... Is there a way just to copy/paste from 1 disc to another? Best regards Do you mean that you want to: 1) copy all the data on that disk to another disk that is already part of your array? 2) get the data from the disk you are replacing onto the new disk that will replace it? #2 is what people would usually do when they say they are replacing a disk. If it is #2 you mean, then you don't want to copy anything, you want to rebuild the old disk to the new. If you mean #1 instead, then I have to wonder how else you intend to proceed since you have brought up the subject of replacing a disk when you are asking about just copying a disk. Excellent points. Initially I took the OP quite literally, apparently without thinking. I am clearly rusty. After a re-read I think perhaps the OP is just after doing #2 and misunderstands how to deal with the situation of replacing a disk. Time, and a post from the OP will tell. What a waste of time that last post of mine was.
Archived
This topic is now archived and is closed to further replies.