- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchgid command
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
08-01-2007 08:56 AM
08-01-2007 08:56 AM
vgchgid command
Here is my procedure so far, that is not working. I am trying to snap clone source vg02 to vg20.
1) I unmount and deactivate vg20
2) I snap clone vg02 to vg20 (took about 4.5 hours, which seems like a long time). LUN 0 (raidgroup3) to LUN 200 (raidgroup5). LUN 1 (raidgroup4) to LUN 201 (raidgroup6).
3) I tried to vgchgid but it will not take. It was mentioned that I need to vgexport, but I do not see any mention of this on the man pages. Also, if I do need to vgexport, does anyone know what options I need to use?
Any input is greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 03:53 PM
08-01-2007 03:53 PM
Re: vgchgid command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 06:08 PM
08-01-2007 06:08 PM
Re: vgchgid command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 02:55 AM
08-02-2007 02:55 AM
Re: vgchgid command
Here is the message I get when I vgchgid one of the disks with vg20 unmounted and deactivated, without vgexporting it. what is funny is that when I do the other LUN I just get the prompt back. Does it look like it worked for one and not the other?
=> #vgchgid /dev/rdsk/c43t9d4
vgchgid: disk "/dev/rdsk/c43t9d4" is already in vg "/dev/vg20".
RP7410:root /
=> #vgchgid /dev/rdsk/c44t9d3
RP7410:root /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 02:57 AM
08-02-2007 02:57 AM
Re: vgchgid command
The only time I use vgexport in the past, is to get rid of volume groups. But in this case won't I need to gvimport it after the vgchgid? If I use no optiond isn't it gone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 03:02 AM
08-02-2007 03:02 AM
Re: vgchgid command
vgchgid disklist
vgimport vg20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 03:15 AM
08-02-2007 03:15 AM
Re: vgchgid command
=> #vgchgid /dev/rdsk/c44t9d3 /dev/rdsk/c43t9d4
vgchgid: physical volume "/dev/rdsk/c44t9d3" and "/dev/rdsk/c43t9d4" do not belong to the same volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 11:26 AM
08-02-2007 11:26 AM
Re: vgchgid command
So now it is behacing the way it should since both the disk contain different vgid hence system see them as part of two difference VGs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 11:37 AM
08-02-2007 11:37 AM
Re: vgchgid command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 01:31 PM
08-02-2007 01:31 PM
Re: vgchgid command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 02:12 PM
08-02-2007 02:12 PM
Re: vgchgid command
It would, of course, be all but impossible to actually write the data to multiple disks at the same time but that is not necessary. What is necessary is that all the PV's that are to form a volume group be included in the same vgchgid command. Vgchgid generates a new unique VGID each time it is run so if you run the command separately for each PV then each will get a different VGID and vgimport will tell you that "that dog won't hunt" --- or a similar error message,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 04:26 AM
08-09-2007 04:26 AM