Im having some problems compiling multipathd from your latest releases, concretely when call "__clone(child, child_stack, CLONE_NEWNS, NULL)" is used, wich doesnt come with libc includes: make[1]: Leaving directory `/root/soft/multipath-tools-0.2.9/multipathd/libsysfs' gcc-3.3 -pipe -g -Wall -Wunused -Wstrict-prototypes -DDEBUG=1 -DFLOATING_STACKS -Di386 -c -o main.o main.c main.c: In function `get_devmaps': main.c:237: warning: long unsigned int format, different type arg (arg 4) main.c:237: warning: long unsigned int format, different type arg (arg 5) main.c: In function `main': main.c:927: warning: implicit declaration of function `__clone' main.c:927: error: `CLONE_NEWNS' undeclared (first use in this function) main.c:927: error: (Each undeclared identifier is reported only once main.c:927: error: for each function it appears in.) make: *** [main.o] Error 1 So im using 0.2.5 version. There is any fix for this? im not very well c coder, so i tryed to change the pid varible assignament on 0.2.8 version from "pid = sys_clone(CLONE_NEWNS, 0);" to "pid = fork();" that compiled for me on 0.2.5 but when i started modified multipathd 0.2.8 daemon it removed mysteriously my /bin and /usr/bin, so i came back to 0.2.5. There is any workarround about this? im interested on new releases... Also i would like to know how i can change the spread policy by default, im using HP HSV100 arrays, wich must use "group_by_tur" defined on multipathd.conf and seems to be using "multibus" apache1:~/gfs/tmp/multipath-tools-0.2.5/multipathd# multipath -v # all paths : 600508b4000116370000a00000c00000 (0 0 1 1) /dev/sdb [HSV100 ] 600508b4000116370000a00000c00000 (1 0 1 1) /dev/sdd [HSV100 ] # all multipaths : 600508b4000116370000a00000c00000 \_(0 0 1 1) /dev/sdb [HSV100 ] \_(1 0 1 1) /dev/sdd [HSV100 ] # device maps : U:600508b4000116370000a00000c00000:0 209715200 multipath 1 round-robin 2 0 /dev/sdb /dev/sdd Please excuse me any mistakes, i dont use to work with SANs Thanks, Jaime. On Sun, 26 Sep 2004 00:14:23 +0200, christophe varoqui <christophe.varoqui@xxxxxxx> wrote: > Le samedi 25 septembre 2004 à 10:24 +0200, Bastian Blank a écrit : > > On Sat, Sep 25, 2004 at 02:24:09AM +0200, christophe varoqui wrote: > > > * [multipathd] include linux/unistd.h for _syscall2 > > > definition on RedHat systems. Remove superfluous > > > asm/unistd.h include > > > > Please don't use the _syscall macros. They describe a kernel interface > > which is not exported by the libc and should never directly used by > > applications. This usage also breaks on many architectures. Use the > > syscall library call for this. > > Yes, don't worry : this ChangeLog entry is overriden. I moved from > sys_clone to clone/clone2 just before releasing so there is no _syscall2 > user anymore. > > That said, kpartx, which is fork of util-linux' partx, still has an > offender-from-the-past (_lseek). If you want to contribute a patch ... > > > > regards, > -- > christophe varoqui <christophe.varoqui@xxxxxxx> > > -- > > dm-devel@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/dm-devel >