#1  
Old 11th October 2012, 07:17
tokerau tokerau is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default Resizing LVM after clone

I cloned my linux drive from an 80gig to a 250 gig hard drive. I can't figure out how to use the rest of the space on the drive. It is using LVM, and for a newbie like me it is very confusing. I've seen lots of articles where the size is reduced, or increased, but none that show how to use the unused space on a drive. The output of fdisk -l is:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003b753

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 9730 77637632 8e Linux LVM

I want to increase /dev/sda2 to use the rest of the drive. I'm using Centos 6.3

Thanks

Last edited by tokerau; 11th October 2012 at 16:19.
Reply With Quote
Sponsored Links
  #2  
Old 12th October 2012, 13:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

http://www.howtoforge.com/linux_lvm
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
tokerau (13th February 2013)
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.10 with KVM and copying KVM disk image to LVM yowzator HOWTO-Related Questions 3 8th March 2010 14:29
Ubuntu 8.04 LTS - RAID 1 + LVM + XEN atjensen11 HOWTO-Related Questions 1 20th January 2009 21:35
Resizing partitions with & w/o lvm anw Installation/Configuration 4 18th January 2009 18:25
debian, lvm, raid, grub, custom kernel koi Installation/Configuration 4 3rd November 2007 11:39
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 11:28


All times are GMT +2. The time now is 12:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.