Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2011 22:54:30 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dr Josef Karthauser <josef.karthauser@unitedlane.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS Problem - full disk, can't recover space :(.
Message-ID:  <20110326225430.00006a76@unknown>
In-Reply-To: <9CF23177-92D6-40C5-8C68-B7E2F88236E6@unitedlane.com>
References:  <9CF23177-92D6-40C5-8C68-B7E2F88236E6@unitedlane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Mar 2011 20:59:39 +0000 Dr Josef Karthauser
<josef.karthauser@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110326225430.00006a76>