Re: [Samba] Samba over NFS: Total and Free disk incorrect in Windows.

2005-11-10 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:
| On Thu, Nov 10, 2005 at 08:20:07AM -0600, Gerald (Jerry) Carter wrote:
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> Jeremy,
|>
|> I can reproduce this as well. Is it somethign we can fix?
|> Or more of a "don't do that" kind of thing?
|
| No, people want to do this. Is the Linux disk free request
| failing on NFS drives ? What happens with a df command (which
| should call the same functions). I try not to nfs export anything
| at home (but will if I have to to fix this :-).


Here you go.

NFS;

$ df -k .
Filesystem   1K-blocks  Used Available Use% Mounted on
ahab.plainjoe.org:/export/u3
~ 110728544  81326496  23777312  78% /home/queso

local:

# df -k /export/u3
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda5110728544  81326504  23777284  78% /export



SAMBA_3_0 with Windows 2000 client:

H:\> dir

Volume in drive H is jerry
Volume Serial Number is 0467-0568

Directory of H:\

11/10/2005  11:08a.
09/06/2005  05:08p..
09/08/2005  06:41a   1,018 dump
10/19/2005  02:13p 572,514 regmon.log
10/30/2005  01:33p 430 foo.log

03/11/2005  08:37a   0 NFS mount FS.txt
13 File(s)581,105 bytes
16 Dir(s)   3,043,495,936 bytes free






ciao, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc5oOIR7qMdg1EfYRArRUAJ4jD/SvCOBSDf9US2CmixeTtqWsuwCg3+nb
BX+JBkeXxNXbDpyIXZXs14A=
=eC1c
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba over NFS: Total and Free disk incorrect in Windows.

2005-11-10 Thread Jeremy Allison
On Thu, Nov 10, 2005 at 08:20:07AM -0600, Gerald (Jerry) Carter wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Jeremy,
> 
> I can reproduce this as well. Is it somethign we can fix?
> Or more of a "don't do that" kind of thing?

No, people want to do this. Is the Linux disk free request
failing on NFS drives ? What happens with a df command (which
should call the same functions). I try not to nfs export anything
at home (but will if I have to to fix this :-).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba over NFS: Total and Free disk incorrect in Windows.

2005-11-10 Thread Louis van Belle
Hi, 

Im running also samba with nfs and no problems here,
disk size and free space are ok here.

Im using samba 3.0.14a-debian Kernel 2.6.8-debian

Louis
 

>-Oorspronkelijk bericht-
>Van: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] 
>Namens Gerald (Jerry) Carter
>Verzonden: donderdag 10 november 2005 15:20
>Aan: Jeremy Allison
>CC: samba@lists.samba.org
>Onderwerp: Re: [Samba] Samba over NFS: Total and Free disk 
>incorrect in Windows.
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Jeremy,
>
>I can reproduce this as well. Is it somethign we can fix?
>Or more of a "don't do that" kind of thing?
>
>
>
>
>
>cheers, jerry
>
>
>
>samba.list wrote:
>| Hello,
>|
>| I have a Linux machine auto-mounting an NFS share,
>| then sharing it out via Samba (not my idea).  Everything
>| is fine - except: On Windows machines that have mapped
>| a drive to the Samba share the Total Size and Free Space
>| for the mapped network drive (Samba/NFSshare) shows
>| Total Size of 20.0 MB and Free Space of 0 bytes.
>|
>| To rule out a very simple Samba problem I created
>| a new (local) directory on the Linux machine and
>| shared it with Samba.  No problem.  Total and
>| Free show correctly.
>|
>| Thoughts?
>|
>| Some details:
>|
>| Linux is 2.4.21-15.ELsmp (RHEL3, recent load; fully updated)
>| Samba is: samba-common-3.0.9-1.3E.5
>|
>| smb.conf (with some details 'd out)
>| [global]
>|
>|workgroup = 
>|server string = Samba Server
>|browseable = yes
>|security = server
>|dns proxy = No
>|encrypt passwords = yes
>|log file = /usr/local/samba/var/log.%m
>|max log size = 50
>|password server = X
>|netbios name = X
>|socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>|#logon drive = i:
>|
>|
>| [home]
>|comment = home Directories
>|path = /home
>|browseable = yes
>|writable = yes
>|
>|
>
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.4.0 (GNU/Linux)
>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
>iD8DBQFDc1cXIR7qMdg1EfYRAt7BAJ0Sk8hsex1HRCWO7XCChpaDfe7ppQCfaDKb
>N87oIRwwSDOt35rAKFf3ZtM=
>=FMOV
>-END PGP SIGNATURE-
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba over NFS: Total and Free disk incorrect in Windows.

2005-11-10 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy,

I can reproduce this as well. Is it somethign we can fix?
Or more of a "don't do that" kind of thing?





cheers, jerry



samba.list wrote:
| Hello,
|
| I have a Linux machine auto-mounting an NFS share,
| then sharing it out via Samba (not my idea).  Everything
| is fine - except: On Windows machines that have mapped
| a drive to the Samba share the Total Size and Free Space
| for the mapped network drive (Samba/NFSshare) shows
| Total Size of 20.0 MB and Free Space of 0 bytes.
|
| To rule out a very simple Samba problem I created
| a new (local) directory on the Linux machine and
| shared it with Samba.  No problem.  Total and
| Free show correctly.
|
| Thoughts?
|
| Some details:
|
| Linux is 2.4.21-15.ELsmp (RHEL3, recent load; fully updated)
| Samba is: samba-common-3.0.9-1.3E.5
|
| smb.conf (with some details 'd out)
| [global]
|
|workgroup = 
|server string = Samba Server
|browseable = yes
|security = server
|dns proxy = No
|encrypt passwords = yes
|log file = /usr/local/samba/var/log.%m
|max log size = 50
|password server = X
|netbios name = X
|socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
|#logon drive = i:
|
|
| [home]
|comment = home Directories
|path = /home
|browseable = yes
|writable = yes
|
|

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc1cXIR7qMdg1EfYRAt7BAJ0Sk8hsex1HRCWO7XCChpaDfe7ppQCfaDKb
N87oIRwwSDOt35rAKFf3ZtM=
=FMOV
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba over NFS: Total and Free disk incorrect in Windows.

2005-11-08 Thread samba.list

Hello,

I have a Linux machine auto-mounting an NFS share, then sharing it out
via Samba (not my idea).  Everything is fine - except: On Windows machines
that have mapped a drive to the Samba share the Total Size and Free Space 
for the mapped network drive (Samba/NFSshare) shows Total Size of 20.0 MB 
and Free Space of 0 bytes.

To rule out a very simple Samba problem I created a new (local)
directory on the Linux machine and shared it with Samba.  No problem.
Total and Free show correctly.

Thoughts?

Some details:

Linux is 2.4.21-15.ELsmp (RHEL3, recent load; fully updated)
Samba is: samba-common-3.0.9-1.3E.5

smb.conf (with some details 'd out)
[global]

   workgroup = 
   server string = Samba Server
browseable = yes
   security = server
dns proxy = No
encrypt passwords = yes
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   password server = X
   netbios name = X
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   #logon drive = i:


# Share Definitions ==
[home]
   comment = home Directories
   path = /home
   browseable = yes
   writable = yes


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba