xfs
[Top] [All Lists]

Re: Fragmentation (was: XFS NFS server Oops)

To: Rupa Schomaker <rupa-list@xxxxxxxx>
Subject: Re: Fragmentation (was: XFS NFS server Oops)
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Sun, 21 Apr 2002 00:29:14 +0200
Cc: linux-xfs@xxxxxxxxxxx
References: <1016578034.28166.25.camel@xxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.44.0203200925430.8497-100000@xxxxxxxxxxxxxxxxxxxxxxxxx> <m34rjbhl3e.fsf@xxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
> I've got a filesystem with 28 .iso images, the frags -f command shows:
> 
> # xfs_db -r /dev/shaktivg/xxx
> xfs_db: frag -f
> actual 355, ideal 29, fragmentation factor 91.83%

# for dev in `df|grep /dev/vg2|awk '{print $1};'`; do
> echo -n $dev ": "
> /usr/sbin/xfs_db -c "frag -f" -r $dev
> done
/dev/vg2/home : actual 56720, ideal 55427, fragmentation factor 2.28%
/dev/vg2/tmp : actual 5016, ideal 5004, fragmentation factor 0.24%
/dev/vg2/usr : actual 111119, ideal 111110, fragmentation factor 0.01%
/dev/vg2/var : actual 10353, ideal 8147, fragmentation factor 21.31%
/dev/vg2/exim : actual 11, ideal 11, fragmentation factor 0.00%
/dev/vg2/news : actual 416937, ideal 400006, fragmentation factor 4.06%
/dev/vg2/squid : actual 99132, ideal 99088, fragmentation factor 0.04%
/dev/vg2/opt : actual 48, ideal 48, fragmentation factor 0.00%
/dev/vg2/tftp : actual 25916, ideal 25855, fragmentation factor 0.24%
/dev/vg2/dumps : actual 17, ideal 5, fragmentation factor 70.59%
/dev/vg2/stor : actual 17952, ideal 17949, fragmentation factor 0.02%
/dev/vg2/heise : actual 151162, ideal 151162, fragmentation factor 0.00%
/dev/vg2/mp3 : actual 1162, ideal 1162, fragmentation factor 0.00%
/dev/vg2/rawhide : actual 2672, ideal 2244, fragmentation factor 16.02%
/dev/vg2/redhat : actual 1862, ideal 1700, fragmentation factor 8.70%
/dev/vg2/rhlcd : actual 47260, ideal 47259, fragmentation factor 0.00%
/dev/vg2/scratch : actual 1369, ideal 1305, fragmentation factor 4.67%
/dev/vg2/sw : actual 2668, ideal 2554, fragmentation factor 4.27%
/dev/vg2/hp710 : actual 5041, ideal 5041, fragmentation factor 0.00%
/dev/vg2/hp710loc : actual 17390, ideal 17361, fragmentation factor
0.17%
/dev/vg2/imap : actual 296624, ideal 295712, fragmentation factor 0.31%


<Prev in Thread] Current Thread [Next in Thread>