[Samba] differing freespace reports in windows and unix

David Brown davidbrown at coal.gov.uk
Mon Apr 25 16:09:47 GMT 2005


Hi List.

Environment : 

SunOS jukebox2 5.8 Generic_108528-19 sun4u sparc SUNW,Sun-Blade-100

Samba 2.2.7

Windows NT, XP, 2000 clients.

This is the problem.  I am sharing 4 directories within a samba share. These are very large file structures, 3 Terabyte plus.  Typically they run between 3 and 9 gb of freespace any given point in time.

For some reason I can't fathom the freespace shown in the client side now bears no resemblance to the freespace on each of the directories.

It *appears* that the reported freespace matches that of the top level share.  I've appended the output from df -k for the relavent filesystems and the dir output from the windows side.  Does anyone have any idea why this might be happening?  AN I just being dense and missing something obvious?

Thanks,

Dave.

--------------------------------------------------------

#df -k

Filesystem            kbytes      used   	   avail   capacity  Mounted on
tiff_2               3751530314 3740151207 11379107   100%    /jukebox2/tiff2
tiff_3               3394414798 3387167802 7246996   100%    /jukebox2/tiff3
tiff_4               3031621105 3024681374 6939731   100%    /jukebox2/tiff4 

F:\>dir
 Volume in drive F is jukebox2
 Volume Serial Number is AF0C-0EC4

 Directory of F:\

05/15/03  02:41p        <DIR>          .
04/25/05  12:46p        <DIR>          ..
05/15/03  12:48p        <DIR>          tiff1
01/12/05  08:38a        <DIR>          tiff2
01/12/05  08:38a        <DIR>          tiff3
01/12/05  08:38a        <DIR>          tiff4
               6 File(s)              0 bytes
                          1,051,721,728 bytes free

F:\>cd tiff2

F:\tiff2>dir
 Volume in drive F is jukebox2
 Volume Serial Number is AF0C-0EC4

 Directory of F:\tiff2

01/12/05  08:38a        <DIR>          .
05/15/03  02:41p        <DIR>          ..
12/01/04  08:10a        <DIR>          2004
12/01/03  08:51a        <DIR>          2003
04/01/05  03:40p        <DIR>          2005
               5 File(s)              0 bytes
                          1,051,721,728 bytes free

F:\>cd tiff3

F:\tiff3>dir
 Volume in drive F is jukebox2
 Volume Serial Number is AF0C-0EC4

 Directory of F:\tiff3

01/12/05  08:38a        <DIR>          .
05/15/03  02:41p        <DIR>          ..
10/20/03  05:01p        <DIR>          2003
12/01/04  08:10a        <DIR>          2004
04/01/05  03:40p        <DIR>          2005
               5 File(s)              0 bytes
                          1,051,721,728 bytes free

F:\tiff3>cd ..\tiff4

F:\tiff4>dir
 Volume in drive F is jukebox2
 Volume Serial Number is AF0C-0EC4

 Directory of F:\tiff4

01/12/05  08:38a        <DIR>          .
05/15/03  02:41p        <DIR>          ..
10/20/03  05:01p        <DIR>          2003
12/01/04  08:10a        <DIR>          2004
04/12/05  05:09p        <DIR>          2005
               5 File(s)              0 bytes
                          1,051,721,728 bytes free


More information about the samba mailing list