LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Permissions error while copying files on NFS, but only on some files (https://www.linuxquestions.org/questions/linux-networking-3/permissions-error-while-copying-files-on-nfs-but-only-on-some-files-743994/)

caggles 07-30-2009 03:04 PM

Permissions error while copying files on NFS, but only on some files
 
Hi all

Here is my problem:

I have a brand-spanking new storage server with 5.7TB on it in RAID5. I have a computer with 2.2TB of RAID5 space which is mostly full. As such, I am copying stuff from the computer to the server over NFS.

Things are just peachy for a while, but towards the end of the copy (meaning after 1.1 of the 1.7TB of data is transferred), I get the following error (repeated for each file that won't copy):

cp: cannot stat '/home/store1/folder/filename.txt': Permission denied

I don't think it would be the usual stuff that would cause this sort of a problem (like root squash) because it's only doing it to certain files (and all of the files and folders being copied have exactly the same permissions on them).

Any ideas?

Thanks,

Caggles

ADxD_7 07-30-2009 03:17 PM

My only suggestion is do not use the " cp " commands for large amounts of data...use rsync ( and use the -av flags) - or tar it all up, move it, and untar it. - You use cp for that and weird stuff starts to happen....just my experience


All times are GMT -5. The time now is 01:38 AM.