Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2025 15:28:43 +0200
From:      freebsd@vanderzwan.org
To:        Andrea Venturoli <ml@netfence.it>
Cc:        questions@freebsd.org
Subject:   Re: [List] Cannot find out what uses space in ZFS dataset
Message-ID:  <31F76B72-CE2C-47B4-AA5C-A4BDD3C9FB03@vanderzwan.org>
In-Reply-To: <4c460392-04d3-4d28-bf52-753a84ac188f@netfence.it>
References:  <8edc1a9d-bad8-4d35-8e90-b750eec84e0a@netfence.it> <b056fd28-4b48-453f-9da3-299a842ffc32@fjl.co.uk> <16810449-2952-4257-b8d4-d74e03a18ff4@netfence.it> <09543B55-0259-4CCD-B56B-49FAACFB9663@vanderzwan.org> <804e8cad-e197-4ce0-b8cf-7ee326a53a94@netfence.it> <7C87A153-C197-486B-B67E-81542D9BBDA6@vanderzwan.org> <344daf02-f1e2-4be3-9c65-834d9582197f@netfence.it> <5841211A-B05C-40FF-953E-87B7A377B7AD@vanderzwan.org> <c2e70410-ffa4-41e5-a15c-71fc2c536b5d@netfence.it> <7F88E7F0-6B24-4E5B-AEBE-BF67D623FAEF@vanderzwan.org> <dcfcca39-611c-41f6-8b6a-91b90dcf6f24@netfence.it> <B9DE59A7-89D7-489E-A94C-5EA10F00226F@vanderzwan.org> <4c460392-04d3-4d28-bf52-753a84ac188f@netfence.it>

index | next in thread | previous in thread | raw e-mail



> On 19 Sep 2025, at 15:00, Andrea Venturoli <ml@netfence.it> wrote:
> 
> On 9/19/25 12:59, freebsd@vanderzwan.org wrote:
> 
>> A reboot would kill any process and release the space.
> 
> That's one thing I was planning to do, though rebooting a server 80km away is always something I'm not at ease with.
> I'll have to arrange with the customer and probably it will be a few days.
> 
> 
> 
>> But it would not solve the riddle.
> 
> Also true.
> 
> 
> 
>> You could try lsof, I think the NODE column refers to the inode/object id if the filedescriptor is connected to a file on disk (VREG in the TYPE column)..
>> Run lsof as root and grep for 360.
> 
> No luck here :(
> Also tried fstat.
> 

Maybe procstat -af and look for a regular file with a huge value in OFFSET column. That assumes the file offset is at EOF for that huge file.

Cheers,
	Paul



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31F76B72-CE2C-47B4-AA5C-A4BDD3C9FB03>