1843905 Members
2423 Online
110226 Solutions
New Discussion

Volume Groups on new PV

 
bassey essien_1
Frequent Contributor

Volume Groups on new PV

I have created two new PV named /dev/rdsk/c8t0d0 and /dev/rdsk/c8t1d0, each has 500 Gig
host:# pvcreate /dev/rdsk/c8t0d0
# pvcreates /dev/rdsk/c8t1d0
I have ten volume groups on existing 12 physical volumes.
Vg00 has three PV:/dev/dsk/c0t4d0,/dev/dsk/c0t5d0, /dev/dsk/c0t6d0
VG08:/dev/dsk/c1t3d0, /dev/dsk/c9t5d0,/dev/dsk/c9t6d0
Now i want to move /dev/rdsk/c8t0d0,/dev/rdsk/c8t1d0 to an existing volume groups.
Vgextend /dev/vg08 /dev/dsk/c8t0d0 /dev/dsk/c8t1d0
Finally move the source physical volume to the destination physical volumes.
host:# pvmove /dev/dsk/c1t3d0 /dev/dsk/c8t0d0
I noticed that when doing pvdisplay on /dev/rdsk/c8t0d0 i have error message " couldn't find the volume group to which physical volume /dev/dsk/c8t0d0 belongs"
I want to move all physical volumes to the new disk, iam not sure if i need to create new volume groups, i intend to keep the existing volume groups on new disk.
I need help to accomplish this.
thanks.
2 REPLIES 2
Roberto Arias
Valued Contributor

Re: Volume Groups on new PV

Good afternoon:

Is the vg08 active¿?


Please try this
vgchange -a y vg08

vgdisplay -v VG08

pvdisplay -v

vgreduce vg08
vgdisplay -v VG08


Best Regards.
Wizard
The man is your friend
Sridhar Bhaskarla
Honored Contributor

Re: Volume Groups on new PV

Hi,

post your 'strings /etc/lvmtab' 'vgdisplay -v' outputs.

Did your 'vgextend' succeed?

-Sri
You may be disappointed if you fail, but you are doomed if you don't try