Re: COW fs (Re: Editing-in-place of a large file)

John Ripley (jripley@riohome.com)
Mon, 10 Sep 2001 02:29:11 +0100


Xavier Bestel wrote:
>
> le dim 09-09-2001 at 18:30 John Ripley a _rit :
>
> > /dev/sda6 - /tmp - 210845 blocks, 17697 duplicates, 8.39%
> > /dev/sda7 - /var - 32122 blocks, 5327 duplicates, 16.58%
> > /dev/sdb5 - /home - 220885 blocks, 24541 duplicates, 11.11%
> > /dev/sdc7 - /usr - 1084379 blocks, 122370 duplicates, 11.28%
>
> How many of these blocks actually belong to file data ?

Hmm, good point:

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda6 841616 4508 837108 1% /tmp
/dev/sda7 124407 63774 54209 54% /var
/dev/sdb5 855138 677328 177810 79% /home
/dev/sdc7 4191237 3946214 245023 94% /usr

My thinking was that I've managed to run out of space on all of the
partitions in the past and had to prune a lot of stuff... so nearly all
the blocks should contain at least some "likely" data. Still, I guess I
need to verify that this isn't distorting the results. The program needs
to recurse over all files on the filesystem rather than all blocks on a
partition.

-- 
John Ripley
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/