Do I need to defragment an external USB fat32 drive?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Do I need to defragment an external USB fat32 drive?
I have an external USB drive which I share between my Linux laptop and my Windows work PC. I know that for Linux filesystems there's generally no need to defragment, but does this also hold true for Windows filesystems when used under Linux? Or does the Linux implementation of fat32 also fragment the data? If so, is there a tool I can use to defragment a fat32 partition?
I have searched for info on this, but all I seem to be able to find are threads about needing to defragment Linux paritions (ext2/3, reiserfs etc.), but nothing on fat32.
I have an external USB drive which I share between my Linux laptop and my Windows work PC. I know that for Linux filesystems there's generally no need to defragment, but does this also hold true for Windows filesystems when used under Linux? Or does the Linux implementation of fat32 also fragment the data? If so, is there a tool I can use to defragment a fat32 partition?
I can't speak for the Linux implementation of fat32, but one straight forward thing you could try is to run the Windows defragmentation tool when you're using your USB drive on your Windows work PC. That should at least tell you how fragmented Windows thinks your drive is, and then you can decide whether or not to proceed with a Windows defrag.
After I'd posted, I realised I could just have done that! It reports that it is fragmented and that I should defragment it. I'm still curious is this is an inherent problem with fat32, or if this is just the way it's been implemented...
M$Windows uses the FAT32 partition differently than Unix or Linux uses the EXT3 <or other great File Systems>. Because it is written the way they are committed to writing it,..the results are also confined to the restrictions of the Operating System. As a model, two trains on separate tracks. Train A, perceives Unix instructions and has access permissions to avoid accidents. Train B has limitations to its code and must, respond to its commands without complete freedom to prevent accidents. Truly sad for the free world.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.