Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Fragmentation of my drives. Curious mostly
Date: Fri, 28 Nov 2008 19:35:19
Message-Id: ggpgui$dp6$2@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Fragmentation of my drives. Curious mostly by Jorge Peixoto de Morais Neto
1 Jorge Peixoto de Morais Neto wrote:
2 >>>> [...] what would be the best way to defrag it?
3 >>> By not defragging it.
4 >>>
5 >>> It's not Windows. Windows boxes needs defragging not because fragmentation
6 >>> is a huge problem in itself, but because windows filesystems are a steaming
7 >>> mess of cr@p that do little right and most things wrong. Defrag treats the
8 >>> symptom, not the cause :-)
9 >> I don't buy into that argument and never did. Every few months I copy the
10 >> whole HD to another one and then back to counter fragmentation (ext3) and
11 >> the system becomes noticeably faster after doing it (speed increase in
12 >> emerge --sync for example.) Maybe it's not fragmentation but rather related
13 >> files being more closely together after I do this.
14 >
15 > How exactly do you copy the files? Be careful not to lose some file
16 > property. How about sparse files, for example?
17 > AFAIK, you can make a complete backup of a filesytem with (as root,
18 > running from another system - such as a liveCD)
19 > $ cd /path/to/mountpoint
20 > $ tar -cSv -f /path/to/tarball.tar .
21 >
22 > But I am not sure.
23
24 I simply boot from the Gentoo DVD and rsync to another ext3 partition,
25 wipe the current filesystem and then rsync back.

Replies

Subject Author
[gentoo-user] Re: Fragmentation of my drives. Curious mostly Nikos Chantziaras <realnc@×××××.de>