Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-05-2005, 12:24 AM   #1
LQ Newbie
Registered: Mar 2004
Distribution: Red Hat / Fedora
Posts: 8

Rep: Reputation: 0
Question Defrag VFAT under Linux

When I first installed Linux, I let it dual boot with Windows 98. I have sense removed Win98, but all of my important data (docs, mp3s, pixtures, etc) is on my VFAT drive. In windows, I would defrag it every so often, but sense removing windows from my system, this hasn't been an option.
The partition has really been slowing down and I'm sure I need to defrag it. Is there anyway to do this under Linux, without putting (POS) Win98 back on my system?
Old 05-05-2005, 01:57 AM   #2
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This doesn't sound like a fragmentation problem. Fragmentation occurs because files are relocated after alteration which would generally not be the case in this situation (music, pics etc). They would be only in a read mode and not read/write. Documents that you need to change frequently should be moved to /home/user and then just use the partition as an archive. I think there may be something else wrong such as the drive starting to die. Perhaps you need to get a diagnostics disk from the manufacturer and run some tests on it. If it is dying and you want/need the info then you need to get it off.
Old 05-05-2005, 05:05 AM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
One way to "defrag" your windows drive would be to copy all the files to your linux partition, (Check that they have all been copied correctly!!), then delete all the files on your windows partition, then copy them back. But why not just copy them to a linux filesystem, and be done with it?
Old 05-05-2005, 07:31 AM   #4
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
tredegar is right, if you don't have win, so what for a fat partition?? copy the data of this partotion elsewhere, then format it to be ext2 (or ext3 if you have a "recent" kernel) and copy your data back to that partition, you won't have to botter about defragmentation never more!!
Old 05-05-2005, 07:42 AM   #5
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
BUT! TigerOC could be right!! get a test hhd program and check it!!!
Old 05-05-2005, 07:54 AM   #6
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
All of the above, and -- if you still have it -- you could boot Win98 from a floppy or CD and check the fragmentation level there.

Also, does you vfat drive support SMART? If so, make sure you've turned on your BIOS SMART support, or, alternatively, run the smartd service. (I do both.) That can catch (some) hard disk problems, and at least warn you of potential (or actual) problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Defrag vfat from Linux? DragonWisard Linux - Software 30 06-06-2011 07:32 PM
defrag vfat on WINdows makes Linux a mess lnthai2002 Linux - Hardware 0 01-16-2005 09:47 AM
Defrag in Linux? fedivh Linux - General 4 02-09-2004 04:02 PM
How Can i Defrag Linux??? FearPasion710 Linux - General 9 10-29-2003 04:45 PM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 03:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

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