Displaying 8 results from an estimated 8 matches for "domblkinfo".
2019 Jul 29
2
virsh command to list CPU,Memory and Storage
Hi,
Is there a way to find out total CPU's, Memory and Storage using virsh
command? For example virsh list --all list out all VM's
11 dockerregistry01 running
12 gitlab running
Any help will be highly appreciated. Thanks in Advance.
Best Regards,
Kaushal
2016 Sep 03
2
Re: internal snapshot question
...ain. If --inactive is specified, query the block devices that will be used on
> the next boot, rather than those currently in use by a running domain. If
> --details is specified, disk type and device value will also be printed. Other
> contexts that require a block device name (such as domblkinfo or snapshot-create
> for disk snapshots) will accept either target or unique source names printed by
> this command.
>
> > is that how it is meant to be?
>
> Well, yeah (if the above is really what you wanted to run)...
>
> > ______________________________________...
2016 Sep 03
2
internal snapshot question
I take an internal snapshot (VM is 'shutdown' when taking it) of a qcow2 image like this:
$ qemu-img snapshot -c sn1 [my_image].qcow2
I see that snapshot when asking for:
$ qemu-img info [my_image].qcow
but do NOT see it with:
$ virsh domblklist [my_domain]
is that how it is meant to be?
2016 Sep 03
0
Re: internal snapshot question
...domain. If --inactive is specified, query the block devices that will be used on
the next boot, rather than those currently in use by a running domain. If
--details is specified, disk type and device value will also be printed. Other
contexts that require a block device name (such as domblkinfo or snapshot-create
for disk snapshots) will accept either target or unique source names printed by
this command.
>is that how it is meant to be?
>
Well, yeah (if the above is really what you wanted to run)...
>_______________________________________________
>libvirt-users mai...
2016 Sep 03
0
Re: internal snapshot question
...ive is specified, query the block devices that will be used on
> > the next boot, rather than those currently in use by a running domain. If
> > --details is specified, disk type and device value will also be printed. Other
> > contexts that require a block device name (such as domblkinfo or snapshot-create
> > for disk snapshots) will accept either target or unique source names printed by
> > this command.
> >
> > > is that how it is meant to be?
> >
> > Well, yeah (if the above is really what you wanted to run)...
> >
> > >...
2019 Jul 30
0
Re: virsh command to list CPU,Memory and Storage
...highly appreciated. Thanks in Advance.
>
> Best Regards,
>
> Kaushal
Hi,
have a look at dominfo command, that will give you basic information about the
guest, that however, doesn't include storage. For storage, you'd want to use a
sequence of commands: domblklist <domain>;domblkinfo <domain> <disk> --human.
Regards,
Erik
2013 Sep 14
1
Re: Regarding libvirt usage
Hi Adam,
Thanks for the reply.
qemu-img info /VirtualMachines/KVM/machine.qcow2****
image: /VirtualMachines/KVM/machine.qcow2****
file format: qcow2****
virtual size: 250G (268435456000 bytes)****
disk size: 174G**
cluster_size: 65536
How can i do this from remote host using libvirt module ? Started using and
learning libvirt so dont know how to execute it . Thanks in
2016 Feb 16
1
bug in Libvirt(-python)?
Hi,
I've noticed that the capacity of the disk in one of my VMs is
completely wrongly reported by the python api. The image was transfered
using scp but the transfer was aborted and now the api show a strange value:
[root@virt83 ~]# du -h /var/lib/libvirt/images/test-disk1
706M /var/lib/libvirt/images/test-disk1
[root@virt83 ~]# ls -lh /var/lib/libvirt/images/test-disk1
-rw-r--r--. 1 root