- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Discussions
Discussions
Forums
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
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