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 15:19.
|
Recent comments
13 hours 44 min ago
18 hours 49 min ago
23 hours 14 min ago
1 day 1 hour ago
1 day 15 hours ago
1 day 15 hours ago
1 day 20 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 5 hours ago