1 |
Hi, |
2 |
|
3 |
I'm not wanting to start a flame or anything but I have a question, or |
4 |
two, on file fragmentation. I have three hard drives here. This is how |
5 |
they are partitioned at the moment: |
6 |
|
7 |
> root@smoker / # df |
8 |
> Filesystem 1K-blocks Used |
9 |
> Available Use% Mounted on |
10 |
> /dev/hda6 19530340 7689400 11840940 |
11 |
> 40% / |
12 |
> /dev/hda1 189339 7741 |
13 |
> 171822 5% /boot |
14 |
> /dev/hda7 4882532 1805104 |
15 |
> 3077428 37% /usr/portage |
16 |
> /dev/hda8 4882532 1402172 |
17 |
> 3480360 29% /home |
18 |
> /dev/hdb1 78145768 15171752 |
19 |
> 62974016 20% /data |
20 |
> root@smoker / # |
21 |
|
22 |
|
23 |
So you won't freak out, I removed the system generated file systems. I |
24 |
use reiserfs on everything except /boot. It has ext2. I found a |
25 |
program, script really, that will tell how fragmented a file system is. |
26 |
This is what it reports: |
27 |
|
28 |
> root@smoker / # /root/fragck.pl /usr/portage/ |
29 |
> 2.93016639526831% non contiguous files, 1.10476912422558 average |
30 |
> fragments. |
31 |
> root@smoker / # |
32 |
> /root/fragck.pl /data/ |
33 |
> 4.64526022181977% non contiguous files, 1.08609726757175 average |
34 |
> fragments. |
35 |
> root@smoker / # |
36 |
> /root/fragck.pl /home/ |
37 |
> statfs: No such file or directory |
38 |
> Use of uninitialized value in pattern match (m//) at /root/fragck.pl |
39 |
> line 32. |
40 |
> Use of uninitialized value in concatenation (.) or string at |
41 |
> /root/fragck.pl line 41. |
42 |
> : not understand for |
43 |
> /home/dale/.googleearth/Registry/google/gecommonsettings/User/layers/hiking\ |
44 |
> and\ mountain\ bike\ trails\ |
45 |
> . |
46 |
> 6.4034151547492% non contiguous files, 2.34827463536108 average fragments. |
47 |
> root@smoker / # |
48 |
|
49 |
|
50 |
The big one: |
51 |
|
52 |
> root@smoker / # /root/fragck.pl / |
53 |
> statfs: No such file or directory |
54 |
> sh: en_1ca_4278190280: command not found |
55 |
> sh: wm_6: command not found |
56 |
> sh: wp_#usr#kde#3.5#share#wallpapers#here-gear.svgz_1196427186: |
57 |
> command not found |
58 |
> sh: blm_0: command not found |
59 |
> sh: 01.png: command not found |
60 |
> Use of uninitialized value in pattern match (m//) at /root/fragck.pl |
61 |
> line 32. |
62 |
> Use of uninitialized value in concatenation (.) or string at |
63 |
> /root/fragck.pl line 41. |
64 |
> : not understand for |
65 |
> /var/tmp/kdecache-root/background/143x115_bm_0;en_1ca_4278190280;wm_6;wp_\#usr\#kde\#3.5\#share\#wallpapers\#here-gear.svgz_1196427186;blm_0;01.png |
66 |
> . |
67 |
> statfs: No such file or directory |
68 |
> sh: en_1ca_4278190280: command not found |
69 |
> sh: wm_6: command not found |
70 |
> sh: wp_#usr#kde#3.5#share#wallpapers#here-gear.svgz_1192962680: |
71 |
> command not found |
72 |
> sh: blm_0: command not found |
73 |
> sh: 01.png: command not found |
74 |
> Use of uninitialized value in pattern match (m//) at /root/fragck.pl |
75 |
> line 32. |
76 |
> Use of uninitialized value in concatenation (.) or string at |
77 |
> /root/fragck.pl line 41. |
78 |
> : not understand for |
79 |
> /var/tmp/kdecache-root/background/143x115_bm_0;en_1ca_4278190280;wm_6;wp_\#usr\#kde\#3.5\#share\#wallpapers\#here-gear.svgz_1192962680;blm_0;01.png |
80 |
> . |
81 |
> 7.03979903669298% non contiguous files, 1.22497799280025 average |
82 |
> fragments. |
83 |
> root@smoker / # |
84 |
|
85 |
Please pardon the error message. I use the script, I didn't write it. :/ |
86 |
|
87 |
I understand that doing the root directory is sort of a sum of all the |
88 |
others so it may be a little misleading to say the least. |
89 |
|
90 |
My questions; is this badly fragmented? How can I "unfragment" all the |
91 |
files and not bork something up badly? |
92 |
|
93 |
My opinion on this tho, considering this install is about 4 years old, |
94 |
not to bad. I've seen worse on a windoze rig shortly after a install. ;-) |
95 |
|
96 |
Thanks for any advice/info you can provide. Let me know if you need |
97 |
more info too. |
98 |
|
99 |
Dale |
100 |
|
101 |
:-) :-) |
102 |
-- |
103 |
gentoo-user@l.g.o mailing list |