Author Topic: USB Stick Problem  (Read 4755 times)

Pita

  • Vectorian
  • ****
  • Posts: 1349
USB Stick Problem
« on: August 30, 2015, 06:37:17 pm »
Trying to put a large 6 Gig *.tgz file to a 16 Gig USB stick
I get the error "file too large" after transferring about 4 Gig.

Another try failed as well:

sudo tar -cPf  /run/media/user/3123-AAC0/userhome.tar /home/user
tar: /home/user/.config/xpad/server: socket ignored
tar: /run/media/user/3123-AAC0/userhome.tar: Wrote only 4095 of 10240 bytes
tar: Error is not recoverable: exiting now

What is the trick to transfer large files onto a USB stick?

roarde

  • Vectorian
  • ****
  • Posts: 779
  • it's enough
Re: USB Stick Problem
« Reply #1 on: August 30, 2015, 08:17:51 pm »
Shot in the dark:

May not be enough inodes on that stick. Default format for USB may be for smaller blocks. Reformat for larger blocks or more inodes. Good luck.
Robert

Pita

  • Vectorian
  • ****
  • Posts: 1349
Re: USB Stick Problem
« Reply #2 on: August 30, 2015, 11:55:04 pm »
Shot in the dark:

May not be enough inodes on that stick. Default format for USB may be for smaller blocks. Reformat for larger blocks or more inodes. Good luck.

Thanks for the tip!

Formated with gparted to ntfs and command 
Code: [Select]
sudo tar -cPf  /run/media/user/3123-AAC0/userhome.tar /home/user
was executed flawlessly. :D

From now on I will use the tar flag -u instead of -c.
« Last Edit: August 30, 2015, 11:58:58 pm by Pita »

wigums

  • Guest
Re: USB Stick Problem
« Reply #3 on: August 31, 2015, 04:24:43 am »
did you have fat32 on it? fat32 has a file size limit of 4 gb

parksprs

  • Member
  • *
  • Posts: 3
  • user
Re: USB Stick Problem
« Reply #4 on: May 12, 2017, 12:12:09 am »
I have the same problem and found out the file system is FAT32, LOL