D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] EXT2 filesystem: defragmenting

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Jeremy Pearson" <jeremypearson@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:

Coming from a Windows environment I'm used to performing regular
defragmentation on FAT32 and NTFS partitions. Do I need to defragment EXT2
partitions in the same way? And if so, which tools do people use?

Ext2 (and Ext3, reiserfs etc) don't actually ever need to be defragmented,
as when they were designed someone actually thought about it, and used
a worst fit algorithm, so that files didn't get split up and spread across
non-consecutive disk-sectors as often as they do in windows.

They do, occasionally need to be checked for integrity, usually after
an unclean shutdown, using fsck. The dicks have to be unmounted for this, 
so you can't access the filesystem while it is being checked.

- -- 
James                                   jamesk[at]homeric[dot]co[dot]uk

"Women might be able to fake orgasms. But men can fake whole relationships." 
- - Sharon Stone
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD4DBQFCXUqzqfSmHkD6LvoRAj3zAJoDyJ4ecIzZ+7vcVEuUizUyrUHHegCTBPs4
GUvy/cgIe5huNR4i9haHpw==
=X92p
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html