<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><div class="gmail_default" style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-family:monospace,monospace">just small note why size of disk differs between ovirt and system:</div><div class="gmail_default" style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-family:monospace,monospace"><br></div><div class="gmail_default" style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-family:monospace,monospace">30G in ovirt = 30*1024*1024*1024 bytes = 32212254720 bytes = 32.2GB which you see in parted output</div><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I dont know that much about storage to help with it and I can only cite from oVirt webpages[1]:</div><div class="gmail_default"><font face="monospace, monospace">Thin Provision allocates 1 GB at the time the virtual disk is created and sets a maximum limit on the size to which the disk can grow. The virtual size of the disk is the maximum limit; the actual size of the disk is the space that has been allocated so far. Thinly provisioned disks are faster to create than preallocated disks and allow for storage over-commitment. Thinly provisioned virtual disks are recommended for desktops.</font><br></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">[1] <a href="https://www.ovirt.org/documentation/admin-guide/chap-Virtual_Machine_Disks/">https://www.ovirt.org/documentation/admin-guide/chap-Virtual_Machine_Disks/</a></font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 27, 2018 at 9:02 AM, Terry hey <span dir="ltr"><<a href="mailto:recreationh@gmail.com" target="_blank">recreationh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, thank you for helping me.<div><br></div><div><div>On the storage domain size:</div><div>Alias: host1</div><div>Disk: 1</div><div>Template: Blank</div><div>Virtual Size: 30 GB</div><div>Actual Size: 13 GB</div><div>Creation Date: Jan 29,2018 11:22:54 AM</div><div><br></div><div>On the server size:</div><div># df -h</div><div>Filesystem Size Used Avail Use% Mounted on</div><div>/dev/mapper/vg01-root 10G 7.2G 2.9G 72% /</div><div>devtmpfs 1.9G 0 1.9G 0% /dev</div><div>tmpfs 1.9G 4.0K 1.9G 1% /dev/shm</div><div>tmpfs 1.9G 17M 1.9G 1% /run</div><div>tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup</div><div>/dev/sda1 1014M 188M 827M 19% /boot</div><div>/dev/mapper/vg01-var 15G 996M 15G 7% /var</div><div>XXX.XXX.XXX.XXX:/nfs_share 249G 96G 141G 41% /mnt/nfs_share</div><div>tmpfs 379M 0 379M 0% /run/user/0</div><span class=""><div><br></div><div># parted -l /dev/[sv]d[a-z] | grep ^Disk</div></span><div>Disk /dev/sda: 32.2GB</div><div>Disk Flags:</div><div>Disk /dev/mapper/vg01-var: 16.1GB</div><div>Disk Flags:</div><div>Disk /dev/mapper/vg01-swap: 2147MB</div><div>Disk Flags:</div><div>Disk /dev/mapper/vg01-root: 10.7GB</div><div>Disk Flags:</div><div>#</div></div><div><br></div><div>It still not the same. Also, do you know the upper limitation for thin provision?</div><div>For example, if i allocated 30 GB to the hosts, what is the upper limitation that the host can use?</div><div><br></div><div>Regards,</div><div>Terry</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 18:45 GMT+08:00 Pavol Brilla <span dir="ltr"><<a href="mailto:pbrilla@redhat.com" target="_blank">pbrilla@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><font face="monospace, monospace">Hi</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">For such big difference between size outside of VM and inside, it looks more that disk is not fully partioned.</font></div><div class="gmail_default"><span style="font-family:monospace,monospace">df is providing you information only about mounted filesystems.</span><br></div><div class="gmail_default"><span style="font-family:monospace,monospace">Could you try to run inside VM </span><span style="font-family:monospace,monospace">should match all local disks, and you should see size of disk :</span></div><div class="gmail_default"><span style="font-family:monospace,monospace"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"># parted -l /dev/[sv]d[a-z] | grep ^Disk</span><br></span></div><div class="gmail_default"><span style="font-family:monospace,monospace"><br></span></div><div class="gmail_default"><span style="font-family:monospace,monospace"><span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">( Output of 1 of my VMs ):</span><br></span></div><div class="gmail_default"><span style="font-family:monospace,monospace"># parted -l /dev/[sv]d[a-z] | grep ^Disk</span><br></div><div class="gmail_default"><span style="font-family:monospace,monospace"><div class="gmail_default">Disk /dev/sda: 26.8GB<br></div><div class="gmail_default"><div class="gmail_default">Disk Flags: </div><div class="gmail_default">Disk /dev/mapper/rootvg-lv_tmp: 2147MB</div><div class="gmail_default">Disk Flags: </div><div class="gmail_default">Disk /dev/mapper/rootvg-lv_home: 210MB</div><div class="gmail_default">Disk Flags: </div><div class="gmail_default">Disk /dev/mapper/rootvg-lv_swap: 2147MB</div><div class="gmail_default">Disk Flags: </div><div class="gmail_default">Disk /dev/mapper/rootvg-lv_root: 21.8GB</div><div><br></div></div><div>So I see that VM has 26.8GB big disk.</div></span></div></div><div class="gmail_extra"><span><br><div class="gmail_quote">On Thu, Mar 22, 2018 at 5:56 PM, Terry hey <span dir="ltr"><<a href="mailto:recreationh@gmail.com" target="_blank">recreationh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello~<div>i type this command on the running vm, not the hypervisor ( ovirt node).</div></div>
</blockquote></div><br><br clear="all"><div><br></div></span><span>-- <br><div class="m_-7258361242586669630m_-3633811943893326817gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAVOL</span> <span>BRILLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>RHV QUALITY ENGINEER, CLOUD</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank"><font color="#0088ce"><span>Red Hat</span></font><font color="#0088ce"><span> </span></font><span style="color:rgb(0,136,206);margin:0px">Czech Republic, Brno</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div>
</span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAVOL</span> <span>BRILLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>RHV QUALITY ENGINEER, CLOUD</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank"><font color="#0088ce"><span>Red Hat</span></font><font color="#0088ce"><span> </span></font><span style="color:rgb(0,136,206);margin:0px">Czech Republic, Brno</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div>
</div>