HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Resizing LVM after clone (http://www.howtoforge.com/forums/showthread.php?t=59042)

tokerau 11th October 2012 07:17

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

falko 12th October 2012 13:47

http://www.howtoforge.com/linux_lvm


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

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