Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Linux, reiserfs and file fragmentation
Date: Thu, 14 Feb 2008 16:08:43
Message-Id: 200802141808.37161.uwix@iway.na
In Reply to: Re: [gentoo-user] Linux, reiserfs and file fragmentation by Dale
1 On Thursday 14 February 2008, Dale wrote:
2 > Uwe Thiem wrote:
3 > > On Thursday 14 February 2008, Dale wrote:
4 > >> I did a little test. Something fishy here. I did a test with
5 > >> the /data partition. I store pictures and documents there and
6 > >> it was fragmented. I cp -av to another reiserfs formatted
7 > >> partition then remade the file system and copied it back using
8 > >> basically the same command just in reverse. This is what I got
9 > >> now:
10 > >>
11 > >> root@smoker / # /root/fragck.pl /data/
12 > >> 3.88457269700333% non contiguous files, 1.04344379261138 average
13 > >> fragments. root@smoker / #
14 > >>
15 > >> That is not a lot better than it was before. It was 4.6%
16 > >> before. How is that? I copied it over then ran the command
17 > >> right after without even touching the files.
18 > >
19 > > Before you copy back, you have to "clean" the old partition -
20 > > either by deleting everything or by partioning it.
21 > >
22 > > Uwe
23 >
24 > I just did a mkreiserfs /dev/hdb1. That should work right?
25
26 Actually, I meant "by formatting it" instead of "partioning". So yes,
27 that should work.
28
29 Maybe fragch.pl is simply buggy.
30
31 Uwe
32
33 --
34 Informal Linux Group Namibia:
35 http://www.linux.org.na/
36 SysEx (Pty) Ltd.:
37 http://www.SysEx.com.na/
38 --
39 gentoo-user@l.g.o mailing list