i'm not sure if it applies to your situation, but when i FIRST starting
using ZFS on freebsd, i noticed a similar error, where a filesystem would be
totally empty and still show 14 GB space...it's weird but i remember this
because i had quotas set (freebsd didn't have refquotas at the time).  We
had a user who kept running out of space, but swore he shouldn' be, so we
deleted all the files and sure enough, it was empty with 14 gb still
showing...the only way i was able to solve it was to destroy the filesystem
and create it again...i remember this happening 2 times on freebsd 7.2 which
used version 6 of ZFS (a much older version)

I'm not sure if this is a common bug or not but i HAVE seen it.


On Sun, Aug 16, 2009 at 4:49 PM, Chris Murray <no-re...@opensolaris.org>wrote:

> Accidentally posted the below earlier against ZFS Code, rather than ZFS
> Discuss.
>
> My ESXi box now uses ZFS filesystems which have been shared over NFS.
> Spotted something odd this afternoon - a filesystem which I thought didn't
> have any files in it, weighs in at 14GB. Before I start deleting the empty
> folders to see what happens, any ideas what's happened here?
>
> # zfs list | grep temp
> zp/nfs/esx_temp 14.0G 225G 14.0G /zp/nfs/esx_temp
> # ls -la /zp/nfs/esx_temp
> total 20
> drwxr-xr-x 5 root root 5 Aug 13 12:54 .
> drwxr-xr-x 7 root root 7 Aug 13 12:40 ..
> drwxr-xr-x 2 root root 2 Aug 13 12:53 iguana
> drwxr-xr-x 2 root root 2 Aug 13 12:54 meerkat
> drwxr-xr-x 2 root root 2 Aug 16 19:39 panda
> # ls -la /zp/nfs/esx_temp/iguana/
> total 8
> drwxr-xr-x 2 root root 2 Aug 13 12:53 .
> drwxr-xr-x 5 root root 5 Aug 13 12:54 ..
> # ls -la /zp/nfs/esx_temp/meerkat/
> total 8
> drwxr-xr-x 2 root root 2 Aug 13 12:54 .
> drwxr-xr-x 5 root root 5 Aug 13 12:54 ..
> # ls -la /zp/nfs/esx_temp/panda/
> total 8
> drwxr-xr-x 2 root root 2 Aug 16 19:39 .
> drwxr-xr-x 5 root root 5 Aug 13 12:54 ..
> #
>
> Could there be something super-hidden, which I can't see here?
>
> There don't appear to be any snapshots relating to zp/nfs/esx_temp.
>
> On a suggestion, I have ran the following:
>
> # zfs list -r zp/nfs/esx_temp
> NAME USED AVAIL REFER MOUNTPOINT
> zp/nfs/esx_temp 14.0G 225G 14.0G /zp/nfs/esx_temp
> # du -sh /zp/nfs/esx_temp
> 8K /zp/nfs/esx_temp
> #
>
> Thanks,
> Chris
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to