We help IT Professionals succeed at work.

External USB HDD (500GB), Fat32, CentOS, Windows, "No Space Left On Device"...

srladm
srladm asked
on
954 Views
Last Modified: 2012-03-05
Hi,

I have a user that has a external USB 500GB HDD.  He has some data that he needs to access mainly from CentOS (v5.5 64bit).  Sometimes, he takes the drive with him and needs to access the data from a windows PC.  There are thousands of files to copy.  The data size is roughly 425GB.

I formatted the drive FAT32 with 4k cluster size (for portability) and all went well.  I gave the drive back to the user to copy the data onto the drive from a network unix server.  At some point during the data copy, it errors out with a "No space left on device" error.  

A "df -h" reveals:
/dev/sdc1             465G   18G  447G   4% /media/FOUR_GX

A "df -i" reveals:
/dev/sdc1                  0       0       0    -  /media/FOUR_GX

It almost appears to be an INODE issue.

Any ideas?

Thanks in advance!
Comment
Watch Question

Chris SandriniSenior System Engineer
Top Expert 2012

Commented:
FAT32 only supports files < 4gb. Might be a bigger file that you try to copy?

I would format it as ext3. Look here on how to access ext3 filesystem from windows
http://www.howtoforge.com/access-linux-partitions-from-windows
Sergsystem administrator

Commented:
(Sorry for my English)
Do not forget about length limit of the file in the FAT32 - 4Gb. Maybe that's the reason?

Author

Commented:
It seems to be "out of space" while copying 11000k files, so the file size doesn't appear to be the issue...

Author

Commented:
I was able to copy all his data to the USB drive (formatted to NTFS).  There was ~425GB of data and ~1.8 million files...

Now the question is how do I get it mounted in CentOS 5.5...
system administrator
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Once I installed the following rpm packages:

fuse
fuse-ntfs-3g

the drive was detected when plugged in and automounted correctly.  I guess the moral of the story is to use NTFS if you have many files and need the data to be portable between Linux and windows.

Case closed...
Lee
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.