You are not logged in.

#26 2006-12-18 11:46:09

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: simple defragmenter

I find "tar" is pretty good for defragging.  But I never get serious fragmentation problems anyway (most I've ever seen is about 4% on ext3).


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#27 2006-12-18 15:06:55

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: simple defragmenter

chrismortimore wrote:

I find "tar" is pretty good for defragging.  But I never get serious fragmentation problems anyway (most I've ever seen is about 4% on ext3).

How do you defrag with tar?

Offline

#28 2006-12-18 15:22:14

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: simple defragmenter

Pajaro wrote:

How do you defrag with tar?

Tar the filesystem, then mk??fs the partition, and untar.  Simple wink


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#29 2006-12-18 15:48:39

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: simple defragmenter

yes, it is a good trick smile

So total defrag with tar + mk??fs + untar, a live cd and an additional drive. Quick, but you have to reboot.

And partial defrag with cp+filefrag+mv (defrag script). You can do it while your system is up and running, but it is hundreds of times slower than tar, and less effective.

You can choose, depending on your needs/possibilities.

Offline

Board footer

Powered by FluxBB