Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-30-2009, 04:04 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
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?


Old 07-30-2009, 04:17 PM   #2
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copying files over smb or nfs unusually slow kevinfishburne Linux - Networking 3 07-06-2007 01:59 AM
NFS Trouble on copying large files (400Mb+) Yalla-One Slackware 2 03-17-2007 09:29 AM
Problem copying files, perhaps due to permissions LSOsheriff Linux - General 4 02-16-2007 09:45 AM
Copying files as root without changing permissions BillyGalbreath Linux - General 3 12-28-2005 09:39 AM
copying files to NFS share goes into uninterruptible sleep damien Linux - Networking 1 10-05-2003 07:48 PM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration