1846912 Members
5482 Online
110256 Solutions
New Discussion

Re: vgextend problem!!

 
Amit Manna_6
Regular Advisor

vgextend problem!!

HI,
please find the errors below and comment.


vgextend /dev/vgp_van_d6 /dev/dsk/c16t7d7
vgextend: Physical Volume "/dev/dsk/c6t7d7" contains no LVM information
Verification of unique LVM disk id on each disk in the volume group
/dev/vgp_van_d6 failed.
root@vanity:>pvchange -s /dev/dsk/c6t7d7
Physical volume "/dev/dsk/c6t7d7" has been successfully changed.
vgcfgbackup: Unable to read the physical volume.: Invalid argument
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c6t7d7
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: vgextend problem!!

Hi Amit,

Did you do a pvcreate on the physical disk,

pvcreate /dev/rdsk/c16t7d7

Make sure you are able to see the disk in ioscan and can access it,

# diskinfo -v /dev/rdsk/c16t7d7
# dd if=/dev/rdsk/c16t7d7 of=/dev/null bs=1024k

hope this helps.

regds
Geoff Wild
Honored Contributor

Re: vgextend problem!!

You need to pvcreate the disk first.

If pvcreate /dev/rdsk/c16t7d7 errors, then use the -f option if you are sure the disk isn't used elsewhere...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Doug O'Leary
Honored Contributor

Re: vgextend problem!!

Hey;

As mentioned, it's the pvcreate. I've been doing UNIX admin for 14 years and HP admin for 10; and I always forget that damned thing!

pvcreate ${raw_dev}

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Sivakumar TS
Honored Contributor

Re: vgextend problem!!


Do a pvcreate -f

It should work

With Regards,

Siva.
Nothing is Impossible !
Tvs
Regular Advisor

Re: vgextend problem!!

hi amit

you can try mediainit also

#mediainit dev/rdsk/c6t7d7

regards
tvs