Operating System - HP-UX
1753922 Members
7681 Online
108810 Solutions
New Discussion юеВ

Re: Changing Minor number of VG

 
SOLVED
Go to solution
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Changing Minor number of VG

Hi again,

not sure what OS version you are running, bute have a look at this doc (11i v2 + v3 )

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)

Regards,
Robert-Jan
Shibin_2
Honored Contributor

Re: Changing Minor number of VG

Hi Robert,

Many thanks. I will do the changes and give you all the details, what I have done and how done. That may useful to anybody for future reference.


Cheers
Shibin
Regards
Shibin
Sajjad Sahir
Honored Contributor

Re: Changing Minor number of VG

# vgchange -a n /dev/vg03
# vgexport -m /tmp/vg03.map /dev/vg03
# rm /dev/vg03/group
# mknod /dev/vg03/group c 64 0x030000

# vgimport -m /tmp/vg03.map /dev/vg03
# vgchange -a y /dev/vg03
I put 03 instead of xx
adn 03 for volume number

ok
dear Robert
i am asking u then what is the new minor number here ???????
Sajjad Sahir
Honored Contributor

Re: Changing Minor number of VG

# vgchange -a n /dev/vg03
# vgexport -m /tmp/vg03.map /dev/vg03
# rm /dev/vg03/group
# mknod /dev/vg03/group c 64 0x030000

# vgimport -m /tmp/vg03.map /dev/vg03
# vgchange -a y /dev/vg03
I put 03 instead of xx
adn 03 for volume number

ok
dear Robert
i am asking u then what is the new minor number here ???????

Sajjad Sahir
Honored Contributor

Re: Changing Minor number of VG

shibin
u are working on clustering environment u have two nodes also don't change minor number it is a wrong procedure.

what do u want to do actullay please give
complete details
i think u need to make some changes on slvm
am i right
then i can give u complete procedure how to do it
sajjad

Shibin_2
Honored Contributor

Re: Changing Minor number of VG

Hi Shri and Robert,

Many thanks to you guys... Unfortunately, in my box, the patches for Vgmodify was not installed. So, I had to delete LV, VG and recreated it.

The document, which Robert given was very good. I had tested it on my test server (version 11iv3) and successfully worked.

Sajjad,

You may go through the querry, you can understand, what I really needed.

Guys, thanks for the help and sorry for the delayed response and closure.
Regards
Shibin
Sajjad Sahir
Honored Contributor

Re: Changing Minor number of VG

I went thorough
u understand one thing, if u are going to change u minro number, in order that u exporting u volume group also
that means u removing u volume and creating new one i mean wiht new name which i meant.