I would suggest

  mount -t aufs -o remount /vid/00/logs

Maybe it will help.


Tomas M


On Mon, September 24, 2007 12:21 pm, Matt Jarvis wrote:
> Hi
>
>
> I am using aufs for a project, and have some issue with reported disk
> space usage. I use aufs between a tmpfs set at 50MB, and a directory on an
> iscsi server, with the mount point also being another directory on the
> iscsi server. We have an application which writes log files into the aufs
> mount point ( which are written into the tmpfs part of the aufs ), and then
> I have a seperate application which copies down the logfiles from
> the tmpfs into the bottom layer of the aufs, and then deletes the copy from
> the tmpfs. My problem is that the aufs mount seems to do some cacheing so
> that over time the tmpfs fills up. Even when I stop the application and
> remove all files from the tmpfs, it still shows as having disk space used,
> until I unmount and remount the aufs. It takes a long time to fill up,
> perhaps 3-4 days of operation, so the amount of data is small.
>
> My mount options are
>
>
> mount -t aufs -o dirs=/vid/ram/00:/vid/00/logs_rw udba=reval /vid/00/logs
>
> Can you tell me why the disk space shows as being used, and if there is
> something I can do to ensure these caches are cleared ?
>
> Thanks
>
>
> Matt
> --
> Matt Jarvis
> Probability Services Ltd.
>
>
> Office : 0870 8610579
> Mobile : 07983 725372
> web : www.probabilityservices.co.uk
>
>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to