OpenSolaris

Printable Version Enter a New Search
Bug ID 6730750
Synopsis pool shows disk space in used but no related files/dirs
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords rtiq_regression
Responsible Engineer Mark Maybee
Reported Against snv_94
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_98
Fixed In snv_98
Release Fixed solaris_nevada(snv_98) , solaris_10u7(s10u7_01) (Bug ID:2167887)
Related Bugs 6573681
Submit Date 29-July-2008
Last Update Date 20-October-2008
Description
The system is an NFS server running a project bits based on snv_94+.
I ran some NFS tests which created some large files and deleted them
afterward in a diskpool in server.

After the testing done, I noticed that "zfs list" shown 7+G is used; 
but I can't find any files/directories using those disk space.

pnfs-5-23:~# zfs list
NAME            USED  AVAIL  REFER  MOUNTPOINT
diskpool       7.23G  12.7G  7.23G  /diskpool
diskpool/JUNK    19K  12.7G    19K  /diskpool/JUNK
diskpool/krb5    19K  12.7G    19K  /diskpool/krb5
pnfs-5-23:~#
pnfs-5-23:~# /bin/ls -lRa /diskpool	<== shown no other files
/diskpool:
total 15
drwxr-xr-x   4 root     root           4 Jul 26 19:49 .
drwxr-xr-x  41 root     root        3072 Jul 26 13:35 ..
drwxr-xr-x   3 root     root           3 Jul 26 13:35 JUNK
drwxr-xr-x   3 root     root           3 Jul 26 13:35 krb5

/diskpool/JUNK:
total 9
drwxr-xr-x   3 root     root           3 Jul 26 13:35 .
drwxr-xr-x   4 root     root           4 Jul 26 19:49 ..
drwxrwxrwx   2 root     root           2 Jul 26 13:35 JUNK

/diskpool/JUNK/JUNK:
total 6
drwxrwxrwx   2 root     root           2 Jul 26 13:35 .
drwxr-xr-x   3 root     root           3 Jul 26 13:35 ..

/diskpool/krb5:
total 9
drwxr-xr-x   3 root     root           3 Jul 26 13:35 .
drwxr-xr-x   4 root     root           4 Jul 26 19:49 ..
drwxrwxrwx   2 root     root           2 Jul 26 14:20 JUNK

/diskpool/krb5/JUNK:
total 6
drwxrwxrwx   2 root     root           2 Jul 26 14:20 .
drwxr-xr-x   3 root     root           3 Jul 26 13:35 ..
pnfs-5-23:~# df -h /diskpool
Filesystem             size   used  avail capacity  Mounted on
diskpool                20G   7.2G    13G    37%    /diskpool
pnfs-5-23:~#
Work Around
N/A
Comments
N/A