Re: [List] Cannot find out what uses space in ZFS dataset

From: <freebsd_at_vanderzwan.org>
Date: Fri, 19 Sep 2025 13:28:43 UTC

> 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