5

I have a problem when I want copy a directory to a disk external, but the directory has size 6 GB.

When try copy it, it gives me a error: " File too large",

I give more information, that directory has a format ext4, my disk external has format NTFS.

Not should I have had this problem, because such as ext4 as NTFS allows this function (when I say "allows this Function" I'm saying that allows copy files larger than 4 GB)

I have Ubuntu 16.04.2 LTS (Xenial Xerus) Ram 16 GB


elisur@elisur:~/Movies$ cp -rv Metallica\ Through\ The\ Never/ /media/elisur/SP\ PHD\ U3/Movies\ Backup/
'Metallica Through The Never/Metallica.ThroughTheNever2013.720pVATAKy.mkv' -> '/media/elisur/SP PHD U3/Movies Backup/Metallica Through The Never/Metallica.ThroughTheNever2013.720pVATAKy.mkv'
cp: error writing '/media/elisur/SP PHD U3/Movies Backup/Metallica Through The Never/Metallica.ThroughTheNever2013.720pVATAKy.mkv': File too large 
Kusalananda
  • 333,661
elisur
  • 53
  • 1
    First, I assume you mean NTFS not NFS right? Second, when you are copying the directory, how are you doing it? – Eric Renouf Mar 09 '17 at 16:08
  • Sorry, you are right is NTFS. This is me process: cp -r /directory /media/user/disk external. thank for your help. – elisur Mar 09 '17 at 16:10
  • @elisur, Did you check the file the copy stops on, if it's larger than 4 GB? (cp -v would show the list of files while copying, if it doesn't otherwise show the file name). Also, you can edit your question to fix those typos.. – ilkkachu Mar 09 '17 at 16:21
  • If the name of your disk really is "disk external", you should put the path in quotes or escape the space between diskand external. And run cp -irto see what's happening. – ridgy Mar 09 '17 at 16:21
  • @ridgy that wouldn't explain the error message. And the -i won't help, it only does anything when the target already exists and will be overwritten. – terdon Mar 09 '17 at 17:01
  • You can use rsync command to do it when you had a problem with cp command. – supriady Mar 09 '17 at 17:01
  • 3
    @elisur please [edit] your question and show us i) the exact command you used and ii) the exact error message received. 6GB is not particularly large and there is no limit to the size of files in a directory. There is only a limit to the maximum size of a single file but in NTFS that is 256 terabytes so, again, that can't be the issue. – terdon Mar 09 '17 at 17:04
  • 3
    My best guess is that you've mididentified the file system. It's likely a variant of FAT and not NTFS. Related: http://unix.stackexchange.com/questions/53313/how-to-show-the-filesystem-type-via-the-terminal – Elder Geek Mar 09 '17 at 17:40
  • 2
    What's the output of mount | grep /dev/sd? Please [edit] this (and your previous comment) into the question itself – Fox Mar 10 '17 at 03:09
  • why do have I that edit my question if still I haven't Solved my problem? @terdon – elisur Mar 10 '17 at 14:37
  • 4
    @elisur because that way someone might be able to solve your problem. If you don't edit, your question is incomplete so nobody will be able to help you. You have been asked for various pieces of information: all of that needs to be in your question so that we can understand what the problem is. So please [edit] and add the answers to the comments. – terdon Mar 10 '17 at 15:20

0 Answers0