[ovirt-users] virtual machine actual size is not right

Pavol Brilla pbrilla at redhat.com
Fri Mar 23 10:45:47 UTC 2018


Hi

For such big difference between size outside of VM and inside, it looks
more that disk is not fully partioned.
df is providing you information only about mounted filesystems.
Could you try to run inside VM should match all local disks, and you should
see size of disk :
# parted -l /dev/[sv]d[a-z] | grep ^Disk

( Output of 1 of my VMs ):
# parted -l /dev/[sv]d[a-z] | grep ^Disk
Disk /dev/sda: 26.8GB
Disk Flags:
Disk /dev/mapper/rootvg-lv_tmp: 2147MB
Disk Flags:
Disk /dev/mapper/rootvg-lv_home: 210MB
Disk Flags:
Disk /dev/mapper/rootvg-lv_swap: 2147MB
Disk Flags:
Disk /dev/mapper/rootvg-lv_root: 21.8GB

So I see that VM has 26.8GB big disk.

On Thu, Mar 22, 2018 at 5:56 PM, Terry hey <recreationh at gmail.com> wrote:

> Hello~
> i type this command on the running vm, not the hypervisor ( ovirt node).
>



-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180323/b8354892/attachment.html>


More information about the Users mailing list