LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-30-2011, 05:15 AM   #1
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Rep: Reputation: 0
Storage and backup considerations using kvm on Cent OS 6.0


Hi,

Some very newbie questions.

I have to move an old SCO-Unix server to a Cent OS 6.0 guest on a Cent OS 6.0 Host.
The space used on the SCO is 65 GB.

How shall i plan the storage ?
Make an image based guest of 100 GB an install on that ?
Or is LVM based better regarding performance ?
Should i allocate 100GB or 200 GB ? What is best ?

What about backup ? Should i take backup from the guest with tar/cpio or backup of the image file on the host ?

What is the preferable ?

Regards Thomas.
 
Old 10-02-2011, 10:36 AM   #2
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi Thomas

IMHO, the easiest way is by using tools like "dd" to create the whole disk image of your SCO installation and use that image for your guest disk. CloneZilla, a live Linux CD, could automate such work.

Regarding backups, it's up to you. Many people use "tar", but lately rsync is a popular choice too. Full image backup is a safe choice, but that takes really big space, especially if you don't compress it.
 
Old 10-03-2011, 02:03 AM   #3
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Hi, thanks.

Well, of-course we use rsync now-a-days.

But still concerning storage, I 'm in doubt if image files if slower than LVM-volumes...

Is it best to let the storage extend dynamically ?

Thomas
 
Old 10-04-2011, 01:36 PM   #4
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi Thomas....

Pardon me, maybe I don't really understand your question. Slower in what term?
 
Old 10-05-2011, 01:01 AM   #5
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
I'm talking performance for the guest.

Is performance faster using LVM than image file in the host filesystem ?
 
Old 10-05-2011, 02:57 AM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
There are benchmarks showing very little difference in terms of i/o performance between a lv backed virtual disk and a image file backed virtual disk. I expect the file system used will be a factor, as will fragmentation. Google for the benchmarks.

If you decide to use an image file, I would use a fixed sized image rather than a dynamically growing one to prevent over committing your disk space in the future.
 
Old 10-06-2011, 01:24 PM   #7
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi Thomas

Quote:
Originally Posted by ThomasRonshof View Post
I'm talking performance for the guest.

Is performance faster using LVM than image file in the host filesystem ?
I have no data in hand, so the following idea is entirely based on my guess:
just like Phil said, I think it's about the same (LVM based vs image file based). The key here I believe is more on which filesystem you use, both the one you use to format image file and the one that act as a host (in case of image file).

One thing that might speed up the access is that try to use extent based filesystem whenever possible, such as ext4 or JFS. Extent is a nice way to reduce fragmentation, reading as many as you can in one go.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM and shared storage issues. ivandrago Linux - Server 3 10-01-2011 01:33 AM
Hypervisor (VMware and KVM) Shared Storage timd Linux - Virtualization and Cloud 2 03-14-2011 08:59 AM
kvm bridge on cent os question riegersteve Linux - Virtualization and Cloud 1 07-14-2010 01:43 PM
[SOLVED] virtualized datacenter solution considerations on storage chakoshi Linux - Virtualization and Cloud 7 05-02-2010 02:21 PM
LXer: Top considerations for implementing secure backup and recovery LXer Syndicated Linux News 0 11-21-2007 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:34 PM.

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