[CentOS] Upgrading to larger HD with LVM

Thu Dec 21 04:08:17 UTC 2006
abhishek singh <abhishek.rhce at yahoo.co.in>

Dear 
  If u have two harddisk or partition then u have to create physical volume then u can add multiple PV in to single VG. so there is no way to combine two hard drive or two parttion into single PV , as i know .
   
  thanks

Paul <unix at bikesn4x4s.com> wrote:
  What's the easiest way to transition to a larger HD when using LVM2? I'm
running Centos 4.4. I'm going from a 20gb HD to a 40gb HD. I've already
DD'd it to the 40gb HD. So now I have 20gb of unused space. Ideally, I'd
like to make it one big physical space for the logical space instead of
making another physical partition to expand the logical. Here is what I
have now with the system on hda, and with another HD of hdb for moving
data if i need to:

# fdisk -l

Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2501 19984860 8e Linux LVM

Disk /dev/hdb: 15.3 GB, 15361597440 bytes
255 heads, 63 sectors/track, 1867 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 1867 14996646 83 Linux

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos



Abhishek Kr. Singh
System Administrator
DSC. LTD.
Mob.No. +91-9871563248
 Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20061221/e56460a7/attachment-0005.html>