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

Reply via email to