VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: USB Stick Problem  (Read 71 times)

Pita

  • Vectorian
  • ****
  • Posts: 1344
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?
Logged

roarde

  • Vectorian
  • ****
  • Posts: 628
  • move the needle
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.
Logged
Robert
VL 7.1 Light

Pita

  • Vectorian
  • ****
  • Posts: 1344
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 »
Logged

wigums

  • Packager
  • Packager
  • Vectorite
  • ****
  • Posts: 209
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
Logged
When the people fear their government, there is tyranny; when the government fears the people, there is liberty.