What version of CTDB is needed to build Samba 3.6 Master?

Hammitt, Charles Allen chammitt at email.unc.edu
Fri Aug 12 06:25:05 MDT 2011

I've been running ctdb for about two and a half years now; ctdb+samba+nfs+ftps backed by gpfs on rhel5

I started out way back when with samba 3.2 and ctdb 1.0.82; but now using samba 3.5.10 and ctdb 1.0.114-1....no issues.



-----Original Message-----
From: samba-technical-bounces at lists.samba.org [mailto:samba-technical-bounces at lists.samba.org] On Behalf Of Christian PERRIER
Sent: Thursday, August 11, 2011 5:05 PM
To: samba-technical
Subject: Re: What version of CTDB is needed to build Samba 3.6 Master?

Quoting Richard Sharpe (realrichardsharpe at gmail.com):
> On Thu, Aug 11, 2011 at 1:25 PM, Hammitt, Charles Allen
> <chammitt at email.unc.edu> wrote:
> >
> > I would think this means samba wasn't compiled with cluster support [--with-cluster-support] [samba 3.2 or later required]
> >
> > The C part of ctdb means clustered, so I'd think not that ctdb is to blame here...see samba config...
> Thanks for your response. My attempt to build was based around a
> modified (by me) version if the SerNet supplied RPM SPEC file for
> Samba with the following flags passed to configure:
>         --with-cluster-support \
>         --enable-old-ctdb \
> I just found --enable-old-ctdb so I added that, but have now run into
> problems with modules/vfs_prealloc.c
> modules/vfs_prealloc.c: In function 'prealloc_open':
> modules/vfs_prealloc.c:129: error: 'O_CREAT' undeclared (first use in
> this function)
> Looks like someone is not including fcntl.h or something.
> Anyway, I would still like to know which version of CTDB I should use
> so I can avoid any issues with --enable-old-ctdb

People more ctdb-clever than me (particularly the maintainer of ctdb
in Debian, Mathieu parent) would be more precise, but, for
Debian, we build 3.6.0 with ctdb >= 1.10+git20110412....so it seems
that it would be recommended to use a very recent ctdb....

More information about the samba-technical mailing list