But even the 'zfs list -o space' is now limited by not displaying snapshots by default, so the catch all is now
zfs list -o space -t all shouldn't miss anything then … ;-) Craig On 10 Mar 2011, at 03:38, Richard Elling wrote: > > On Mar 9, 2011, at 4:05 PM, Tom Fanning wrote: > >> On Wed, Mar 9, 2011 at 10:37 PM, Peter Jeremy >> <peter.jer...@alcatel-lucent.com> wrote: >>> On 2011-Mar-10 05:50:53 +0800, Tom Fanning <m...@tomfanning.eu> wrote: >>>> I have a FreeNAS 0.7.2 box, based on FreeBSD 7.3-RELEASE-p1, running >>>> ZFS with 4x1TB SATA drives in RAIDz1. >>>> >>>> I appear to have lost 1TB of usable space after creating and deleting >>>> a 1TB sparse file. This happened months ago. >>> >>> AFAIR, ZFS on FreeBSD 7.x was always described as experimental. >>> >>> This is a known problem (OpenSolaris bug id 6792701) that was fixed in >>> OpenSolaris onnv revision 9950:78fc41aa9bc5 which was committed to >>> FreeBSD as r208775 in head and r208869 in 8-stable. The fix was never >>> back-ported to 7.x and I am unable to locate any workaround. >>> >>>> - Exported the pool from FreeBSD, imported it on OpenIndiana 148 - >>>> but not upgraded - same problem, much newer ZFS implementation. Can't >>>> upgrade the pool to see if the issue goes away since for now I need a >>>> route back to FreeBSD and I don't have spare storage. >>> >>> I thought that just importing a pool on a system with the bugfix would >>> free the space. If that doesn't work, your only options are to either >>> upgrade to FreeBSD 8.1-RELEASE or later (preferably 8.2 since there >>> are a number of other fairly important ZFS fixes since 8.1) and >>> upgrade your pool to v15 or rebuild your pool (via send/recv or similar). >>> >>> -- >>> Peter Jeremy >> >> Well I never. Just by chance I did zfs list -t snapshot, and now it >> shows a 1TB snapshot which it wasn't showing before. > > There was a change where snapshots are no longer shown by default. > This can be configured back to the old behaviour setting the zpool > "listsnapshots" property to "on" > > Otherwise, you need to use the "-t snapshot" list. > > But, a much better method of tracking this down is to use: > zfs list -o space > > That will show the accounting for all dataset objects. > -- richard > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Craig Morgan Cinnabar Solutions Ltd t: +44 (0)791 338 3190 f: +44 (0)870 705 1726 e: cr...@cinnabar-solutions.com w: www.cinnabar-solutions.com _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss