Hi,
I'm not wanting to start a flame or anything but I have a question, or
two, on file fragmentation. I have three hard drives here. This is how
they are partitioned at the moment:
[EMAIL PROTECTED] / # df
Filesystem 1K-blocks Used
Available Use% Mounted on
/dev/hda6 19530340 7689400 11840940
40% /
/dev/hda1 189339 7741
171822 5% /boot
/dev/hda7 4882532 1805104
3077428 37% /usr/portage
/dev/hda8 4882532 1402172
3480360 29% /home
/dev/hdb1 78145768 15171752
62974016 20% /data
[EMAIL PROTECTED] / #
So you won't freak out, I removed the system generated file systems. I
use reiserfs on everything except /boot. It has ext2. I found a
program, script really, that will tell how fragmented a file system is.
This is what it reports:
[EMAIL PROTECTED] / # /root/fragck.pl /usr/portage/
2.93016639526831% non contiguous files, 1.10476912422558 average
fragments.
[EMAIL PROTECTED] / #
/root/fragck.pl /data/
4.64526022181977% non contiguous files, 1.08609726757175 average
fragments.
[EMAIL PROTECTED] / #
/root/fragck.pl /home/
statfs: No such file or directory
Use of uninitialized value in pattern match (m//) at /root/fragck.pl
line 32.
Use of uninitialized value in concatenation (.) or string at
/root/fragck.pl line 41.
: not understand for
/home/dale/.googleearth/Registry/google/gecommonsettings/User/layers/hiking\
and\ mountain\ bike\ trails\
.
6.4034151547492% non contiguous files, 2.34827463536108 average fragments.
[EMAIL PROTECTED] / #
The big one:
[EMAIL PROTECTED] / # /root/fragck.pl /
statfs: No such file or directory
sh: en_1ca_4278190280: command not found
sh: wm_6: command not found
sh: wp_#usr#kde#3.5#share#wallpapers#here-gear.svgz_1196427186:
command not found
sh: blm_0: command not found
sh: 01.png: command not found
Use of uninitialized value in pattern match (m//) at /root/fragck.pl
line 32.
Use of uninitialized value in concatenation (.) or string at
/root/fragck.pl line 41.
: not understand for
/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
.
statfs: No such file or directory
sh: en_1ca_4278190280: command not found
sh: wm_6: command not found
sh: wp_#usr#kde#3.5#share#wallpapers#here-gear.svgz_1192962680:
command not found
sh: blm_0: command not found
sh: 01.png: command not found
Use of uninitialized value in pattern match (m//) at /root/fragck.pl
line 32.
Use of uninitialized value in concatenation (.) or string at
/root/fragck.pl line 41.
: not understand for
/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
.
7.03979903669298% non contiguous files, 1.22497799280025 average
fragments.
[EMAIL PROTECTED] / #
Please pardon the error message. I use the script, I didn't write it. :/
I understand that doing the root directory is sort of a sum of all the
others so it may be a little misleading to say the least.
My questions; is this badly fragmented? How can I "unfragment" all the
files and not bork something up badly?
My opinion on this tho, considering this install is about 4 years old,
not to bad. I've seen worse on a windoze rig shortly after a install. ;-)
Thanks for any advice/info you can provide. Let me know if you need
more info too.
Dale
:-) :-)
--
[email protected] mailing list