[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] KVM med base image



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-12-21 14:32, Kenni Lund wrote:
> 2010/12/21 Robert Larsen <sslug@sslug>:
>>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> On 2010-12-21 14:06, Kenni Lund wrote:
>>> Ok, prøv lige at poste den fulde dumpxml for NewServer.
>> <domain type='kvm'> <name>NewServer</name>
>
> Okay, det gav ikke så meget. Jeg kan kun komme i tanke om to ting
> nu: - Én eller flere baseimages er (delvist) korrupte. Prøv at lave
> tre helt nye og blanke images, et alm. og to -b baseret på
> hinanden...de behøver ikke at indholde noget, du skal bare se om
> image 3 kan boote. - Én eller flere baseimages er oprettet med en
> ældre version af qemu-img, hvor noget er inkompatibelt. Du kan evt.
> prøve at fejlrette/konvertere et image vha. qemu-img convert, hvor
> input er det gamle qcow2 image og output er et nyt qcow2 image..
>
> Jeg prøvede lige at teste et tilsvarende setup på min maskine, ved
> at lave et image base1.img baseret på et eksisterende image og så
> lave et nytVM.img baseret på base1.img. Det virkede fint
> (v0.13.0).
>
>
God idé, men det gav ikke noget :-(

robert-desktop:/var/lib/libvirt/images $ rm *
robert-desktop:/var/lib/libvirt/images $ kvm-img create -f qcow2
UbuntuServerBase.img 10G
Formatting 'UbuntuServerBase.img', fmt=qcow2 size=10737418240
encryption=off cluster_size=0
robert-desktop:/var/lib/libvirt/images $ kvm-img create -f qcow2 -b
/var/lib/libvirt/images/UbuntuServerBase.img UbuntuWebServerBase.img
Formatting 'UbuntuWebServerBase.img', fmt=qcow2 size=10737418240
backing_file='/var/lib/libvirt/images/UbuntuServerBase.img'
encryption=off cluster_size=0
robert-desktop:/var/lib/libvirt/images $ kvm-img create -f qcow2 -b
/var/lib/libvirt/images/UbuntuWebServerBase.img NewServer.img
Formatting 'NewServer.img', fmt=qcow2 size=10737418240
backing_file='/var/lib/libvirt/images/UbuntuWebServerBase.img'
encryption=off cluster_size=0
robert-desktop:/var/lib/libvirt/images $ ls -l
total 408
- -rw-r--r-- 1 root root 262144 2010-12-21 14:36 NewServer.img
- -rw-r--r-- 1 root root 262144 2010-12-21 14:35 UbuntuServerBase.img
- -rw-r--r-- 1 root root 262144 2010-12-21 14:36 UbuntuWebServerBase.img
robert-desktop:/var/lib/libvirt/images $ virsh start NewServer
error: Failed to start domain NewServer
error: internal error process exited while connecting to monitor: char
device redirected to /dev/pts/61
qemu: could not open disk image /var/lib/libvirt/images/NewServer.img:
Permission denied


robert-desktop:/var/lib/libvirt/images $ ls -l
total 408
- -rw-r--r-- 1 root         root 262144 2010-12-21 14:36 NewServer.img
- -rw-r--r-- 1 root         root 262144 2010-12-21 14:35
UbuntuServerBase.img
- -rw-r--r-- 1 libvirt-qemu kvm  262144 2010-12-21 14:36
UbuntuWebServerBase.img
robert-desktop:/var/lib/libvirt/images $ virsh start UbuntuWebServerBase
Domain UbuntuWebServerBase started

robert-desktop:/var/lib/libvirt/images $


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0Qrp8ACgkQzDMeisFqGZbmjQCgijfK/K5NHdDf99BWe4bGFbav
3u0AoL9xaoxsVfc52czZqE07KetSf665
=NdVi
-----END PGP SIGNATURE-----



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *