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.
can't offer much help, but I noticed that the USB Flash HOWTO was very recently updated - may be of some help:
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.
(and thanks for posting your solution)
|All times are GMT -5. The time now is 02:21 AM.|