LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2014, 02:36 AM   #1
sindh
LQ Newbie
 
Registered: Aug 2014
Posts: 28

Rep: Reputation: Disabled
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!!

Last edited by sindh; 09-04-2014 at 06:26 AM.
 
Old 09-05-2014, 06:09 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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.
 
Old 09-05-2014, 04:13 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Are you saying that the kernel is 400mb different size from one to the other? Or do you mean something else.?
 
Old 09-08-2014, 12:32 AM   #4
sindh
LQ Newbie
 
Registered: Aug 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
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.
 
Old 09-08-2014, 05:52 AM   #5
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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!


Last edited by Soadyheid; 09-08-2014 at 05:53 AM. Reason: spelling!
 
Old 09-08-2014, 06:05 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
What's the output of df on both the physical and virtual machines?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install kvm bare metal slowerogue Linux - Newbie 3 11-26-2012 04:12 AM
Bare metal restore for DR in 2012 prowla Linux - General 11 03-20-2012 02:03 AM
bare metal backup for HP-UX 11i v3? h@foorsa.biz Other *NIX 1 04-16-2010 08:34 AM
bare metal backup for HP-UX 11i v3? h@foorsa.biz Other *NIX 2 04-15-2010 05:40 PM
Can I do a Bare Metal Restore? bob151 Linux - Software 1 04-14-2005 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration