LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-16-2004, 01:08 PM   #1
fusee
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: RH9 - 2.4.20-18.9
Posts: 3

Rep: Reputation: 0
USB 2.0 Flash Drive


I've just got a fantastic new ByteStor USB 2.0 Flash Drive for my RH9 (2.4.20-18.9) installation. It appears to work OK, I can mount it, dismount it, and write to it with no problems.

The problem is, it's a 512Mb drive but I can only ever write 1.3Mb to it before I get a "No space left on device" message.

"df -k" shows the following, when the device is filed to capacity-

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 506080 1344 504736 1% /mnt/pen

"cat /etc/fstab" shows the various configs I've tried so far -

# /dev/sda1 /mnt/pen auto user,noauto 0 0
# /dev/sda1 /mnt/pen vfat noatime,auto,users,umask=000 0 0
/dev/sda1 /mnt/pen vfat noauto,user 0 0


Any of you guys have any suggestions with this one? Any help greatly appreciated.
 
Old 04-16-2004, 03:47 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
can't offer much help, but I noticed that the USB Flash HOWTO was very recently updated - may be of some help:

http://www.tldp.org/HOWTO/Flash-Memory-HOWTO/index.html
 
Old 04-16-2004, 05:17 PM   #3
fusee
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: RH9 - 2.4.20-18.9
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for that Genesee.

I finally cracked it (seems so obvious now!), by using mkdosfs which created a filesystem across the entire Pen Drive! The command was -

# mkdosfs -F 32 -n PenDrive -v /dev/sda1

I can now access the full 500Mb of storage. I hope this may be helpful to other people.

Thanks again.
 
Old 04-16-2004, 05:46 PM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
cool


(and thanks for posting your solution)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB flash drive bsmntbombdood Linux - Hardware 3 10-19-2005 04:54 PM
USB Flash drive trainee Slackware 3 05-18-2005 01:50 PM
usb flash drive 1337_n00b Amigo 1 02-13-2005 12:25 AM
help about USB flash drive deepdark SUSE / openSUSE 13 01-05-2005 11:38 PM
USB flash drive crazyking Linux - Newbie 1 05-17-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:41 AM.

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