|
|||||||||||
|
RE: Adding new disk to volume group
From: Geofrey Rainey <Geofrey.Rainey(at)tvnz.co.nz>
Date: Wed Sep 26 2007 - 19:18:45 EDT
Here are the steps you need to do (they should be fine, but Let me know if you have any issues, and the associated error Because I might have missed something): Step 1. create a partition on your new disk: # fdisk /dev/cciss/c0d1 Once within fdisk, type the following (what you enter is between <> ) Command (m for help): <n> Command action
e extended
<p>
Partition number (1-4):
First cylinder (1- ...): <press enter to select default> Last cylinder ... : <press enter to select default>
Now, you will find yourself back at the main prompt. You will want to
now
Command (m for help): <t> Hex code (type L to list codes): <8e> <w> - to write the partition table. Now you should be back in the shell. Step 2. create a new physical volume: # pvcreate /dev/cciss/c0d1p1 (I think this is what it should be if you have only made one single partition on the new disk). Step 3. Add your new physical volume to your existing volume group # pvextend VolGroup00 /dev/cciss/c0d1p1
Assuming the above worked, if you now type "vgdisplay -v", you should
see two
Regards,
-----Original Message-----
fdisk -l Disk /dev/cciss/c0d0: 36.4 GB, 36414750720 bytes 255 heads, 32 sectors/track, 8716 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 1 2 8144 4 FAT16
<32M
/dev/cciss/c0d0p2 * 3 52 204000 83 Linux
/dev/cciss/c0d0p4 285 8716 34402560 f W95
Ext'd (LBA)
/dev/cciss/c0d0p5 285 8064 31742384 8e Linux
LVM
/dev/cciss/c0d0p6 8065 8578 2097104 82 Linux
swap
Disk /dev/cciss/c0d1: 36.4 GB, 36414750720 bytes 255 heads, 32 sectors/track, 8716 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes Disk /dev/cciss/c0d1 doesn't contain a valid partition table [root@lx6 cciss]# vgdisplay -v
Finding all volume groups
One volume group was only setup "VolGroup00"
Geofrey Rainey wrote:
> > Firstly, please answer these two questions: > > 1. what do you see with this command: > > # fdisk -l > > 2. How many volume groups do you have? (you can find this information > With the following command. The -v flag will give more verbose output > including the logical volumes associated with each volume group): > > # vgdisplay -v > > Regards, > Geofrey Rainey > > -----Original Message----- > From: redhat-list-bounces@redhat.com > [mailto:redhat-list-bounces@redhat.com] On Behalf Of Kory Wheatley > Sent: Thursday, 27 September 2007 8:51 a.m. > To: General Red Hat Linux discussion list > Subject: Adding new disk to volume group > > Currently I'm using Red Hat Enterprise 4 that has two disk on a > Hardware Raid 1 (Smart Array 5i controller) that is setup in a Volume > Group > DL380 g2) and set these disk as a Hardware Raid 1. Now I haven't used > Fdisk or nothing on these new disks. > > Here's my question: How do I add the new disks to the already > existing Volume Group so that I can have more space on the Volume > Group. Being a > Raid1 I know your only adding one disk. Could someone send me the > exact commands to use? > ========================================================== > For more information on the Television New Zealand Group, visit us > online at tvnz.co.nz > ========================================================== > CAUTION: This e-mail and any attachment(s) contain information that > is intended to be read only by the named recipient(s). This > information is not to be used or stored by any other person and/or organisation. > For more information on the Television New Zealand Group, visit us online at tvnz.co.nz CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-listReceived on Wed Sep 26 19:18:55 2007 This archive was generated by hypermail 2.1.8 : Wed Oct 10 2007 - 00:41:25 EDT |
||||||||||
|
|||||||||||