Am 31.03.2011 um 10:55 schrieb Matthias Böttcher:
The file /etc/xen/scripts/hotplugpath.sh is missing in
xen-utils-common_4.0.0-1_all.deb and it contains:
SBINDIR="/usr/sbin"
BINDIR="/usr/bin"
LIBEXEC="/usr/lib/xen/bin"
LIBDIR="/usr/lib64"
SHAREDIR="/usr/share"
PRIVATE_BINDIR="/usr/lib64/xen/bin"
XENFIRMWAREDIR="/usr/lib/xen/boot"
XEN_CONFIG_DIR="/etc/xen"
XEN_SCRIPT_DIR="/etc/xen/scripts"
With this I still get
root@xen09:/etc/xen/scripts# xm create /etc/xen/drbdtest.cfg
Using config file "/etc/xen/drbdtest.cfg".
Error: The file "" is already used
The message is from:
root@xen09:/usr/lib/xen-4.0# grep -ri 'is already used' .
Binary file ./lib/python/xen/xend/XendConfig.pyc matches
./lib/python/xen/xend/XendConfig.py: raise
XendConfigError('The file "%s" is already used' %
OK, it's not a 64-bit system;-)
But it's the same with:
root@xen09:/etc/xen/scripts# cat hotplugpath.sh
#!/bin/bash
#
# CAUTION: this script is manually created
# see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591456
# it should go away with xen-common 4.1.0~rc6-1
#
SBINDIR="/usr/sbin"
BINDIR="/usr/bin"
#LIBEXEC="/usr/lib/xen/bin"
LIBEXEC="/usr/lib/xen-4.0/bin"
#LIBDIR="/usr/lib64"
LIBDIR="/usr/lib"
SHAREDIR="/usr/share"
#PRIVATE_BINDIR="/usr/lib64/xen/bin"
PRIVATE_BINDIR="/usr/lib/xen-4.0/bin"
#XENFIRMWAREDIR="/usr/lib/xen/boot"
XENFIRMWAREDIR="/usr/lib/xen-4.0/boot"
XEN_CONFIG_DIR="/etc/xen"
XEN_SCRIPT_DIR="/etc/xen/scripts"
You can create /etc/xen/scripts/hotplugpath.sh manually or maybe
install xen-utils-common (4.1.0~rc6-1) from unstable.
OK, I will try unstable.
2011/1/17 Bruno Voigt <[email protected]>:
I can start the DomU if a change the domU cfg
from
disk = [ 'drbd:bldlenny32-disk,xvda2,w', 'drbd:bldlenny32-
swap,xvda1,w']
to
disk = [ 'phy:/dev/drbd/by-res/bldlenny32-disk,xvda2,w',
'phy:/dev/drbd/by-res/bldlenny32-swap,xvda1,w']
and of course then having to manually changing the DRBD ressource
states
to primary before start:
drbdadm primary bldlenny32-disk bldlenny32-swap
Hmm ... does it mean, it will not work pretty with pacemaker?
Helmut Wollmersdorfer
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user