[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. While creating centOS DomU on Dom0


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Mon, 17 May 2010 12:53:56 +0530
  • Delivery-date: Mon, 17 May 2010 00:25:16 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=a2ciz/D4naYBolW1EB7eVU7z7tDTTaczT18z/3zRlxwtnW3f0YKe4zLySWaY3Uxjli rDY8UTlfRwB1M9yQRLzFY4bOfg7qNGIHLbqHIa/qij70pp3ueliUIhgxFSAkZeyx+ATs V0GL5pH5T5v4pGtw4kh6TxDtB+PQTHOrF9KaA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I tried to create CentOS DomU on Debian Lenny
and got the error
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working.
Saw a method given here
http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen

Step 1
wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/vmlinuz -O
/boot/vmlinuz-xen-install
wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/initrd.img
-O /boot/initrd-xen-install

Step 2

Downloaded
http://www.grantmcwilliams.com/files/minimal-ks-x86_64.cfg
kept a copy to my local apache root
modified it
It looks like
-----------------------------------------------------------------------------------
install
url --url http://localhost/centos
lang en_US.UTF-8
network --device eth2 --bootproto static
# Bogus password, change to something sensible!
rootpw something
firewall --enabled --port=
authconfig --enableshadow --enablemd5
selinux --enforcing ?~H~R?~H~Rport=22:tcp
timezone --utc Asia/Kolkata
#bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
reboot

# Partitioning
clearpart --all --initlabel --drives=xvda
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=my_os-root --vgname=vg --size=98304 --grow
logvol swap --fstype swap --name=my_os-swap --vgname=vg --size=2048
--grow --maxsize=2048

%packages
@core
-----------------------------------------------------------------------------------

I have already created to logical volumes my_os-root and my_os-swap
98Gb and 2 GB in size.

On local webserver centos is a softlink to locally mounted cdrom

Step 3.
Created a centos5.cfg file it has following contents


-----------------------------------------------------------------------------------
kernel = "/boot/vmlinuz-xen-install"
ramdisk = "/boot/initrd-xen-install"
extra = "text ks=http://localhost/minimal-ks-x86_64.cfg";
name = "centos5"
memory = "1024"
root = '/dev/xvda ro'

disk        = [
                  'phy:/dev/vg/my_os-swap,xvda1,w',
                  'phy:/dev/vg/my_os-disk,xvda2,w',
              ]

vif = [ 'bridge=eth2', ]

vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'

-----------------------------------------------------------------------------------
Then issued
xm create -c centos5.cfg
but after some time got an error
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not
working. While creating centOS DomU on Dom0

What should I do now ?
I am trying to create a CentOS DomU
 on Debian Lenny Amd 64 bit.


-- 
Tapas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.