| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-17-2014, 06:12 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2013
Posts: 22
Rep: 
|
Thin provisioning disk space in KVM
I have a couple of KVM nodes with 4xSATA drives in RAID10, which I am using as a VPS node. I have a LVM set up, and I am using SolusVM for the nodes. There's already 30 VPSes each on the nodes, so I can not reformat the node, rebooting it is going to be emotionally hurtful, and I can not format individual VPSes.
I've read about QCOW somewhere, well, only saw it mentioned somewhere, and heard it could be used to thin provision the disk on KVM nodes. Can I convert the currently provisioned VPSes to QCOW without having to format them? Or does it require changes to the hosts filesystem/partition table? How about any new VPSes I add? I don't think SolusVM has an option for this built-in. Or does it? If it does, I might have missed it. So how do you thin provision a disk in KVM?
|
|
|
|
02-18-2014, 02:47 AM
|
#2
|
|
LQ Newbie
Registered: Apr 2013
Posts: 22
Original Poster
Rep: 
|
Anyone?
|
|
|
|
02-18-2014, 11:17 AM
|
#3
|
|
Member
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995
Rep: 
|
1. you can use LVs with qcow2 format, but the LVs will not autoexpand without some subsystem monitoring them and running lvextend when the LV nears it's capacity. Thin provisioned LVs exist in the latest RHEL versions, but I haven't tried those with KVM yet.
2. to move to a FS based set of qcow2 images is simple enough - run qemu-img convert from the existing LV to a file, and you're done. Will require downtime of course.
3. No idea what solus supports, but if you use RHEV or oVirt, they have thin provisioning based on LVM working quite well, with no additional configuration required at all.
|
|
|
|
All times are GMT -5. The time now is 05:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|