HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VGCHDID problem
Operating System - HP-UX
1833959
Members
1980
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-20-2007 09:49 PM
07-20-2007 09:49 PM
Hi,
I am facing this error when im doing VGCHGID
vgchgid /dev/rdsk/c28t3d4
vgchgid: disk "/dev/rdsk/c28t3d4" is already in vg "/dev/BC1_xpvggendata5".
wat does that mean???
I am facing this error when im doing VGCHGID
vgchgid /dev/rdsk/c28t3d4
vgchgid: disk "/dev/rdsk/c28t3d4" is already in vg "/dev/BC1_xpvggendata5".
wat does that mean???
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2007 12:21 AM
07-21-2007 12:21 AM
Solution
You need to change the id before importing and activating the volume group.
Before importing the volume group, run the vgchgid command for the business copy luns. Once that's done, do your vgimport.
To fix what you have now, deactivate the volume, vgexport, vgchgid then vgimport.
If this system only has access to the business copy, then you're fine to keep it as is without changing the vgid. Otherwise you'll end up with two VGs having disks that share the same id... which would cause problems w/ lvm.
-denver
Before importing the volume group, run the vgchgid command for the business copy luns. Once that's done, do your vgimport.
To fix what you have now, deactivate the volume, vgexport, vgchgid then vgimport.
If this system only has access to the business copy, then you're fine to keep it as is without changing the vgid. Otherwise you'll end up with two VGs having disks that share the same id... which would cause problems w/ lvm.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2007 07:33 AM
07-21-2007 07:33 AM
Re: VGCHDID problem
Hi,
The messages exactly tells you what the problem is.
There is a VG BC1_xpvggendata5 already imported on the server and which is using disk c28t3d4.
Do a strings /etc/lvmtab | grep c28t3d4 to reconfirm this.
Proabaly, you did not export the VGs for the BC before doing the BC synchronisation ?
Now you can do
ll /dev/BC1_xpvggendata5/group #[Note the minor number for the VG]
vgexport -v -p -m BC1_xpvggendata5.map /dev/BC1_xpvggendata5 # [To have the map file to be used when you do vgimport later ]
vgchange -a n /dev/BC1_xpvggendata5 #[Deactivate VG]
vgexport /dev/BC1_xpvggendata5 #[Export VG]
vgchgid /dev/rdsk/c28t3d4
mkdir /dev/BC1_xpvggendata5
mknod /dev/BC1_xpvggendata5/group c 64 0xNN0000 #[ Us the minor number noted earlier]
vgimport -m BC1_xpvggendata5.map /dev/BC1_xpvggendata5 /dev/dsk/c28t3d4
vgchange -a y /dev/BC1_xpvggendata5
Regards,
Ninad
The messages exactly tells you what the problem is.
There is a VG BC1_xpvggendata5 already imported on the server and which is using disk c28t3d4.
Do a strings /etc/lvmtab | grep c28t3d4 to reconfirm this.
Proabaly, you did not export the VGs for the BC before doing the BC synchronisation ?
Now you can do
ll /dev/BC1_xpvggendata5/group #[Note the minor number for the VG]
vgexport -v -p -m BC1_xpvggendata5.map /dev/BC1_xpvggendata5 # [To have the map file to be used when you do vgimport later ]
vgchange -a n /dev/BC1_xpvggendata5 #[Deactivate VG]
vgexport /dev/BC1_xpvggendata5 #[Export VG]
vgchgid /dev/rdsk/c28t3d4
mkdir /dev/BC1_xpvggendata5
mknod /dev/BC1_xpvggendata5/group c 64 0xNN0000 #[ Us the minor number noted earlier]
vgimport -m BC1_xpvggendata5.map /dev/BC1_xpvggendata5 /dev/dsk/c28t3d4
vgchange -a y /dev/BC1_xpvggendata5
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2007 07:51 AM
07-21-2007 07:51 AM
Re: VGCHDID problem
Hi,
Thanks for everyone's valuable help. My problem resolved.
Thanks for everyone's valuable help. My problem resolved.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP