Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Change PV size?
@ 2004-07-27  5:21 Michael Bellears
  2004-07-27  5:38 ` Luca Berra
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Bellears @ 2004-07-27  5:21 UTC (permalink / raw)
  To: LVM general discussion and development

We have a Hardware Raid 5, with one partition being LVM.

c0d0p1         Boot            Primary      Linux ReiserFS
98.71
c0d0p5                         Logical      Linux ReiserFS
10001.95
c0d0p6                         Logical      Linux LVM
429302.04

dfx-nas-01:~# pvdisplay /dev/cciss/c0d0p6
--- Physical volume ---
PV Name               /dev/cciss/c0d0p6
VG Name               nasvg
PV Size               399.82 GB [838480482 secs] / NOT usable 32.19 MB
[LVM: 177 KB]
PV#                   1
PV Status             available
Allocatable           yes
Cur LV                6
PE Size (KByte)       32768
Total PE              12793
Free PE               2649
Allocated PE          10144
PV UUID               AY5IUI-0wto-lQpS-AoKb-SpQZ-ku3p-51nvIY

We will be adding additional physical disks to the Raid array as need
dictates - How would I go about making this new free space "available"
for use in the PV?

- Turn off server, add new HD's, boot into HP Top Tools and add the new
drives to the array (Giving additional space).
- cfdisk(or fdisk), delete the data partition(Making note of the
starting cylinder), then recreate the data partition with the same
starting cylinder, but incorporate the new free space.
- pvresize? (I do not seem to have this utility?)
- xfs_growfs

Thanks in advance.

Regards,
MB  

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: [linux-lvm] Change PV size?
@ 2004-07-27  5:50 Michael Bellears
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Bellears @ 2004-07-27  5:50 UTC (permalink / raw)
  To: LVM general discussion and development

> 
> On Tue, Jul 27, 2004 at 03:21:50PM +1000, Michael Bellears wrote:
> >- Turn off server, add new HD's, boot into HP Top Tools and 
> add the new 
> >drives to the array (Giving additional space).
> you should be able to do this online with the psp
> 
> >- cfdisk(or fdisk), delete the data partition(Making note of the 
> >starting cylinder), then recreate the data partition with the same 
> >starting cylinder, but incorporate the new free space.
> no, just create one more partition with the free space
> >- pvresize? (I do not seem to have this utility?)
> blockdev --rereadpt /dev/cciss/c0d0
> vgextend the volume group with the newly created partition 
> lvextend the logical volume.
> >- xfs_growfs

Excellent!

Thanks very much.

Regards,
MB

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-27  5:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27  5:21 [linux-lvm] Change PV size? Michael Bellears
2004-07-27  5:38 ` Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2004-07-27  5:50 Michael Bellears

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox