Extending Virtual Disk and LVM online.
Ray Van Dolson
rvandolson at esri.com
Thu Jun 26 10:27:39 CDT 2008
On Thu, Jun 26, 2008 at 06:32:27AM -0700, Ray Van Dolson wrote:
> Hi all, got a PE2850 with a PERC 4e/Di. We had three 147GB disks in
> the system configured in a single RAID5 virtual disk (/dev/sda to the
> OS). I added three more of these disks and wanted to extend the
> existing Virtual Disk.
FYI all, ended up having to reboot to get fdisk to see the new space.
Anyways, due to how things are partitioned on this system (wasn't set
up by me! :), it doesn't look like I'm out of the woods yet:
Command (m for help): p
Disk /dev/sda: 733.4 GB, 733478912000 bytes
255 heads, 63 sectors/track, 89173 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 12761 102398310 8e Linux LVM
/dev/sda3 12762 25509 102398310 8e Linux LVM
/dev/sda4 25510 35669 81610200 5 Extended
/dev/sda5 25510 27421 15358108+ 83 Linux
/dev/sda6 27422 27943 4192933+ 82 Linux swap
/dev/sda7 27944 35669 62059063+ 83 Linux
Command (m for help): n
No free sectors available
Awesome. No more primary partitions left and the extended partition is
too small. So I either need to grow the extended partition or one of
the LVM primary partitions.
And why there are two identically sized LVM primary partitions (on the
same virtual disk mind you) is beyond me!
What a PITA. :)
More information about the Linux-PowerEdge