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

Terry hey recreationh at gmail.com
Tue Mar 27 07:02:18 UTC 2018


Hello, thank you for helping me.

On the storage domain size:
Alias: host1
Disk: 1
Template: Blank
Virtual Size: 30 GB
Actual Size: 13 GB
Creation Date: Jan 29,2018 11:22:54 AM

On the server size:
# df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/vg01-root     10G  7.2G  2.9G  72% /
devtmpfs                 1.9G     0  1.9G   0% /dev
tmpfs                    1.9G  4.0K  1.9G   1% /dev/shm
tmpfs                    1.9G   17M  1.9G   1% /run
tmpfs                    1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/sda1               1014M  188M  827M  19% /boot
/dev/mapper/vg01-var      15G  996M   15G   7% /var
XXX.XXX.XXX.XXX:/nfs_share  249G   96G  141G  41% /mnt/nfs_share
tmpfs                    379M     0  379M   0% /run/user/0

# parted -l /dev/[sv]d[a-z] | grep ^Disk
Disk /dev/sda: 32.2GB
Disk Flags:
Disk /dev/mapper/vg01-var: 16.1GB
Disk Flags:
Disk /dev/mapper/vg01-swap: 2147MB
Disk Flags:
Disk /dev/mapper/vg01-root: 10.7GB
Disk Flags:
#

It still not the same. Also, do you know the upper limitation for thin
provision?
For example, if i allocated 30 GB to the hosts, what is the upper
limitation that the host can use?

Regards,
Terry

2018-03-23 18:45 GMT+08:00 Pavol Brilla <pbrilla at redhat.com>:

> 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/20180327/dd20c58b/attachment.html>


More information about the Users mailing list