🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90863

Re: CNFS buffer consuming more disk space than the file size?

#90863
From: Julien ÉLIE
Date: Thu, 05 Oct 2023 18:43
45 lines
2348 bytes
Hi Jesse,

> I have this cycbuff.conf entry:
> 
>     cycbuff:SBIN2:/usr/local/news/spool/bin1:102400000
> 
> Looking at this file with 'ls' the size lines up:
> 
>     -rw-r--r--    1 news  news  104857600000 Oct  4 15:14 bin1
> 
> However, when I check actual disk space used with du it is much greater:
> 
>     # du -h bin1
>     129G    bin1
> 
>     # du bin1
>     135118061    bin1

I've checked my CNFS buffers on Debian, and do not see such a difference.


cycbuff:FR1:/home/news/spool/cycbuffs/frcnfs:4194304

% du frcnfs
4194308	frcnfs

% ls -l
-rw-r--r-- 1 news news 4294967296  5 oct.  20:36 frcnfs



> This buffer contained 'junk' so I decided to remove it, and did reclaim 129GB
> of space on the filesystem. How is this possible?

I don't know.  Is it the same for your other CNFS buffers?

It would have been interesting to see the output of "cnfsstat" on your 
bin1.  Do you still have a checkpoint for SBIN2 in news.notice to see 
its reported length?

-- 
Julien ÉLIE

« Un homme plein de vices finit un jour ou l'autre sous écrou. » (Marc
   Escayrol)
Technical Details
Message-ID: <ufn058$76br$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <ufn058$76br$1@news.trigofacile.com>
Subject: Re: CNFS buffer consuming more disk space than the file size?
Date: Thu, 5 Oct 2023 20:43:52 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Oct 2023 18:43:52 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="235899"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:N1mWC42hEPdLSHEB4XZO/qlw97Y= sha256:K86qDkossRLd0JtKZjvmJxCQeDTJGydApiTlwFyO+cA= sha1:C3UbArlt4oRIaaNIxzoTWyFPC0o= sha256:A0G8AGmpMlZW9p2w1q/9xxyKrCFAtO4dlEM2I0fnTlA=
In-Reply-To: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com>