Le 19/09/2018 à 09:24, Anoop C S a écrit : > On Wed, 2018-09-19 at 08:25 +0200, Laurent Bardi wrote: >> Hi, >> >> Sorry if it has bee discussed, but i ve spend more than 2 hours on >> goolgle to find answers, and nothing. >> >> i am on debian stretch and i use gluster from your native repos. >> >> gluster version 4.1.4, samba version 4.5.12+dfsg-2+deb9u3 (the one from >> native debian) >> >> The gluster vfs is not compiled by default with debian , everytime, i >> had to download the deb src and recompile it(apt-get source samba, then >> debuild -us -uc) >> >> after that the new samba-vfs-modulesxxx.deb contains the gluster_vfs.so. >> >> A) it doesnt work anymore (no glusterfs.so after rebuilding packages). I >> ve read the log of the configure script it contains "gluster detected >> api version 4" ? > Further down the line were you able to read the logs to find those lines which compiles > vfs_glusterfs.c source? in configure : Checking for glusterfs-api >= 4 : 16:07:16 runner /usr/bin/pkg-config "glusterfs-api >= 4" --cflags --libs glusterfs-api yes Checking for header api/glfs.h : 16:07:16 runner /usr/bin/gcc -g -O2 -fdebug-prefix-map=/usr/local/archives/compile/samba/samba-4.5.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -MD -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/uuid -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=1 ../test.c -c -o default/test_1.o no Checking for library gfapi : 16:07:16 runner /usr/bin/gcc -g -O2 -fdebug-prefix-map=/usr/local/archives/compile/samba/samba-4.5.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -MD -fPIC -DPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/uuid -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=1 ../test.c -c -o default/test_1.o 16:07:16 runner /usr/bin/gcc default/test_1.o -o /usr/local/archives/compile/samba/samba-4.5.12+dfsg/bin/.conf_check_0/testbuild/default/libtestprog.so -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -lpthread -Wl,-no-undefined -Wl,--export-dynamic -shared -L/usr/local/lib -Wl,-Bdynamic -lgfapi -lacl -lglusterfs -lgfrpc -lgfxdr -luuid yes it seems that glfs.h not found , but an apt-file search glfs.h find it at : glusterfs-common: /usr/include/glusterfs/api/glfs.h after that there is only reference to the gluster_vfs manpage , it does not seems to compile anything. I suspect a problem with samba package ? (in that case i m asking the wrong list :-}) Many thanks for your answers. PS: i can send you the log , i dont want to bother the list. > >> B) in the doc i don t see anymore the use of >> >> vfs objects = glusterfs >> glusterfs:volfile_server = <host> >> glusterfs:volume = <volume name> >> glusterfs:logfile = <where to put the logs> >> >> Is there any change i ve missed ? > Hm.. That's interesting. I will get the documentation fixed to reflect the usage of VFS module for > GlusterFS with Samba. > > -- Laurent BARDI / RSI CNRS-IPBS / CRSSI DR14 INSTITUT de PHARMACOLOGIE et de BIOLOGIE STRUCTURALE Tel : 05-61-17-59-05 <sip:0561175905> http://www.ipbs.fr/ GSM : 06-23-46-06-28 <sip:0623460628> Laurent.BardiATipbs.fr CNRS-IPBS 205 Route de Narbonne 31400 TOULOUSE FRANCE ... J'étais indéniablement misanthrope. Je voulus traverser à gué un marigot infesté d'imbéciles. Quand j'atteignis l'autre rive, j'étais devenu philanthrope. _______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users