[xen-tools-discuss] Debian Wheezy - lvcreate exits with - failed with exit code 768 -

Helge Muehlmeier H_Muehlmeier at gmx.de
Tue Jan 6 12:14:44 CET 2015


Hello list,

I have a Wheezy server and want do create an ubuntu trusty server as domU.

I found some informations that I have to backport debootstrap and 
install a newer xen-tools4.5-1
manually.

http://xen-tools.org/pipermail/xen-tools-discuss/2014-April/001046.html

root at Debian-BXEN:/dev/xenimages# apt-cache policy xen-tools
xen-tools:
   Installiert:           4.5-1
   Installationskandidat: 4.5-1
   Versionstabelle:
  *** 4.5-1 0
         100 /var/lib/dpkg/status
      4.3.1-1 0
         500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages


root at Debian-BXEN:/dev/xenimages# apt-cache policy debootstrap
debootstrap:
   Installiert:           1.0.64~bpo70+1
   Installationskandidat: 1.0.64~bpo70+1
   Versionstabelle:
  *** 1.0.64~bpo70+1 0
         100 http://ftp.de.debian.org/debian/ wheezy-backports/main 
amd64 Packages
         100 /var/lib/dpkg/status
      1.0.48+deb7u1 0
         500 http://ftp.de.debian.org/debian/ wheezy/main amd64 Packages



Debian Wheezy has now debootstrap and xen-tools in newer versions but 
give an error while create a lvm-disk.

----------------------
root at Debian-BXEN:/dev/xenimages# xen-create-image --hostname=zentyal 
--size=20Gb --swap=1024Mb --memory=1024Mb --pygrub --dist trusty 
--fs=ext4 --netmask 255.255.255.0 --gateway 192.168.20.1 --ip 
192.168.20.252 --mirror=http://archive.ubuntu.com/ubuntu/ --lvm=xenimages

General Information
--------------------
Hostname       :  zentyal
Distribution   :  trusty
Mirror         :  http://archive.ubuntu.com/ubuntu/
Partitions     :  swap            1024Mb (swap)
                   /               20Gb  (ext4)
Image type     :  full
Memory size    :  1024Mb
Bootloader     :  pygrub

Networking Information
----------------------
IP Address 1   : 192.168.20.252 [MAC: 00:16:3E:65:1A:F4]
Netmask        : 255.255.255.0
Gateway        : 192.168.20.1

Running command 'lvcreate xenimages --yes -L 1024Mb -n zentyal-swap 
2>&1' failed with exit code 768.
Aborting
See /var/log/xen-tools/zentyal.log for details


Logfile produced at:
          /var/log/xen-tools/zentyal.log
root at Debian-BXEN:/dev/xenimages#
----------------------

In that log-file the following informations are given:

lvcreate: unrecognized option '--yes'
   Error during parsing of command line.
Running command 'lvcreate xenimages --yes -L 1024Mb -n zentyal-swap 
2>&1' failed with exit code 768.
Aborting

-----------------------

What todo now?

Greetings,
Helge




More information about the xen-tools-discuss mailing list