Article View: news.software.nntp
Article #90939Re: CNFS buffer consuming more disk space than the file size?
From: Jesse Rehmer
Date: Tue, 10 Oct 2023 11:57
Date: Tue, 10 Oct 2023 11:57
67 lines
2875 bytes
2875 bytes
On Oct 10, 2023 at 2:38:12 AM CDT, ""Billy G." <go-while)" <no-reply@no.spam> wrote: > On 10.10.23 01:43, Jesse Rehmer wrote: >> The new buffer has wrapped some times and is now larger than its 'apparent' >> size: >> >> [news@spool1 ~/spool]$ du cnfs2 >> 11739697 cnfs2 >> [news@spool1 ~/spool]$ du -A cnfs2 >> 10000000 cnfs2 >> >> $ cnfsstat >> Class SBIN for groups matching "control.cancel,junk,alt.binaries.*" >> Buffer SBIN1, size: 9.54 GBytes, position: 7.32 GBytes 12.77 cycles >> Newest: 2023-10-09 18:42:21, 0 days, 0:00:02 ago > > my OS lacks 'du -A'. i'm not on xBSD :/ > > what does 'du -b cnfs2' (bytes size) or 'du -h cnfs2' (human read.)? > > as well as 'ls -l cnfs2' and 'ls -lh cnfs2'? > > i#d mostly bet it is an optical illusion. > > the file is only 10g, can you produce a copy for us? > > or just move a copy to another filesystem, ext4? > > what size value you set in cycbuff.conf to this buffer? The size in cycbuff.conf is 10000000. From the FreeBSD/ZFS box: $ ls -laF cnfs2 -rw-r--r-- 1 news news 10240000000 Oct 10 06:08 cnfs2 $ ls -lh cnfs2 -rw-r--r-- 1 news news 9.5G Oct 10 06:08 cnfs2 FreeBSD's du does not have -b (it's the default) $ du cnfs2 11967209 cnfs2 $ du -A cnfs2 10000000 cnfs2 $ du -h cnfs2 11G cnfs2 $ du -Ah cnfs2 9.5G cnfs2 I scp'd the file over to a Linux box with ext4, there it reports as I would expect: # du -h cnfs2 9.6G cnfs2 # du -b cnfs2 10240000000 cnfs2 # ls -lb cnfs2 -rw-r--r--. 1 jesse jesse 10240000000 Oct 10 06:52 cnfs2
Technical Details
Message-ID:
<ug3e7l$22us$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-mailReferences:
<ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.ams4> <ug236i$1am2$1@nnrp.usenet.blueworldhosting.com> <Yb7VM.126743$iKfd.14563@fx05.ams4>Show Full Headers
Complete Article Headers
Message-ID: <ug3e7l$22us$1@nnrp.usenet.blueworldhosting.com> Subject: Re: CNFS buffer consuming more disk space than the file size? Date: Tue, 10 Oct 2023 11:57:41 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.ams4> <ug236i$1am2$1@nnrp.usenet.blueworldhosting.com> <Yb7VM.126743$iKfd.14563@fx05.ams4> 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: BWH Usenet (https://usenet.blueworldhosting.com) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 10 Oct 2023 11:57:41 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="68572"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:xFOtdw/77uojQ/AbhqUzXuXd3r0= sha256:nIUg7GLtTapBvcHEdnRUCxNUJ/27VD/koCn7OIBEoUc= sha1:kFpXEXvmKaZLC6KDRWzewmYByQE= sha256:HSGxdYslE+KgZCWE7b+i/x9j7ueZ025uNRlLJKS/JvA= X-Usenapp: v1.27.1/d - Full License