Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-16-2014, 09:44 PM   #1
Registered: Dec 2010
Posts: 59

Rep: Reputation: 0
Resizing KVM instance on fedora20

I have a 40G qemu/kvm guest running fedora20 on fedora20 and having trouble resizing it. According to the steps I've seen online, it involves appending some data on to the end of the image then using fdisk from within it to extend the partition. This is the part that fails. I've deleted the LVM partition and recreated it, but it only recreates it the same size as it was.

Here's one example page I tried:

Is this still the supported way of doing it, or is there now a new way?

Perhaps you have a link to an existing document that worked for you?

Is fdisk the proper tool to use, or should I be using parted these days?

Please let me know if there's any other information I can provide to help.
Old 06-17-2014, 12:52 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
Originally Posted by that_link
This process assumes the following:

. You're using legacy disk partitions. The process for LVM is similar and I will describe that in another post.
LVM adds several steps - perhaps you should look for the follow-up post from the author.
You might also have issues with the newer fdisk aligning to a megabyte boundary - might be ok though as that should be the way the original partition(s) allocated.
Old 06-17-2014, 03:25 PM   #3
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
virt-resize will let you resize the kvm image and lvm inside all at once.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need to grow an LV on LVM2 on KVM instance using storage on an array via iSCSI +LVM donty Linux - Server 2 05-09-2014 02:44 PM
[SOLVED] Is it safe to cp a qcow2 vdisk for non-running Qemu-KVM instance to back it up? rylan76 Linux - Virtualization and Cloud 2 11-07-2012 04:50 PM
[SOLVED] SSH into a Centos box running a KVM instance - what you get connected to is random rylan76 Linux - Virtualization and Cloud 1 11-07-2012 06:42 AM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 12:21 PM
LXer: Install Oracle 11gR2 on SL6 KVM at KVM-QEMU Instance on SL 6 (alpha 3) LXer Syndicated Linux News 2 01-01-2011 06:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

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