November 25, 20178 yr In another thread I detailed how my old 6 x 2TB drive (10TB capacity) unRAID v.4.5.6 system won't boot up any more, and in the meantime, I built a new 3 x 8TB drive (16TB capacity unRAID v.6.3.5 system. I desire to back up the data from the 5 data disks from my old drive to the new unRAID box. My plan is to one-by-one remove a data drive from my old unRAID box and connect it in my new unRAID box and mount/share it using the Unassigned Devices plugin, then back-up data from the old drive to the new unRAID, and repeat for the remaining 4 data disks. When finished, the old data disks will go back into the old unRAID box, at which point I will attempt to upgrade to unRAID 6.x.x in the old box, all without disturbing the data on the old unRAID drives, which are reiserfs. At this time I have successfully installed Community Applications in the new unRAID, installed the Unassigned Devices plugin in the new unRAID, pulled Data Drive 1 from the old unRAID and connected it to the new unRAID, renamed the mount point "OLDRAID1". I created a new share on my new unRAID named "BackedUpUnRAID" where I intend to copy the data from my old unRAID's data drives. From the unRAiD main window, if I click on the share to "browse share" I can see the data files on the drive. I generally use Macintosh computers, but I have PC's that I can use as well. At this time, on a Mac, I can mount my unRAID shares on my Mac by either SMB or CIFS. If I mount the OLDRAID1 share by SMB, the directories on OLDRAID1 have a "wrong way" icon and any attempt to open or copy them is met with an alert that I don't have permission to see the contents. If I mount the share by CIFS, they have normal directory icons but the directories appear empty when I open them (showing "0 items" at the bottom of the open directory windows). I'm not sure what to do at this point. Copying the data via a third computer mounting two shares from my unRAID is surely inefficient. I use puTTY on Windows systems at work. Should I use puTTY to connect to my unRAID to copy files? Why don't I see the data in the directories with CIFS or why do I have permissions issues when I mount the directories as SMB to my Mac? I feel like I'm *SO CLOSE* to copying my data, but keep hitting road-bumps. HELP. [EDIT] From Terminal on my Mac, using "New Remote Connection" from the Shell menu in Terminal, I can log in and navigate to both: /mnt/disk1/BackedUpUnRAID and /mnt/disks/OLDRAID1/ where I can see my data files and directories on OLDRAID1. Ideally I would like to initiate file copying in the SSH terminal connection that can continue even if I close the SSH connection from my Mac. I've read that Midnight Commander is included in unRAID and will do this. Do I need to do anything special to invoke that? I have very basic Linux proficiency. Edited November 25, 20178 yr by Printingdude added info
November 25, 20178 yr Upgrades from 4.x to 5 and above required a one time run of the New Permissions tool. You can run this manually on the old drive via the command prompt: newperms /mnt/disks/OLDRAID1 and should fix you up. 4 minutes ago, Printingdude said: Should I use puTTY to connect to my unRAID to copy files? If you know how to use it, then definitely will be the fastest way. You'll still have to fix the permissions on the files though at some point.
November 25, 20178 yr Author 14 minutes ago, Squid said: Upgrades from 4.x to 5 and above required a one time run of the New Permissions tool. You can run this manually on the old drive via the command prompt: newperms /mnt/disks/OLDRAID1 Ah, thanks. I ran into that when I first started my new unRAID back when my old one was still working. I tried running it again, but (perhaps obviously) it only ran on the new unRAID drives and not on the unassigned devices drive. I'll give that a shot.
November 25, 20178 yr Author Yep, New Permissions fixed both SMB and CIFS file access permissions and visibility. Thanks! Looking over https://wiki.lime-technology.com/Transferring_Files_Within_the_unRAID_Server#Midnight_Commander_-_Easy_to_Use_GUI_Tool now. It looks like this command line ought to do what I want: nohup cp -r -v -p /mnt/disks/OLDRAID1/* /mnt/disk1/BackedUpUnRAID &
November 25, 20178 yr 18 minutes ago, Printingdude said: Yep, New Permissions fixed both SMB and CIFS file access permissions and visibility. Thanks! Looking over https://wiki.lime-technology.com/Transferring_Files_Within_the_unRAID_Server#Midnight_Commander_-_Easy_to_Use_GUI_Tool now. It looks like this command line ought to do what I want: nohup cp -r -v -p /mnt/disks/OLDRAID1/* /mnt/disk1/BackedUpUnRAID & You're going to want to run it via screen (install via the NerdPack plugin), or locally on the attached monitor. If you don't, and you close your putty session (or the computer its on sleeps / whatnot), then the command will be aborted. Personally, I would just use MC and copy using the interface rather than the command.
November 25, 20178 yr Author 26 minutes ago, Squid said: If you don't, and you close your putty session (or the computer its on sleeps / whatnot), then the command will be aborted. Personally, I would just use MC and copy using the interface rather than the command. My understanding was that bracketing the copy command in nohup . . . & would run the copy task as a background task, allowing the SSH connection to be broken. Is that incorrect?
November 25, 20178 yr Author Thanks. I've been keeping an eye on the target folder and the backup appears to be going nicely, long after breaking the SSH connection. It's working! :-) [EDIT] Copy task ran overnight and successfully copied all 2TB of data, even after closing the SSH connection from the Macintosh Terminal remote session that initiated the copy task, exiting, and shutting down the Mac. I did have to run New Permissions on the copied data when it was done. Edited November 25, 20178 yr by Printingdude More info
Archived
This topic is now archived and is closed to further replies.