Does your application depend on, or report, free disk space? Re: F20 Self Contained Change: OS Installer Support for LVM Thin Provisioning

Steve Grubb sgrubb at redhat.com
Mon Jul 29 20:40:59 UTC 2013


On Monday, July 29, 2013 01:41:12 PM Chris Murphy wrote:
> On Jul 29, 2013, at 1:05 PM, Steve Grubb <sgrubb at redhat.com> wrote:
> > The audit system also cares about space available. We tell people to
> > create a partition specifically for auditing so that we can keep close
> > track on what's left.
> 
> How does the audit system determine space available?

It uses fstatfs() on the descriptor currently opened for logging.

-Steve

> If it's using btrfs configured for raid1 or raid10, df and stat will report
> the total storage of all devices in the volume, unlike md raid (or even
> proprietary raid). Instead df reports logs files as using twice as much
> space.
> 
> 
> Chris Murphy


More information about the devel mailing list