LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What makes the virtual machine device size high compared to bare metal (https://www.linuxquestions.org/questions/linux-newbie-8/what-makes-the-virtual-machine-device-size-high-compared-to-bare-metal-4175517341/)

sindh 09-04-2014 02:36 AM

What makes the virtual machine device size high compared to bare metal
 
I tried to clone the image on bare metal and Virtual machine using clonezilla.
Both the kernel size is same(Just differed by 1-2MB).
But the cloned image sizes varied with a difference of 300-400MB.

Please help me in pointing the difference that makes the vm image size high.

Your help is greatly appreciated!!

TenTenths 09-05-2014 06:09 AM

Compare the packages installed on both machines, compare any user data on the machines, any log files, etc. Depending on your VM and installation procedure you may find that different kernel modules are installed on the VM.

jefro 09-05-2014 04:13 PM

Are you saying that the kernel is 400mb different size from one to the other? Or do you mean something else.?

sindh 09-08-2014 12:32 AM

Quote:

Originally Posted by jefro (Post 5233018)
Are you saying that the kernel is 400mb different size from one to the other? Or do you mean something else.?

No, Both kernels are of equal size, and I don't have any additional user files in both machines.
And What I mean to say is, the cloned images of virtual machine and bare metal setup varied with difference of 400MB.

Soadyheid 09-08-2014 05:52 AM

Just a guess but I'd assume the virtual machine image would also have to contain some sort of configuration snapshot of the status of the host OS it's running on.

Whaja think?

Play Bonny!

:hattip:

TenTenths 09-08-2014 06:05 AM

What's the output of df on both the physical and virtual machines?


All times are GMT -5. The time now is 09:39 AM.