Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fragmentation of my drives. Curious mostly
Date: Fri, 28 Nov 2008 11:14:50
Message-Id: 492FD2A2.5080301@gmail.com
1 Hi folks,
2
3 I have a pretty old install tho I have moved it from one drive to
4 another once, using cp -av. It got to big for the old hard drive.
5 Anyway, the install is about 5 years old or so and about 3 years since
6 it got moved. I have Gentoo on it naturally, a ship load of pictures
7 and a few other standard documents and such. I found something called
8 frag check on the forums a long time ago and I got this from it:
9
10 > 9.46189733169307% non contiguous files, 1.33812703640673 average
11 > fragments.
12
13 I emerged shake and ran it on each partition then got this:
14
15 > 9.83100532514448% non contiguous files, 1.37302298534689 average
16 > fragments.
17
18 I'm not sure but it looks like it is more fragmented now than it was.
19 It may just be that given file sizes and such that that is as good as it
20 gets. Here is some additional info:
21
22 > root@smoker / # mount
23 > /dev/hda6 on / type reiserfs (rw)
24 > /dev/hda1 on /boot type ext2 (rw)
25 > /dev/hda7 on /usr/portage type ext3 (rw)
26 > /dev/hda8 on /home type reiserfs (rw)
27 > /dev/hda9 on /data type reiserfs (rw)
28 > root@smoker / #
29
30 > root@smoker / # df
31 > Filesystem 1K-blocks Used Available Use% Mounted on
32 > /dev/hda6 19530340 5938156 13592184 31% /
33 > /dev/hda1 189339 14901 164662 9% /boot
34 > /dev/hda7 4806048 2692300 1869612 60% /usr/portage
35 > /dev/hda8 4882532 1758376 3124156 37% /home
36 > /dev/hda9 48596656 22332356 26264300 46% /data
37 > root@smoker / #
38
39 Is a little under 10% normal and acceptable? As you may notice, I use
40 reiserfs. It has never been more than 10% that I can recall, even when
41 it does its checking during bootup. I'm not sure what is more accurate,
42 frag check, shake or the check during boot up. Shake is new to me so it
43 does not make much sense yet. Give me a while on it. LOL
44
45 If this is a little high, what would be the best way to defrag it? Is
46 there a best way? I do have a second hard drive that I back up too.
47 Both Drives are 80Gbs and I do have a set of DVD back ups as well. I
48 can update those pretty quick.
49
50 Thoughts?? Thanks !!!
51
52 Dale
53
54 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Fragmentation of my drives. Curious mostly Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Fragmentation of my drives. Curious mostly Alan Mackenzie <acm@×××.de>