- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing Minor number of VG
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:15 AM
04-15-2008 03:15 AM
Can we change the minor number of VG, without removing the VG ?
Scenario is, I have created a VG of 400GB size in a cluster environemnt. When try to import it on another node, the same minor number, which I used for this VG, is using by another VG in that node.
If possible to change the Minor number without removing, that would be greatful. Otherwise, I have to recreate the whole thing.
Thanks in advance
Shibin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:23 AM
04-15-2008 03:23 AM
Re: Changing Minor number of VG
Yes you can do it bu renaming VG. Whole procedure goes this way:
1) Umount file systems
2) vgchange -a n
3) vgexport -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:25 AM
04-15-2008 03:25 AM
Re: Changing Minor number of VG
I'm not sure I understand your question. Would you like to change the minor online, while the VG is active?Then the answer in NO, you will need to vgexport/vgimport the VG.
# vgchange -a n /dev/vgxx
# vgexport -m /tmp/vgxx.map /dev/vgxx
# rm /dev/vgxx/group
# mknod /dev/vgxx/group c 64 0x0z0000
change the z
# vgimport -m /tmp/vgxx.map /dev/vgxx
# vgchange -a y /dev/vgxx
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:26 AM
04-15-2008 03:26 AM
Re: Changing Minor number of VG
Thanks for the quick response.
What if, I don't want to change the name of the VG ? Because, we have some standards and to keep this standard.
The pain is, I don't want to recreate, as it has total 16disks with it's PV Links.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:34 AM
04-15-2008 03:34 AM
Re: Changing Minor number of VG
I will try this option.
I just created the VG. There is no data in it. But, the FS to be in cluster, so I need to replicate the same to other node. For the replication, I need to export this VG from this node and import it to another. When the importing stage, I found, the same minor number is using by some other VG and those are not part of cluster. Only local usage.
Anyway, I will try this option and come back to you guys.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:34 AM
04-15-2008 03:34 AM
Re: Changing Minor number of VG
You are asking to bypass main thing for which whole thing meant for.....
Anyways I never tried like this as you said. But it should work I guess.
-=ShRi=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:36 AM
04-15-2008 03:36 AM
Re: Changing Minor number of VG
#rm /dev/vgxx/group
as said by Robert, will it remove the Minor number ??
Then, the Robert's option would be successful.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:37 AM
04-15-2008 03:37 AM
Re: Changing Minor number of VG
Infact if you see same method is explained in both replies !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:40 AM
04-15-2008 03:40 AM
Re: Changing Minor number of VG
Can I change the Max LV parameter, if the VG is not active ?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:40 AM
04-15-2008 03:40 AM
Re: Changing Minor number of VG
Can I change the Max PV parameter, if the VG is not active ?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:58 AM
04-15-2008 03:58 AM
Solutionnot 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 02:39 PM
04-15-2008 02:39 PM
Re: Changing Minor number of VG
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
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:14 PM
04-15-2008 11:14 PM
Re: Changing Minor number of VG
# 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 ???????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 11:16 PM
04-15-2008 11:16 PM
Re: Changing Minor number of VG
# 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 ???????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 12:13 AM
04-16-2008 12:13 AM
Re: Changing Minor number of VG
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 12:31 AM
04-18-2008 12:31 AM
Re: Changing Minor number of VG
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.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2008 12:46 AM
04-19-2008 12:46 AM
Re: Changing Minor number of VG
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.