LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2005, 05:40 AM   #1
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
Samba fileserver/Ghost Decompression Errors


Heres the situation,

Linux Redhat 9 server running samba to provide shares storing ghost images. Boot PC's using dos boot disk with network card drivers and image the drive. we have used this system possibly up to 100 times a day for the past 2 years fine. all of a sudden the boot drive of the server died.

I stuck in a new drive and installed fedora 3 with almost exactly the same configuration. I'm now getting decompression errors with ghost.

I can boot the pc up in winpe and image the drive with ghost32 fine, but not all our pc's are compatible with winpe. I can also copy the images to and from the server in windows.

I've tried having a play with the sndbuffers and rcvbuffers with no joy.

Anyone any ideas?
 
Old 06-10-2005, 03:07 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
post smb.conf
 
Old 06-12-2005, 08:16 AM   #3
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = computing

# server string is the equivalent of the NT Description field
server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
; printing = cups

# This option tells cups that the data has already been rasterized
cups options = raw

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# all log information in one file
# log file = /var/log/samba/smbd.log

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = share
# Use password server option only with security = server
; password server = <NT-Server-Name>

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8760

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24

# Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
; remote announce = 192.168.1.255 192.168.2.44

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U

# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no

#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no


[tempimage]
path =/tempimage
guest ok = yes
writeable = yes
read only = no

[imagedir$]
path = /imagedir
guest ok = yes
writeable = yes
read only = no

[image]
path = /imagedir/disk3/image
guest ok = yes
writeable = yes
read only = no

[image_pa]
path = /imagedir/disk1/image_pa
guest ok = yes
writeable = yes
read only = no

[image_sc]
path = /imagedir/disk1/image_sc
guest ok = yes
writeable = yes
read only = no

[image_cu]
path = /imagedir/disk2/image_cu
guest ok = yes
writeable = yes
read only = no

[image_lb]
path = /imagedir/disk2/image_lb
guest ok = yes
writeable = yes
read only = no

[sysprep]
path = /imagedir/disk2/sysprep/sysprep
guest ok = yes
writeable = yes
read only = no
[sysprep_lb]
path = /imagedir/disk2/sysprep/sysprep_lb
guest ok = yes
writeable = yes
read only = no
[sysprep_pa]
path = /imagedir/disk2/sysprep/sysprep_pa
guest ok = yes
writeable = yes
read only = no
[sysprep_sc]
path = /imagedir/disk2/sysprep/sysprep_sc
guest ok = yes
writeable = yes
read only = no
[migrate$]
path = /migrate
guest ok = yes
writeable = yes
read only = no
[users$]
path = /migrate
guest ok = yes
writeable = yes
read only = no
 
Old 06-12-2005, 08:26 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I wonder if it's somehow related to you changing from Redhat 9 to FC3 .
 
Old 06-12-2005, 01:51 PM   #5
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
try this setting:
socket options = IPTOS_LOWDELAY TCP_NODELAY
 
Old 06-13-2005, 07:53 AM   #6
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
thanks finlay, tried that but no joy!
 
Old 06-13-2005, 09:13 AM   #7
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
You think it could be the network card??
 
Old 06-13-2005, 11:08 AM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
well a quick:
ifconfig

will tell you if you are getting errors on the NIC.
 
Old 06-13-2005, 03:24 PM   #9
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
the nic seems to be working ok, but i'd read somewhere that its possible for the nic even tho it seems to work in certain circumstances to be the cause of certain samba issues

for reference the card is a intel gigabit card and here is the output of ifconfig

eth0 Link encap:Ethernet HWaddr 00:08:74:AE:44:B0
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:74ff:feae:44b0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15528568 errors:0 dropped:0 overruns:0 frame:0
TX packets:22824047 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3435674828 (3.1 GiB) TX bytes:4153349729 (3.8 GiB)
Base address:0xecc0 Memory:ff8e0000-ff900000
 
Old 08-08-2007, 04:41 AM   #10
johno12345
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
well, time to dig this one up again...

I ended up going back to redhat 9 which seemed to fix the issue.

I've recently had to rebuild the box and decided to try Centos5 this time, however i'm now getting the decompression errors again.

I'm presuming that the errors are to do with the network card driver still.

Has anyone had this same problem? or even ideas on a fix?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a RAID-based SAMBA fileserver karavshin Linux - General 2 02-16-2005 10:31 AM
Fileserver - SAMBA-SWAT Erpezoa Linux - Distributions 0 12-13-2004 04:26 PM
Samba - one windows box cant see my Linux fileserver crm Linux - Networking 2 11-08-2004 02:37 PM
Implementing a HA Samba fileserver on Linux with SSI mlenehan Linux - Software 2 09-03-2003 04:13 AM
Using Samba As Fileserver thepurpleblob Linux - Networking 5 09-02-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration