Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Flash Card 'Disk Full' erorr (no, its not full) [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Thu Mar 23, 2006 7:41 pm    Post subject: USB Flash Card 'Disk Full' erorr (no, its not full) [SOLVED] Reply with quote

Hi, when I mount my Compact Flash card from my USB reader and try to transfer a 10MB file it says the disk is full. On my windows box is says there is still 400MB free When I look at the properties in Konqueror it says:
Size (of the files on the card): 3.5GB
Free: 4.7MB out of 4.0GB

df -h says:
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 4.0G 4.0G 4.7M 100% /mnt/new

and dmesg says: SCSI device sdb: 8211168 512-byte hdwr sectors (4204 MB)

Really the card is only 4000MB not 4204MB. The filesystem is FAT32. Any one have any ideas how I can fix this? Thanks.


Last edited by rada on Sun Aug 27, 2006 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Fri Mar 24, 2006 1:25 am    Post subject: Reply with quote

Try making a directory if there isn't already one.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Fri Mar 24, 2006 4:28 am    Post subject: Reply with quote

On the flash card? Theres lots of directories.. What would that do?
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Fri Mar 24, 2006 12:19 pm    Post subject: Reply with quote

I've had that happen before. If I just copied files to the root of the card without any subdirectories, it filled up really fast. It was just an idea, and apparently that's not your problem.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Fri Mar 24, 2006 4:50 pm    Post subject: Reply with quote

I think the problem is with how it is mounted. It should be only 4000MB instead of 4204MB I think.. Thanks for your input though.
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Tue Mar 28, 2006 3:49 am    Post subject: Reply with quote

bump - I've had this problem before on another computer but never figured out how to fix it. Surely someone here has had the problem and fixed it. Please?
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Sun Apr 09, 2006 11:47 pm    Post subject: Reply with quote

So what happened really was when I mounted the drive, linux mounted it as if the drive was already 100% full when really there was some space left on it. Has this ever happened to anyone before? How did you fix it? Thanks.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Mon Apr 10, 2006 2:51 pm    Post subject: Reply with quote

Are you sure you haven't just run out of directory entries? The max # of files per directory in FAT filesystems is rather limited.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Mon Apr 10, 2006 6:09 pm    Post subject: Reply with quote

Theres less than 65535 files on the whole card. Also the directory names which are longer than DOS names still have on avg <500 files. Thx though.

Anyone? Any more ideas?
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Sun Aug 27, 2006 7:33 am    Post subject: Reply with quote

Ok so I fixed it. It seems the problem was, any time I deleted a file off of it in windows, the vfat driver didnt see that as free space. Merging winfstools and doing a fsck fixed the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum