[DRBD-user] SAMBA 3.0.9 writes surviving failover?

Musard, Kris Kris.Musard at spirentcom.com
Tue Nov 23 22:21:38 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I am working on a clustered fileserver using RedHat 9 + Heartbeat + DRBD
0.7.5 + Samba 3.0.9.  I have been able to setup NFS and AFS fileservices so
that a file copy survives a failover and the file is not corrupted (verified
with cksum).  Is this possible with Samba?  So far when I failover during
the file copy through Samba I get the following error:

"Cannot copy <filename>:an unexpected network error occurred"

I only miss 1-2 pings during the failover.  I have my drbd mirrored
directory as /smb and have linked /var/lib/samba and /etc/samba to
/smb/varlibsamba and /smb/samba.  In my smb.conf file I have the locks and
logs directories set to /smb/locks and /smb/logs respectively.  I have my
service address on a dedicated ethernet interface and am failing over the
MAC address along with the IP.  I have set the smb.conf file to restrict to
this interface.  Any assistance would be appreciated.

Thanks,

Kris Musard
Senior Software Analyst
Service Assurance - Broadband
SPIRENT COMMUNICATIONS
15200 Omega Drive, 2nd Floor
Rockville, MD 20850-3240 USA
Office: +1 301.417.6464
Fax: +1 301.590.3662
Pager:  +1 800.SKY8888 PIN#1266930
kris.musard at spirentcom.com
www.spirentcom.com






More information about the drbd-user mailing list