Subject: Re: LFS partition limitations
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Tracy J. Di Marco White <gendalia@iastate.edu>
List: current-users
Date: 10/02/2000 23:10:45
}> I copied the src, xsrc & pkgsrc trees to this partition, and I don't
}> understand what df is doing.
}> 
}> During copy:
}> # while 1
}> while? df /stuff
}> while? sleep 20
}> while? end
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54479268  7915360 46019115    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54478533  7919316 46014432    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54482146  7923200 46014125    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54481456  7927177 46009464    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54484326  7931477 46008006    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54483835  7935400 46003597    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54487336  7939321 46003142    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54486354  7943328 45998162    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54489896  7947247 45997751    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54488865  7951287 45992690    14%    /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54491814  7955288 45991608    14%    /stuff
}> 
}> Things finished copying, and I deleted some stuff, then:
}> # df /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  54828170  7558761 46721128    13%    /stuff
}> 
}> 5 hours later:
}> # df /stuff
}> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
}> /dev/raid0d  55417900  7595273 47268448    13%    /stuff
}> 
}> This started out near 85GB, I'm confused.
}
}Hum, maybe there's a problem here too.
}The fact that the total size changes is normal; there's no fixed space for
}metadata in LFS, so the free space available for data blocks depends on
}the space used for the metadata (so, from the number of files). When the
}filesystem is idle, the cleaner can eventually garbage-collect metadata and
}free some space.

Currently:

lyra:/stuff# df -k .
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/raid0d  54912677  7583326 46780225    13%    /stuff

lyra:/stuff# du -sk .
2392785 .

lyra:/stuff# du -a|wc -l
  115295

The space used seems excessive for what's there.  

lfs_cleanerd wasn't running most of today, as the window I was running
it in in debug mode died, and I was gone.  So garbage collection has
only been running for about 2 hours total since my earlier message.

Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu