LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums 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 02-17-2014, 06:12 PM   #1
enkrypted
LQ Newbie
 
Registered: Apr 2013
Posts: 22

Rep: Reputation: Disabled
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?
 
Old 02-18-2014, 02:47 AM   #2
enkrypted
LQ Newbie
 
Registered: Apr 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Anyone?
 
Old 02-18-2014, 11:17 AM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
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.
 
  


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
dd seek problem: thin provisioning? hahacc Linux - General 7 04-22-2013 01:54 AM
KVM Saying I dont have enough disk space? contraversy Linux - Server 1 06-20-2012 10:43 AM
LXer: Linux 3.2 goes bigtime on file systems, improves thin provisioning LXer Syndicated Linux News 0 01-07-2012 07:00 AM
LXer: Linux 3.2 goes bigtime on file systems, improves thin provisioning LXer Syndicated Linux News 0 01-06-2012 06:30 AM
Provisioning software or disk images to hundreds of clients jantman Linux - Enterprise 3 04-10-2008 11:16 AM

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

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

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
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