public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Inconsistent guest OS disk size compared to volume.img size
@ 2015-09-29  7:02 Jay Fishman
  2015-10-14  9:01 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Fishman @ 2015-09-29  7:02 UTC (permalink / raw)
  To: kvm

I  have looked all over the internet but I can not even find a
reference to this issue.


I have installed the following on Linux Mint 17.1
QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.19), Fabrice Bellard

On that, I have created a Ubuntu 14.04.3 LTS guest and created a
storage volume of 12.88GB. The format that I used was raw.

The host uses a physical mirrored drive and I did NOT use LVM (ext4
was the format type)

When installing the guest, I selected to "use entire disk" and again I
did NOT use LVM (ext4 was the format type)


After installation, the guest reports I am using 23.8% of 4.84GB. Why
is the disk size 4.84GB instead of 12.88GB?

The size of the guest virtual disk is being reduced by almost a third?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Inconsistent guest OS disk size compared to volume.img size
  2015-09-29  7:02 Inconsistent guest OS disk size compared to volume.img size Jay Fishman
@ 2015-10-14  9:01 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2015-10-14  9:01 UTC (permalink / raw)
  To: Jay Fishman; +Cc: kvm

On Tue, Sep 29, 2015 at 12:02:17AM -0700, Jay Fishman wrote:
> I  have looked all over the internet but I can not even find a
> reference to this issue.
> 
> 
> I have installed the following on Linux Mint 17.1
> QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.19), Fabrice Bellard
> 
> On that, I have created a Ubuntu 14.04.3 LTS guest and created a
> storage volume of 12.88GB. The format that I used was raw.
> 
> The host uses a physical mirrored drive and I did NOT use LVM (ext4
> was the format type)
> 
> When installing the guest, I selected to "use entire disk" and again I
> did NOT use LVM (ext4 was the format type)
> 
> 
> After installation, the guest reports I am using 23.8% of 4.84GB. Why
> is the disk size 4.84GB instead of 12.88GB?
> 
> The size of the guest virtual disk is being reduced by almost a third?

If you still need help with this, please provide the following
information:

1. Output of "fdisk -lu /dev/vda" and "df -h /" from inside the guest.

   You may need to adjust the block device path if the root file system
   isn't on the first virtio-blk device (e.g. /dev/vdb or /dev/sda).

2. Output of "stat disk.img" from the host, where "disk.img" is the
   filename.

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-14 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29  7:02 Inconsistent guest OS disk size compared to volume.img size Jay Fishman
2015-10-14  9:01 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox