December 15, 201213 yr I succesfully mounted a disk in unraid. I want to copy a directory of it to another disk and let it run when I close putty. Is this the right command: nohup cp /dev/sde/Media /dev/sdn & ? I even want to let it continue when an error is encountered. Or is rsync possible?
December 15, 201213 yr It's sort of the right command. You aren't using the right paths. You should be using your mount points. e.g. if you mounted /dev/sde to /Folder1 and /dev/sdn to /Folder2 then you would use "nohup cp -r /Folder1/Media /Folder2" (note the -r for recursive, meaning it will copy the folders and what's in it) if you want to use rsync: "nohup rsync -av /Folder1/Media /Folder2" PS: you need the ampersand symbol but my keyboard is missing the key to make the ampersand.
December 15, 201213 yr It's sort of the right command. You aren't using the right paths. You should be using your mount points. you need the ampersand symbol but my keyboard is missing the key to make the ampersand. Those example mount points aren't right for the unraid array drives, they should be /mnt/diskX or /mnt/user/Sharename. For a drive mounted manually or with one of the plugins you will have to determine the mount point manually. If you can issue an ls command and see the folder you want, you are there. For future reference, it would have been easy to copy and paste the ampersand from his post into yours.
Archived
This topic is now archived and is closed to further replies.