ZFS Problem - full disk, can't recover space :(.

Alexander Leidinger Alexander at Leidinger.net
Sat Mar 26 21:54:39 UTC 2011


On Sat, 26 Mar 2011 20:59:39 +0000 Dr Josef Karthauser
<josef.karthauser at unitedlane.com> wrote:

> Help!
> 
> Foolishly I let my ZFS system run out of disk space. I've removed the
> errant logs, but the space has not been returned. Not sure why. There
> are no snapshots, and I've even desperately rebooted the machine, but
> the space is still lost.
> 
> 	# zfs list void/store
> 	NAME	USED	AVAIL	REFER	MOUNTPOINT
> 	void/store	57.2G	2.3G
> 57.2G	/store # du -hs /store
> 	34G	/store
> 
> Any idea on were the 23G has gone, or how I pursuade the zpool to
> return it? Why is the filesystem referencing storage that isn't being
> used?

I suggest a
 zfs list -r -t all void/store
to make really sure we/you see what we want to see.

Can it be that an application has the 23G still open?

> p.s. this is FreeBSD 8.2 with ZFS pool version
> 15.

The default setting of showing snapshots or not changed somewhere. As
long as you didn't configure the pool to show snapshots (zpool get
listsnapshots <pool>), they are not shown by default.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-fs mailing list