Defragmenting disks under Linux

Pedro Fernandes Macedo webmaster at margo.bijoux.nom.br
Tue Apr 6 21:30:12 UTC 2004


Chris Jones wrote:

>My question is:-
>Is linux susceptible to fragmentation?
>
>If so, then what tool is best to cure it, and keep it cured?
>  
>
Every filesystem is subject to fragmentation. On linux (using ext2/3 , 
xfs , jfs) , the filesystem is smart enough to keep fragmentation to a 
minimum level. Unlike windows/dos , you dont need to worry about this. 
If you reboot your system very often , it will sometimes check the 
integrity of the disk and that's all you'll see about disk maintenance 
in normal linux usage (you can run fsck to check your disks , but be 
sure not to run it on mounted filesystems. this is done automatically at 
boot time after a certain time period or a certain number of mounts).

--
Pedro Macedo





More information about the fedora-list mailing list