Hmm. No idea what your compilation error is, but it's in a bit that is only 
required for VSS snapshots (snapshot with quiesce) of windows VMs. You can 
ignore snapwatchd if you don't use that feature.

However, take care if you're using shared LVM - we have for a long time relied 
upon patches to LVM to work correctly, particularly in the shared SR case. 
There has been some work done recently to remove the need for these patches, 
but I don't know whether this has all been pushed yet.

Jon

Sent from my iPad

On 22 Aug 2013, at 09:35, "Sayid Munawar" 
<a...@freebsd.or.id<mailto:a...@freebsd.or.id>> wrote:

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 ?


*1) http://dev.centos.org/centos/6/xen-c6/SRPMS/
*2) https://github.com/xapi-project/xen-api-rpm-buildroot


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

Transaction Check Error:
  file /usr/lib64/ocaml/xenstore/xenstore.a conflicts between attempted 
installs of ocaml-xenstore-devel-1.2.1-1.x86_64 and 
xen-ocaml-devel-4.2.2-23.el6.x86_64
  file /usr/lib64/ocaml/xenstore/xenstore.cmxa conflicts between attempted 
installs of ocaml-xenstore-devel-1.2.1-1.x86_64 and 
xen-ocaml-devel-4.2.2-23.el6.x86_64

2. there is some error when installing xenopsd-libvirt, but i don't know what 
the effect
  Installing : xenopsd-libvirt-0.9.21-1.x86_64                                  
                                                                                
          125/261
Non-fatal POSTIN scriptlet failure in rpm package 
xenopsd-libvirt-0.9.21-1.x86_64
error reading information on service xenopsd-libvirt: No such file or directory
warning: %post(xenopsd-libvirt-0.9.21-1.x86_64) scriptlet failed, exit status 1



--
Sayid Munawar
Sent with Sparrow<http://www.sparrowmailapp.com/?sig>

_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org<mailto:Xen-api@lists.xen.org>
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to