LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2008, 04:36 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
Problem copying files to FAT32 usb disk (Cannot open: No space left on device)


I need to copy thousands of small files from my linux file system to a 250GB usb disk, formatted in FAT32 so it can be read in both linux and windows.

My test directory is about 7GB. I tried the following commands but I eventually get a 'No space left on device' error each time. According to df, there is 244GB free on the usb disk so I'm not sure why this is happening.

Attempt 1:
Code:
[soku@new-host-2 ~]$ tar -cS test/ | tar -C /media/usbdisk/ -x
tar: test/7/tds/11-27-03-run50/11-27-03-run51.txt: Cannot open: No space left on device
tar: test/7/tds/11-27-03-run50/11-27-03-run52.txt: Cannot open: No space left on device
...
Messages like this repeat until I CTRL-C to quit.

Attempt 2:
Code:
soku@new-host-2 ~]$ pax -rw test/ /media/usbdisk/
pax: Unable to create /media/usbdisk/test/7/tds/11-27-03-run50/11-27-03-run51.txt <No space left on device>
pax: Unable to create /media/usbdisk/test/7/tds/11-27-03-run50/11-27-03-run52.txt <No space left on device>
...
Messages like this repeat until I CTRL-C to quit.


Any ideas on what I'm doing wrong or suggestions on an alternative way to accomplish my task? Thanks for any input!

Last edited by Arodef; 08-07-2008 at 05:17 PM.
 
Old 08-07-2008, 05:02 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
My disk is C /windows/, and make sure your whole disk is formated to fat.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM
Do device files occupy disk space? tarun301 Linux - General 1 12-15-2006 05:15 PM
copying files from my home directory to my USB Flash Disk neo_phyte Red Hat 9 04-24-2006 12:32 AM
No space left on device (28) AllanBC Linux - Software 3 04-03-2006 03:55 AM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 PM.

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