Re: [Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/2010 03:00 PM, Jeff Layton wrote: > ...often that means that you don't have rpc.statd running on the client. I officially feel like a dolt now. Thank you for pointing out what should have been painfully obvious. I started up the nfslock service on my samba server, and the issue is gone. Thanks! Here's to public humiliation. :P -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXaRUACgkQsZqG4IN3sumEiwCgjsu7CywPEauep8TZAufwL2fH RzgAnjgDPui2dwBd75efZ7UPahhtYgko =VNjc -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
On Wed, 20 Jan 2010 13:36:18 -0500 Nathan Lager wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > OK, Here we go. > > http://www.undrground.org/smb/smbd.strace > > > On 01/20/2010 12:56 PM, Volker Lendecke wrote: > > On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: > >> That hasnt helped either. > >> > >> Same lag on file modification. > >> > >> Thanks. > > > > Please connect, look in smbstatus which process is > > responsible for your client and strace it. > > > > strace -ttT -o /tmp/smbd.strace -p > > > > Upload /tmp/smbd.strace somewhere please. > > > > Volker > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAktXTSIACgkQsZqG4IN3sunZqACffagPWZAH3BKFTfe2NSytiOWx > zfAAoJgks2s5Dt1Pg0vh+49o9FMIcRWj > =uCY5 > -END PGP SIGNATURE- Looks like it's taking forever for flock() calls to time out, and then it finally fails with -ENOLCK: 13:24:00.268018 flock(28, 0x60 /* LOCK_??? */) = -1 ENOLCK (No locks available) <30.000971> ...often that means that you don't have rpc.statd running on the client. -- Jeff Layton -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, Here we go. http://www.undrground.org/smb/smbd.strace On 01/20/2010 12:56 PM, Volker Lendecke wrote: > On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: >> That hasnt helped either. >> >> Same lag on file modification. >> >> Thanks. > > Please connect, look in smbstatus which process is > responsible for your client and strace it. > > strace -ttT -o /tmp/smbd.strace -p > > Upload /tmp/smbd.strace somewhere please. > > Volker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXTSIACgkQsZqG4IN3sunZqACffagPWZAH3BKFTfe2NSytiOWx zfAAoJgks2s5Dt1Pg0vh+49o9FMIcRWj =uCY5 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank's, i'll get on that. in the meantime. I've run wireshark during the write process. Here's what i've come up with. When i initiate the write (file->save), i see, from my workstation, to the smb server and "NT Create Andx request path: \test\testfile.txt" Immediately after that, i get a response from the smb server, to my workstation: "microsoft-ds > cognex-insight [ACK] seq=1 Ack=127 Win=36448 Len:0" 28 seconds later, i get, from my workstation, to the server: "Echo Request" Immdiately after that, i get another microsoft-ds > cognex-insight [ACK] Then the whole thing seems to start over again, except this time, no 28 second pause, and the write completes. On 01/20/2010 12:56 PM, Volker Lendecke wrote: > On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: >> That hasnt helped either. >> >> Same lag on file modification. >> >> Thanks. > > Please connect, look in smbstatus which process is > responsible for your client and strace it. > > strace -ttT -o /tmp/smbd.strace -p > > Upload /tmp/smbd.strace somewhere please. > > Volker - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXRxEACgkQsZqG4IN3suknRQCfUFc86qkDPr1twg4zE2+qA1Tr sxEAn0TsA1sVV1m56QOCbsr+hXec/ywT =hqfY -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: > That hasnt helped either. > > Same lag on file modification. > > Thanks. Please connect, look in smbstatus which process is responsible for your client and strace it. strace -ttT -o /tmp/smbd.strace -p Upload /tmp/smbd.strace somewhere please. Volker pgpZSCKMDlyzR.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That hasnt helped either. Same lag on file modification. Thanks. On 01/16/2010 05:46 AM, Volker Lendecke wrote: > On Fri, Jan 15, 2010 at 03:20:36PM -0500, Nathan Lager wrote: >> Any suggestions? Anything i can check? Am i perhaps looking an an NFS >> performance issue? I'm able to modify files over the nfs mount from the >> smb server without an issue. > > No, this is probably not a NFS performance thing, NFS is not > *that* slow. Next try after "kernel oplocks = no" would be > "posix locking = no". > > Volker - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXPUkACgkQsZqG4IN3sulhJwCgqciUoWOtxcpRbMORwpWrSXMk MIgAnRRMhaEWU7mynN7B6N8UVOCqJsPk =aypr -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
On Fri, Jan 15, 2010 at 03:20:36PM -0500, Nathan Lager wrote: > Any suggestions? Anything i can check? Am i perhaps looking an an NFS > performance issue? I'm able to modify files over the nfs mount from the > smb server without an issue. No, this is probably not a NFS performance thing, NFS is not *that* slow. Next try after "kernel oplocks = no" would be "posix locking = no". Volker signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This didnt seem to help. As a side, note, i've also tried it without the Novell client. This didnt help either. Thanks just the same for the response. On 01/15/2010 03:48 PM, Gerald Carter wrote: > Nathan Lager wrote: >> Afternoon! >> I have a samba server, which shares out an NFS mounted share. It seems >> that everything works rather well, except that i get some lag when >> modifying a file. If i share a directory which is local to the samba >> server, no lag, everything works perfectly. However, when i share an >> NFS mounted volume, i get about 30 seconds of lag while writing a file >> after it's been modified. > > Hey Nathan, > > A 30 second lag is normally an indication of an oplock > break timeout. Just an fyi...If you are re-exporting an > nfs mounted volume on linux, try setting "kernel oplocks = no" > since I don't bnelieve the kernel file lease mechanism is > availble on an NFS mount but I could be wrong on that one. > Just a suggestion. > > > > > cheers, jerry > > - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktQ3OMACgkQsZqG4IN3sun27wCeL3TzsFao7x12Dgh+F/OABf2X CTAAmQE54iRoF7WuKtfJVT3IdbBNoGXw =EKvT -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba, and NFS. lag?
Nathan Lager wrote: > Afternoon! > I have a samba server, which shares out an NFS mounted share. It seems > that everything works rather well, except that i get some lag when > modifying a file. If i share a directory which is local to the samba > server, no lag, everything works perfectly. However, when i share an > NFS mounted volume, i get about 30 seconds of lag while writing a file > after it's been modified. Hey Nathan, A 30 second lag is normally an indication of an oplock break timeout. Just an fyi...If you are re-exporting an nfs mounted volume on linux, try setting "kernel oplocks = no" since I don't bnelieve the kernel file lease mechanism is availble on an NFS mount but I could be wrong on that one. Just a suggestion. cheers, jerry signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba, and NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Afternoon! I have a samba server, which shares out an NFS mounted share. It seems that everything works rather well, except that i get some lag when modifying a file. If i share a directory which is local to the samba server, no lag, everything works perfectly. However, when i share an NFS mounted volume, i get about 30 seconds of lag while writing a file after it's been modified. In my test, i did the following: - From Windows xp, browse to \\smbserver\share\ browse to a directory which you have permission to write to. open an existing file (in my case, a text file, using Notepad). Add a line to the file. save the file. Notepad hangs for about 30 seconds, and then successfully completes its write. The only thin special about this windows XP client is that it has the Novell mobile client installed. I ran into an issue where windows was first trying to access my smb server using novell's ncp, but this was corrected by moving around the provider order in Windows networking. Any suggestions? Anything i can check? Am i perhaps looking an an NFS performance issue? I'm able to modify files over the nfs mount from the smb server without an issue. Thanks! - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktQzhQACgkQsZqG4IN3sumiIACgq9ms6T+hVVBVgdCyPztB6SMV bhYAnRM+bEJ3Mz5Gu96/iVqVYS4Hz/cH =v0Q/ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba and NFS locking on Netapp filers ?
On Tue, Sep 29, 2009 at 04:54:15PM +0200, Frank Bonnet wrote: > I have troubles with some shares that are NFS mounted to a Netapp > filer, if I enable locking on that share, the file cannot be opened > by the windows client in write mode ( read only after a looong time ) > > Anyone has the same problem , it seems to be a Netapp bug but > they do not support samba at all :-) so I don't expect any answer > from them. We strongly advise against re-exporting NFS imports via Samba, this is asking for trouble on many fronts. You're seeing one symptom of this. It might be the NetApp box, it might also be flaws in the NFS client implementation, who knows. Please enable the CIFS exports directly on the NetApp filer. If for some reason you can't, you might try "posix locking = no" on the samba server. Volker signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba and NFS locking on Netapp filers ?
Hello I have troubles with some shares that are NFS mounted to a Netapp filer, if I enable locking on that share, the file cannot be opened by the windows client in write mode ( read only after a looong time ) Anyone has the same problem , it seems to be a Netapp bug but they do not support samba at all :-) so I don't expect any answer from them. thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
RE: [Samba] Samba and NFS quota problem
Hello, I don't know if anyone has any ideas on how to solve this. The same issue seems to occur in Red Hat EL 4 as well. CentOS 3.8 seems to be normal with both 23d and built in 3.0.9, so does Fedora Core 6. It seems to be something to do with NFS; though I don't know what's happening. If I change the window size of the NFS mount, although everythings normal on the underlying unix box samba changes the free space on the drive wildly. I don't think it's related to quotas but disk space. This occurs in any samba 3 I try it on. I've put more examples below illustrating what is happening. Does anyone have any ideas? NFS Server space: 17GB, free 468MB mount -o wsize=512 Samba shows on windows: 54MB free of 2.07GB mount -o wsize=1024 Samba shows on windows: 218MB free of 8.30GB mount -o wsize=2048 Samba shows on windows: 109MB free of 4.15GB Mount -o wsize=4096 Samba shows on windows: 54.6MB free of 2.07GB mount -o wsize=8192 Samba shows on windows 27.3MB free of 1.03GB mount -o wsize=16384 Samba shows on windows 13.6MB free of 531MB Mount -o wsize=32768 (default?) Samba shows on windows 6.8MB free of 265MB > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steve Goodman (lists) > Sent: 16 December 2006 19:23 > To: samba@lists.samba.org > Subject: RE: [Samba] Samba and NFS quota problem > > Hi, > > Just in case someone has any idea on how to solve this, I've done some > further testing. > > I get the same error below on both a fresh CentOS 4.4 install on x86 > (not x64, to rule that out) using built-in RHEL packages; and on the > original x64 server when compiling from sources (with sys quotas and > disk quotas enabled or disabled). > > As I say I can see the quota correctly on the Samba server using the > unix quota command but on the windows client the samba mapped drive > shows entirely the wrong value as free/used. If I make the home > directory on a local disk which doesn't use quotas all is fine. > > Am I missing something really obvious? > > Kind Regards, > > Steve > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Steve Goodman (lists) > > Sent: 15 December 2006 15:42 > > To: samba@lists.samba.org > > Subject: [Samba] Samba and NFS quota problem > > > > Hello, > > > > I am mounting via NFS a number of volumes and re-sharing these as > CIFS. > > We have been using this arrangement successfully for a number of > years. > > > > We are replacing the "CIFS>NFS" proxy servers (which are also > PDC/BDCs > > to OpenLDAP) and a weird problem seems to occur. > > > > The problem is the quota/disk size appears to be wrong. For example, > if > > I use the unix quota command on the SMB server, it shows correctly > the > > quota and usage. However on the windows machine this is showing > > incorrectly. The NFS is mounted with no special options, and I have > > tried against different NFS servers, different Samba versions and can > > replicate the problem on both the PDC and BDC servers (which are > setup > > identically) > > > > OS: > > CentOS 4.4 x64 > > > > Hardware: > > Dell Poweredge 2950 > > > > Current Samba version: > > samba3-client-3.0.23d-30 > > samba3-3.0.23d-30 > > > > (Also occurs on CentOS/RHEL Samba-3.0.10) > > > > NFS server: > > > > Solaris 9, default settings. Also it shows the wrong quota > information > > using another NFS server (EMC Celerra NAS 5.5) > > > > Quota shows correctly using quota command: > > Filesystem blocks quota limit grace files quota > limit > > grace > > helios:/adm/d501 > > 359519 50 500500 668 0 > 0 > > > > Disk usage on the windows system shows: > > > > 8.98MB free of 265MB - writing any file to this fails. > > > > Samba also appears to be compiled with quota options enabled: > > # smbd -b| grep QUOTA > >HAVE_SYS_QUOTA_H > >HAVE_LINUX_XFS_QUOTAS > >HAVE_QUOTACTL_LINUX > >HAVE_SYS_QUOTAS > >HAVE_XFS_QUOTAS > >WITH_QUOTAS > >WITH_QUOTAS > > > > > > > > Any thoughts on this problem would be greatly appreciated. I am about > > to > > compile from source to see if this still occurs. > > > > Steve Goodman > > > > > > -- > > 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba and NFS quota problem
Hi, Just in case someone has any idea on how to solve this, I've done some further testing. I get the same error below on both a fresh CentOS 4.4 install on x86 (not x64, to rule that out) using built-in RHEL packages; and on the original x64 server when compiling from sources (with sys quotas and disk quotas enabled or disabled). As I say I can see the quota correctly on the Samba server using the unix quota command but on the windows client the samba mapped drive shows entirely the wrong value as free/used. If I make the home directory on a local disk which doesn't use quotas all is fine. Am I missing something really obvious? Kind Regards, Steve > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steve Goodman (lists) > Sent: 15 December 2006 15:42 > To: samba@lists.samba.org > Subject: [Samba] Samba and NFS quota problem > > Hello, > > I am mounting via NFS a number of volumes and re-sharing these as CIFS. > We have been using this arrangement successfully for a number of years. > > We are replacing the "CIFS>NFS" proxy servers (which are also PDC/BDCs > to OpenLDAP) and a weird problem seems to occur. > > The problem is the quota/disk size appears to be wrong. For example, if > I use the unix quota command on the SMB server, it shows correctly the > quota and usage. However on the windows machine this is showing > incorrectly. The NFS is mounted with no special options, and I have > tried against different NFS servers, different Samba versions and can > replicate the problem on both the PDC and BDC servers (which are setup > identically) > > OS: > CentOS 4.4 x64 > > Hardware: > Dell Poweredge 2950 > > Current Samba version: > samba3-client-3.0.23d-30 > samba3-3.0.23d-30 > > (Also occurs on CentOS/RHEL Samba-3.0.10) > > NFS server: > > Solaris 9, default settings. Also it shows the wrong quota information > using another NFS server (EMC Celerra NAS 5.5) > > Quota shows correctly using quota command: > Filesystem blocks quota limit grace files quota limit > grace > helios:/adm/d501 > 359519 50 500500 668 0 0 > > Disk usage on the windows system shows: > > 8.98MB free of 265MB - writing any file to this fails. > > Samba also appears to be compiled with quota options enabled: > # smbd -b| grep QUOTA >HAVE_SYS_QUOTA_H >HAVE_LINUX_XFS_QUOTAS >HAVE_QUOTACTL_LINUX >HAVE_SYS_QUOTAS >HAVE_XFS_QUOTAS >WITH_QUOTAS >WITH_QUOTAS > > > > Any thoughts on this problem would be greatly appreciated. I am about > to > compile from source to see if this still occurs. > > Steve Goodman > > > -- > 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
[Samba] Samba and NFS quota problem
Hello, I am mounting via NFS a number of volumes and re-sharing these as CIFS. We have been using this arrangement successfully for a number of years. We are replacing the "CIFS>NFS" proxy servers (which are also PDC/BDCs to OpenLDAP) and a weird problem seems to occur. The problem is the quota/disk size appears to be wrong. For example, if I use the unix quota command on the SMB server, it shows correctly the quota and usage. However on the windows machine this is showing incorrectly. The NFS is mounted with no special options, and I have tried against different NFS servers, different Samba versions and can replicate the problem on both the PDC and BDC servers (which are setup identically) OS: CentOS 4.4 x64 Hardware: Dell Poweredge 2950 Current Samba version: samba3-client-3.0.23d-30 samba3-3.0.23d-30 (Also occurs on CentOS/RHEL Samba-3.0.10) NFS server: Solaris 9, default settings. Also it shows the wrong quota information using another NFS server (EMC Celerra NAS 5.5) Quota shows correctly using quota command: Filesystem blocks quota limit grace files quota limit grace helios:/adm/d501 359519 50 500500 668 0 0 Disk usage on the windows system shows: 8.98MB free of 265MB - writing any file to this fails. Samba also appears to be compiled with quota options enabled: # smbd -b| grep QUOTA HAVE_SYS_QUOTA_H HAVE_LINUX_XFS_QUOTAS HAVE_QUOTACTL_LINUX HAVE_SYS_QUOTAS HAVE_XFS_QUOTAS WITH_QUOTAS WITH_QUOTAS Any thoughts on this problem would be greatly appreciated. I am about to compile from source to see if this still occurs. Steve Goodman -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and NFS file access problem.
Hi, I've got samba 3.0.14a server and on the same machine is nfs server. Some files are share for Windows and Linux clients. The problme is when two clients one from win other from Linux try to open the same file. If Linux user first open file Samba user can open it (i/o error), in oposite situation Linux user can open the file to rw (!?) - the same file is edited by both - when win try to save error occurs. Is there any solution for this situation. I've tried turn off oplocks - didn't help, i've looked almost evereywhere and can't find soulution. If it possible that if samba user open file it will open readonly for nfs user and if nfs user opens file samba user will open if ro. Thanks for any help! With best regards Grzegorz -- Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba and nfs locking
bones! anyone has played with nfs and samba locking? im setting a nfs and samba environment i have problems with locking files and i was reading some smb.conf setting, but still got no idea on how to handle and mix this with nfs to avoid data corruption. any hints will be apreciated abo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think you won't have a performance problem. i have a DELL P4 2.8 with 256 ram rinning samba+rsync+heartbeat+nfs and 20 clients. everything is ok. bastard operater wrote: | Thank you for the response. Would there still be a performance problem | if I had two NICs in the PC? One to connect to the NFS share and the | second NIC to connect to the windows PCs? I am talking about a maximum | of 20 people connecting to the samba share with at most 5-6 people | passing data over the share. The samba server would be a 2.2GHz PC with | 512MB of RAM. | | Thanks, | | BOFH1234 | |> From: "Eric Boehm" <[EMAIL PROTECTED]> |> Reply-To: "Eric Boehm" <[EMAIL PROTECTED]> |> To: bastard operater <[EMAIL PROTECTED]> |> CC: [EMAIL PROTECTED] |> Subject: Re: [Samba] SAMBA and NFS |> Date: Wed, 7 Jul 2004 13:35:28 -0400 |> |> On Wed, Jul 07, 2004 at 01:23:37PM -0400, bastard operater wrote: |> >>>>> "BOFH1234" == bastard operater <[EMAIL PROTECTED]> writes: |> |> BOFH1234> Can samba connect to an NFS share and then re-export |> BOFH1234> that share so my windows XP users can connect to it? |> BOFH1234> Basically I have a NFS share that all of my windows XP |> BOFH1234> users need read-only access to. The goal of this |> BOFH1234> project is to replace an old MS Gateway Services for |> BOFH1234> Novell server (using IPX) with something that can do the |> BOFH1234> same thing but over IP. I am pretty sure Novell and AD |> BOFH1234> can share files using Native File Access, but that would |> BOFH1234> require the Novell admins to get CIFS setup on the |> BOFH1234> Novell side. The Novell server we are using has NFS |> BOFH1234> already setup and getting that much setup was like |> BOFH1234> pulling teeth. |> |> Samba can share any filesystem that the Samba server can see. Your |> performance will be degraded because you have the dual overhead of |> Samba and NFS, but you can share the filesystem. |> |> -- |> Eric M. Boehm /"\ ASCII Ribbon Campaign |> [EMAIL PROTECTED] \ / No HTML or RTF in mail |> X No proprietary word-processing |> Respect Open Standards / \ files in mail | | | _ | Get tips for maintaining your PC, notebook accessories and reviews in | Technology 101. http://special.msn.com/tech/technology101.armx | - -- ~ ___ ~| henrique paiva | ~|___| ~| email: [EMAIL PROTECTED] | ~|___| ~| icq: 320094827 | ~|___| Este email foi assinado pelo Gnupg http://www.gnupg.com e ~ Mozilla Thunderbird Enigmail http://enigmail.mozdev.org Solicite minha chave pública. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFA7GgmeE6sZ+g/aaURAj37AKCfFEBodopuepG9K27yFvH5yQnp6wCgm7CF laGw0bZaxf7bWj3qR7pryEs= =uUOR -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
Eric Boehm wrote: On Wed, Jul 07, 2004 at 02:49:30PM -0400, bastard operater wrote: "bastard" == bastard operater <[EMAIL PROTECTED]> writes: bastard> Thank you for the response. Would there still be a bastard> performance problem if I had two NICs in the PC? One to bastard> connect to the NFS share and the second NIC to connect to bastard> the windows PCs? I am talking about a maximum of 20 bastard> people connecting to the samba share with at most 5-6 bastard> people passing data over the share. The samba server bastard> would be a 2.2GHz PC with 512MB of RAM. I don't think that will help you. I am talking about the overhead of the two protocols. For example, if you were access files via NFS, you might see something like this client -> NFS -> NFS server and for samba client -> SMB (CIFS) -> Samba server However, in your example, client -> SMB (CIFS) -> Samba server -> NFS -> NFS server The client has to go through two network file systems to get to the data. Not really much of a slowdown. I have that confirugation setup within my own network with roughly 25 users. Primarily, they are accessing Samba from the server hosting the files, however if need be those Samba shares can be accessed via NFS then Samba off the second Server. I configured the two servers 'identically' with the second server running an rsyne between the 'share' and a 'share2' over NFS, that way if the primary server fails, all I need to do is change umount 'share2' and remount it as 'share' and voila no other changes are necesary, since the same fileshares are already available through Samba via both servers. If I wanted to, I could quickly edit the smb.conf file to change the 'server' name the second server broadcasts and within a few minutes everyone will be 'reconnected' to the 'original' server. In my tests, there really is very little difference in performance. -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
On Wed, Jul 07, 2004 at 02:49:30PM -0400, bastard operater wrote: > "bastard" == bastard operater <[EMAIL PROTECTED]> writes: bastard> Thank you for the response. Would there still be a bastard> performance problem if I had two NICs in the PC? One to bastard> connect to the NFS share and the second NIC to connect to bastard> the windows PCs? I am talking about a maximum of 20 bastard> people connecting to the samba share with at most 5-6 bastard> people passing data over the share. The samba server bastard> would be a 2.2GHz PC with 512MB of RAM. I don't think that will help you. I am talking about the overhead of the two protocols. For example, if you were access files via NFS, you might see something like this client -> NFS -> NFS server and for samba client -> SMB (CIFS) -> Samba server However, in your example, client -> SMB (CIFS) -> Samba server -> NFS -> NFS server The client has to go through two network file systems to get to the data. -- Eric M. Boehm /"\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
Thank you for the response. Would there still be a performance problem if I had two NICs in the PC? One to connect to the NFS share and the second NIC to connect to the windows PCs? I am talking about a maximum of 20 people connecting to the samba share with at most 5-6 people passing data over the share. The samba server would be a 2.2GHz PC with 512MB of RAM. Thanks, BOFH1234 From: "Eric Boehm" <[EMAIL PROTECTED]> Reply-To: "Eric Boehm" <[EMAIL PROTECTED]> To: bastard operater <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Samba] SAMBA and NFS Date: Wed, 7 Jul 2004 13:35:28 -0400 On Wed, Jul 07, 2004 at 01:23:37PM -0400, bastard operater wrote: >>>>> "BOFH1234" == bastard operater <[EMAIL PROTECTED]> writes: BOFH1234> Can samba connect to an NFS share and then re-export BOFH1234> that share so my windows XP users can connect to it? BOFH1234> Basically I have a NFS share that all of my windows XP BOFH1234> users need read-only access to. The goal of this BOFH1234> project is to replace an old MS Gateway Services for BOFH1234> Novell server (using IPX) with something that can do the BOFH1234> same thing but over IP. I am pretty sure Novell and AD BOFH1234> can share files using Native File Access, but that would BOFH1234> require the Novell admins to get CIFS setup on the BOFH1234> Novell side. The Novell server we are using has NFS BOFH1234> already setup and getting that much setup was like BOFH1234> pulling teeth. Samba can share any filesystem that the Samba server can see. Your performance will be degraded because you have the dual overhead of Samba and NFS, but you can share the filesystem. -- Eric M. Boehm /"\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail _ Get tips for maintaining your PC, notebook accessories and reviews in Technology 101. http://special.msn.com/tech/technology101.armx -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and NFS
On Wed, Jul 07, 2004 at 01:23:37PM -0400, bastard operater wrote: > "BOFH1234" == bastard operater <[EMAIL PROTECTED]> writes: BOFH1234> Can samba connect to an NFS share and then re-export BOFH1234> that share so my windows XP users can connect to it? BOFH1234> Basically I have a NFS share that all of my windows XP BOFH1234> users need read-only access to. The goal of this BOFH1234> project is to replace an old MS Gateway Services for BOFH1234> Novell server (using IPX) with something that can do the BOFH1234> same thing but over IP. I am pretty sure Novell and AD BOFH1234> can share files using Native File Access, but that would BOFH1234> require the Novell admins to get CIFS setup on the BOFH1234> Novell side. The Novell server we are using has NFS BOFH1234> already setup and getting that much setup was like BOFH1234> pulling teeth. Samba can share any filesystem that the Samba server can see. Your performance will be degraded because you have the dual overhead of Samba and NFS, but you can share the filesystem. -- Eric M. Boehm /"\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA and NFS
Can samba connect to an NFS share and then re-export that share so my windows XP users can connect to it? Basically I have a NFS share that all of my windows XP users need read-only access to. The goal of this project is to replace an old MS Gateway Services for Novell server (using IPX) with something that can do the same thing but over IP. I am pretty sure Novell and AD can share files using Native File Access, but that would require the Novell admins to get CIFS setup on the Novell side. The Novell server we are using has NFS already setup and getting that much setup was like pulling teeth. Thanks, BOFH1234 _ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba