Article View: news.software.nntp
Article #90882Re: CNFS buffer consuming more disk space than the file size?
From: Jesse Rehmer
Date: Fri, 06 Oct 2023 20:19
Date: Fri, 06 Oct 2023 20:19
36 lines
3012 bytes
3012 bytes
On Oct 6, 2023 at 3:22:12 PM CDT, ""Billy G." <go-while)" <no-reply@no.spam> wrote: > On 05.10.23 23:42, Jesse Rehmer wrote: >> I do have compression enabled and created the buffers with dd from /dev/zero. >> >> In your examples the actual size is smaller, which is what I would expect, but >> my situation is reverse where the actual size used is larger by about 30%. > > > weird and can't get my head around. > inn would not start if filesize from conf and disk dont match. > i believe, i had such issue once while playing and copied wrong values > and inn failed to start or initialize the buffer. > maybe there is no check if it is already initialized and file has grown > somehow. > but how could it grow bigger, i have no idea. should not be possible. > cycbuff puts data in some kind of blocks but did not dive deep enough to > get a better understanding. > > would be cool if you did not delete the file, so we could further > investigate it. I know, I know, but I needed the space and was frustrated. I created a smaller one in its place, I'll monitor the size. I do not understand very much about how filesystems work, just the very basic things taught to me 30 years ago, but I went looking for ZFS related problems online. I found a case or two that on the surface sounded similar but were referring to odd situations where compression overhead would end being greater than the compression provided, and these issues seemed to stem from something relating to block sizes that I didn't understand. I also wondered if it could be some weird issue with ZFS snapshots and the way CNFS stores data, maybe the snapshot removal isn't clearing up all the referenced blocks it should, but this seems far-fetched.
Technical Details
Message-ID:
<ufpq3p$13kp$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> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.ams4>Show Full Headers
Complete Article Headers
Message-ID: <ufpq3p$13kp$1@nnrp.usenet.blueworldhosting.com> Subject: Re: CNFS buffer consuming more disk space than the file size? Date: Fri, 06 Oct 2023 20:19:05 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.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: Fri, 6 Oct 2023 20:19:05 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="36505"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:Nda3LkY5+xjUr8xkhbo0cnQWrZM= sha256:sYWkjS2/UV8qzIRLK14qJBiFrZoWq38pVMj+wEMhKAA= sha1:TmxYarxv5cXar3BYrSGELg+hwrw= sha256:Yk9Y2BarM0xqw17U0eYNaHDywxxqMnJdtp4Tv8jLs6c= X-Usenapp: v1.27.1/d - Full License