We're trying to migrate RHEL3 and CentOS4 based samba servers over to CentOS5, but it's a bleeding disaster. We cannot get it to work reliably with any version of CentOS5, i386 or x86_64, the included 3.0.x version of samba or 3.4.x/3.5.x compiled from source. The symptoms are: read access is extremely slow, write access seems to work in principle (e.g. creating a zeros-sized file on a share), but writing even small files (100k) to the share eventually times out with "out of memory or disk space" errors. These shares are home directories NFS-mounted on the samba server. Shares of local disks work fine as expected. We have played with oplock settings and got some improvements, but not reliably, and this seems to effect XP and Seven clients differently. Surely we are not the first to run into this sort of issue? Given the range of tested software, the problem appears to be specific to CentOS5. --------------------------------------------------------------- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. ---------------------------------------------------------------
Am Freitag, den 16.04.2010, 15:00 +0200 schrieb lhecking at users.sourceforge.net:> We're trying to migrate RHEL3 and CentOS4 based samba servers over to CentOS5, > but it's a bleeding disaster. We cannot get it to work reliably with any > version of CentOS5, i386 or x86_64, the included 3.0.x version of samba or > 3.4.x/3.5.x compiled from source. > > The symptoms are: read access is extremely slow, write access seems to work > in principle (e.g. creating a zeros-sized file on a share), but writing even > small files (100k) to the share eventually times out with "out of memory or > disk space" errors. These shares are home directories NFS-mounted on the > samba server. Shares of local disks work fine as expected. > > We have played with oplock settings and got some improvements, but not > reliably, and this seems to effect XP and Seven clients differently. > > Surely we are not the first to run into this sort of issue? Given the range > of tested software, the problem appears to be specific to CentOS5.If this was a general CentOS problem you would propably find tons of information on bugs.centos.org and bugzilla.redhat.com. I bon't use samba on CentOS 5 myself but it's really hard to believe that it is a CentOS related problem. I rather think it is some trivial common problem like network issues (duplex/speed missmatch) or some problem with the storage. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Someone wrote:> > We're trying to migrate RHEL3 and CentOS4 based samba servers over to > CentOS5, but it's a bleeding disaster. We cannot get it to work reliably > with any version of CentOS5, i386 or x86_64, the included 3.0.x version > of samba or 3.4.x/3.5.x compiled from source.<snip> Here's a question: are you using your old configuration files? You might want to compare the default from the install with the old ones - there may be deprecated or defunct or invalid options. mark
From: "lhecking at users.sourceforge.net" <lhecking at users.sourceforge.net>> The symptoms are: read access is extremely slow, write access > seems to work in principle (e.g. creating a zeros-sized file on > a share), but writing even small files (100k) to the share eventually > times out with "out of memory or disk space" errors. > These shares are home directories NFS-mounted on the samba s > erver. Shares of local disks work fine as expected.Just in case, what's your nic MTU...? Maybe read http://serverfault.com/questions/68330/samba-sharing-an-nfs-mount-point JD
On 16/04/2010 14:00, lhecking at users.sourceforge.net wrote:> We're trying to migrate RHEL3 and CentOS4 based samba servers over to CentOS5, > but it's a bleeding disaster. We cannot get it to work reliably with any > version of CentOS5, i386 or x86_64, the included 3.0.x version of samba or > 3.4.x/3.5.x compiled from source. > > The symptoms are: read access is extremely slow, write access seems to work > in principle (e.g. creating a zeros-sized file on a share), but writing even > small files (100k) to the share eventually times out with "out of memory or > disk space" errors. These shares are home directories NFS-mounted on the > samba server. Shares of local disks work fine as expected. >We had a similar after issues migrating from a Solaris 8 2.x Samba install to CentOS 5 . We had all sorts of timeouts, and weird slowness and random "read only" messages. Setting locking = No in the globals of smb.conf fixed it. In our case we suspect it has something to do with locking differences over NFS between Solaris and CentOS clients accessing a CentOS NFS server but didn't have time to fully investigate (we were just glad it got fixed!). If this works for you then maybe there's something more to investigate... Dan> We have played with oplock settings and got some improvements, but not > reliably, and this seems to effect XP and Seven clients differently. > > Surely we are not the first to run into this sort of issue? Given the range > of tested software, the problem appears to be specific to CentOS5. > > > > --------------------------------------------------------------- > This message and any attachments may contain Cypress (or its > subsidiaries) confidential information. If it has been received > in error, please advise the sender and immediately delete this > message. > --------------------------------------------------------------- > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On 04/16/10 15:00, lhecking at users.sourceforge.net wrote:> We're trying to migrate RHEL3 and CentOS4 based samba servers over to CentOS5, > but it's a bleeding disaster. We cannot get it to work reliably with any > version of CentOS5, i386 or x86_64, the included 3.0.x version of samba or > 3.4.x/3.5.x compiled from source. > > The symptoms are: read access is extremely slow, write access seems to work > in principle (e.g. creating a zeros-sized file on a share), but writing even > small files (100k) to the share eventually times out with "out of memory or > disk space" errors. These shares are home directories NFS-mounted on the > samba server. Shares of local disks work fine as expected. > > We have played with oplock settings and got some improvements, but not > reliably, and this seems to effect XP and Seven clients differently. > > Surely we are not the first to run into this sort of issue? Given the range > of tested software, the problem appears to be specific to CentOS5. > > > > --------------------------------------------------------------- > This message and any attachments may contain Cypress (or its > subsidiaries) confidential information. If it has been received > in error, please advise the sender and immediately delete this > message. > --------------------------------------------------------------- > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >Try mounting your NFS volumes with: rsize=32768,wsize=32768 Are the NFS servers on the same network speed as the samba servers? Glenn