1834403 Members
2739 Online
110067 Solutions
New Discussion

Extending vg00

 
SOLVED
Go to solution
Sarah Mokwana
Occasional Advisor

Extending vg00

On HP-UX 11.00, how do you extend vg00 not the filesystem.
You are the star in your own category,shine as high as you can
7 REPLIES 7
Vincenzo Restuccia
Honored Contributor
Solution

Re: Extending vg00

#vgextend /dev/vg00 /dev/dsk/cxtyd0
Thierry Poels_1
Honored Contributor

Re: Extending vg00

Hi,
if you want to increase a Volume Group you will need to add some volumes (i.e. new disks):
vgextend /dev/vg00 /dev/dsk/c8t2d0

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Pedro Sousa
Honored Contributor

Re: Extending vg00

Hi Sarah.
Before you extend the VG (vgextend vg00 /dev/dsk/cxtxdx), you might need to execute "pvcreate /dev/rdsk/cxtxdx" to create the physical volume for use in LVM.
good luck
eran maor
Honored Contributor

Re: Extending vg00

Hi Sara

if you have problem with pvcreate ( if this a exist disk user mediainit to init the disk
before adding to the vg00 .

good luck
love computers
Ravi_8
Honored Contributor

Re: Extending vg00

hi,
if u r extending to another disk say cxdxtx
then u need to initialize the disk for use with LVM


# pvcreate -f /dev/rdsk/cxtxdx

# vgextend vg00 /dev/dsk/cxtxdx

never give up
Magdi KAMAL
Respected Contributor

Re: Extending vg00

Hi,
You need first to create physical volumes ( pvcreate) and then extinding the volume group ( vgextend ).

Hamdy Al-Sebaey
Regular Advisor

Re: Extending vg00

Hi Sarah,
All answers seems to me wonderful,but if you 'll use pvcreate then it depends on which VG,if VG is root then you must use option -B,if not then just only pvcreate for example

pvcreate -B /dev/rdsk/c1t6d0
vgextend /dev/vg00 /dev/dsk/c1t6d0

goodluck
Hamdy
Thanks for sharing knowledge