Displaying 20 results from an estimated 25 matches for "vmimages".
Did you mean:
kvmimages
2018 Jan 30
4
Create qcow2 v3 volumes via libvirt
Hi all,
on a fully patched CentOS 7.4 x86-64, I see the following behavior:
- when creating a new volumes using vol-create-as, the resulting file is
a qcow2 version 2 (compat=0.10) file. Example:
[root@gdanti-lenovo vmimages]# virsh vol-create-as default zzz.qcow2
8589934592 --format=qcow2 --backing-vol /mnt/vmimages/centos6.img
Vol zzz.qcow2 created
[root@gdanti-lenovo vmimages]# file zzz.qcow2
zzz.qcow2: QEMU QCOW Image (v2), has backing file (path
/mnt/vmimages/centos6.img), 8589934592 bytes
[root@gdanti-lenovo vm...
2018 Apr 30
0
Re: Create qcow2 v3 volumes via libvirt
Il 30-01-2018 13:17 Gionatan Danti ha scritto:
> Hi all,
> on a fully patched CentOS 7.4 x86-64, I see the following behavior:
>
> - when creating a new volumes using vol-create-as, the resulting file
> is a qcow2 version 2 (compat=0.10) file. Example:
>
> [root@gdanti-lenovo vmimages]# virsh vol-create-as default zzz.qcow2
> 8589934592 --format=qcow2 --backing-vol /mnt/vmimages/centos6.img
> Vol zzz.qcow2 created
> [root@gdanti-lenovo vmimages]# file zzz.qcow2
> zzz.qcow2: QEMU QCOW Image (v2), has backing file (path
> /mnt/vmimages/centos6.img), 8589934592 bytes...
2015 Mar 15
3
how to get disk snapshot size
Hi,guys
I wanna to get the disk snapshot size, but found nothing libvirt commands
related,except qemu-img.
I create two disk snapshots, but nothing return its' size
[root@cskvm01 qcow2]# qemu-img info
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
image:
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
file format: qcow2
virtual
2015 May 09
5
KVM Questions
I have a system with two CentOS 7.1 guests. When I created the VMs I did
not have enough storage space in the default location
/var/lib/libvirt/images so I moved the default location to a directory
/home/vmimages. While this configuration is functional I regret creating
a new storage pool in /home. I would like to create a separate partition
to place the VM images removing them from their present /home/images
location. The /home partition is presently empty other than the VM
images directory so I can ea...
2014 Jun 15
2
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
Hi,
Thanks Kashyap for your answer.
I am trying to give more data:
virt-install invokation:
# virt-install --name eff1 --disk /home/kvmimages/eff1.img --cdrom
/home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 4096
WARNING CDROM media does not print to the text console by default, so
you likely will not see text install output. You might want to use
--location.
Début d'installation...
ERROR internal error: process exited whil...
2015 Mar 16
0
Re: how to get disk snapshot size
...virsh domblklist cirrvm
Target Source
------------------------------------------------
hda /var/lib/libvirt/images/cirros-0.3.3-x86_64-disk.img
Create a 'disk-only' external snapshot:
$ virsh snapshot-create-as --domain cirrvm snap1 \
--diskspec vda,file=/export/vmimages/sn1.qcow2 \
--disk-only --atomic
List again the current active block device:
$ virsh domblklist cirrvm
Target Source
------------------------------------------------
hda /export/vmimages/sn1.qcow2
Get info about the disks involved:
$ qemu-img info --backing-chain...
2018 May 01
1
Re: Create qcow2 v3 volumes via libvirt
...i wrote:
> > Hi all,
> > on a fully patched CentOS 7.4 x86-64, I see the following behavior:
> >
> > - when creating a new volumes using vol-create-as, the resulting file is
> a
> > qcow2 version 2 (compat=0.10) file. Example:
> >
> > [root@gdanti-lenovo vmimages]# virsh vol-create-as default zzz.qcow2
> > 8589934592 --format=qcow2 --backing-vol /mnt/vmimages/centos6.img
> > Vol zzz.qcow2 created
>
> Yes, for sake of backcompat we default to v2 unless something
> requires v3. You can't use vol-create-as to create a v3 image,
> yo...
2014 Jun 15
0
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
On Sun, Jun 15, 2014 at 10:27:12AM +0300, Patrick Chemla wrote:
[. . .]
> I adapted your commands to my conf:
>
> # qemu-img create -f qcow2 -o preallocation=metadata /home/kvmimages/f20vm
> 4G
> Formatting '/home/kvmimages/f20vm', fmt=qcow2 size=4294967296 encryption=off
> cluster_size=65536 preallocation='metadata' lazy_refcounts=off
> # virt-install --name f20vm --disk /home/kvmimages/f20vm --cdrom
> /home/kvmimages/Fedora-20-x86_64-DVD.iso --m...
2013 Dec 02
2
Virsh snapshots
Hello,
I am working on my PhD thesis and it would be really helpfull if someone
could advise me, whether can Virsh create snapshots of VMs using
copy-on-write.
Thanks for reply.
Juraj
2014 Feb 12
3
Debugging nested KVM guest (L2) booting with libguestfs/gdb
...n `qemu-sanity-check` in L1 -- Of course, this fails too.
- Invoke (from a different shell, as root) QEMU directly with gdb
debugging options -s -S with KVM on L1:
$ qemu-system-x86_64 -s -S -nographic -nodefconfig \
-nodefaults -machine accel=kvm -m 4000 \
-drive file=/home/tuser1/vmimages/fedora-20.qcow2,if=ide,format=qcow2,cache=none \
-serial stdio
Result: Just hung there.
Tru with TCG:
$ qemu-system-x86_64 -s -S -nographic -nodefconfig \
-nodefaults -machine accel=tcg -m 4000 \
-drive file=/home/tuser1/vmimages/fedora-20.qcow2,if=ide,format=qcow2,cache=no...
2014 Jun 15
2
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
Thanks for your interest.
Here are the dir/files permissions for the kvmimages dir:
# ls -ld /home /home/kvmimages /home/kvmimages/*
drwxr-xr-x. 4 root root 4096 14 juin 23:05 /home
drwxrwxrwx 2 root root 4096 15 juin 09:19 /home/kvmimages
-rw-rw-rwx 1 root root 12884901888 14 juin 23:07 /home/kvmimages/eff1.img
-rw-rw-rwx 1 root root 12884901888 14 juin...
2018 May 01
0
Re: Create qcow2 v3 volumes via libvirt
...at 01:17:21PM +0100, Gionatan Danti wrote:
> Hi all,
> on a fully patched CentOS 7.4 x86-64, I see the following behavior:
>
> - when creating a new volumes using vol-create-as, the resulting file is a
> qcow2 version 2 (compat=0.10) file. Example:
>
> [root at gdanti-lenovo vmimages]# virsh vol-create-as default zzz.qcow2
> 8589934592 --format=qcow2 --backing-vol /mnt/vmimages/centos6.img
> Vol zzz.qcow2 created
Yes, for sake of backcompat we default to v2 unless something
requires v3. You can't use vol-create-as to create a v3 image,
you need to use the XML input....
2015 May 09
0
KVM Questions
On 9 May 2015 04:29, "Paul R. Ganci" <ganci at nurdog.com> wrote:
>
> I have a system with two CentOS 7.1 guests. When I created the VMs I did
not have enough storage space in the default location
/var/lib/libvirt/images so I moved the default location to a directory
/home/vmimages. While this configuration is functional I regret creating a
new storage pool in /home. I would like to create a separate partition to
place the VM images removing them from their present /home/images location.
The /home partition is presently empty other than the VM images directory
so I can easily...
2016 May 19
1
libvirt equivalent for VMWare for SCSI mode = independent-persistent?
...type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
</controller>
Disk:
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/home/VM/VMImages/IOFencing1.img'/>
<target dev='sda' bus='scsi'/>
<shareable/>
<alias name='scsi0-0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
2014 Jun 15
0
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
...rror('virDomainCreateLinux() failed',
> conn=self)
> libvirtError: internal error: process exited while connecting to monitor:
> Failed to create chardev
>
>
> When tyring to create new VM with virt-install, I am getting:
>
> virt-install --name eff1 --disk /home/kvmimages/eff1.img --cdrom
> /home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 4096B
> ERROR Error: --memory 4096B: invalid literal for int() with base 10:
> '4096B'
This is an invalid invocation.
> [root@eff1 kvmimages]# virt-install --name eff1 --disk
> /home/kvmimages/eff1.img...
2012 Dec 27
8
how well will this work
Hi Folks,
I find myself trying to expand a 2-node high-availability cluster from
to a 4-node cluster. I'm running Xen virtualization, and currently
using DRBD to mirror data, and pacemaker to failover cleanly.
The thing is, I'm trying to add 2 nodes to the cluster, and DRBD doesn't
scale. Also, as a function of rackspace limits, and the hardware at
hand, I can't separate
2014 Jun 15
2
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
...nux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error: process exited while connecting to
monitor: Failed to create chardev
When tyring to create new VM with virt-install, I am getting:
virt-install --name eff1 --disk /home/kvmimages/eff1.img --cdrom
/home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 4096B
ERROR Error: --memory 4096B: invalid literal for int() with base 10:
'4096B'
[root@eff1 kvmimages]# virt-install --name eff1 --disk
/home/kvmimages/eff1.img --cdrom
/home/kvmimages/Fedora-20-x86_64-DVD.iso --m...
2015 May 09
2
KVM Questions
On 05/08/2015 11:41 PM, James Hogarth wrote:
> was wondering if this procedure might work to do what I desire:
>
> 1.) Shutdown the VMs
> 2.) Archive the VM image directory /home/vmimages to a network drive
> 3.) Use parted or fdisk to delete present /home partition
> 4.) Use parted or fdisk to re-create smaller/home partition and new vm-images
> 5.) Create XFS file system on /home and /vm-images
> 6.) Extact VM image directory archive into /vm-images
> 7.) Use virt-m...
2014 Jun 15
0
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
Hi,
It it can help, I run virt-install with -d option
# virt-install --name f20vm --disk /home/kvmimages/f20vm --cdrom
/home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 2048 -d
[dim., 15 juin 2014 10:45:15 virt-install 9074] DEBUG (cli:187) Launched
with command line: /usr/share/virt-manager/virt-install --name f20vm
--disk /home/kvmimages/f20vm --cdrom
/home/kvmimages/Fedora-20-x86_64-DVD.iso --m...
2013 May 14
1
guestfish runs w/ a nested guest
# Ref: http://libguestfs.org/guestfs-performance.1.html
Run the below command:
$ time guestfish -a /dev/null run
NOTE: Discard the first few results, to get a hot cache. (Thanks Rich.)
1/ L0. with L1 running.
----------------------------------------------------------------------
$ for i in {1..10}; do time guestfish -a /dev/null run; done
real 0m28.277s
user 0m11.028s