[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] compiling storage managers (sm) to support LVM SR on vanilla centos + xenapi
Hi,
The situation here is that i have an old LSI (megasr) fakeraid card. it forced me to use kernel 2.6.32, because XCP/xenserver's default kernel can't detect my harddrive, even after i've compiled the driver using its DDK. so i have to build xenserver from scratch from vanilla centos 6 (ouch). i've managed to compile xen 4.2.2 (*1) and xen-api using rpms built by xen-api-rpm-buildroot(*2) the problem is, i think the LVM SR Driver is not compiled in. so, how to add them? i found the its repo in https://github.com/xapi-project/sm, but as its readme said, it can't be compiled using "make && make install" as usual. cc -O2 -I/usr/include/python2.6/ -I/usr/include -shared xslib.o xslib_wrap.o -lxenstore -o _xslib.so /usr/bin/ld: xslib.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC xslib.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [_xslib.so] Error 1 make[1]: Leaving directory `/home/ayik/sm/snapwatchd' make: *** [install] Error 2 any clue how to compile xen-api SM ? and then of course how to configure it so that we can create LVM SR ? PS: just share some experience when building rpms from xen-api-rpm-buildroot: 1. the xen-ocaml* spec are overlapping with ocaml-xen-lowlevel-libs-* (plase see errors below). both are trying to install the same target
2. there is some error when installing xenopsd-libvirt, but i don't know what the effect
-- Sayid Munawar Sent with Sparrow _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |