- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchgid with problems
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-25-2006 09:18 PM
04-25-2006 09:18 PM
Hi,
I have a problem with one vg.
When I do vgchgid it says me that:
#vgchgid /dev/rdsk/c3t1d3 /dev/rdsk/c1t1d3
vgchgid: disk "/dev/rdsk/c3t1d3" is already in vg "/dev/vgCSParc".
this vg exist in /etc/lvmtab.
Does anyone could help me?
Thanks!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 09:42 PM
04-25-2006 09:42 PM
Re: vgchgid with problems
vgchgid is a command that can be executed before you import the PV in a VG.
Perform a vgexport before you execute the command
Check man vgchgid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 09:50 PM
04-25-2006 09:50 PM
Re: vgchgid with problems
I suspect you are executing the vgchgid command on disks that are currently part of an active volume group. My question to you is - if the disks are part of a particular VG which is currently activated, why do you need to change the vgid ?
vgid needs to be changed for disks which are BC copies of disks currently in a active VG - so if you want to import the BC copy disks - first thing required is to change the vgid, then create a new VG with these disks. Read the man page for vgchid throughly - its very well explained.
Please let know what is your exact requirement for doing the vgchgid
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 10:05 PM
04-25-2006 10:05 PM
Re: vgchgid with problems
I cannot do vgexport. It returns me:
#vgexport -pvs -m /tmp/file.map /dev/vgCSParc
Beginning the export process on Volume Group "/dev/vgCSParc".
vgexport: "/dev/vgCSParc/group": not a character device.
vgexport: Couldn't export volume group "/dev/vgCSParc".
I haven't got /dev/vgCSParc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 10:10 PM
04-25-2006 10:10 PM
Re: vgchgid with problems
Two things.
1. Please attach the outputs of
a. strings /etc/lvmtab
b. vgdisplay -v /dev/vgCSParc
2. Please try to answer my query above to enable us to understand more on what is the situation and what you are trying to achieve - rather than blindly trying to guess the error. Dont take it otherwise.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 10:18 PM
04-25-2006 10:18 PM
Re: vgchgid with problems
Here you are:
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t8d0
/dev/dsk/c0t10d0
/dev/vgSCS
DA{}
/dev/dsk/c1t6d5
/dev/dsk/c1t6d6
/dev/dsk/c1t6d7
/dev/dsk/c1t7d0
/dev/dsk/c1t7d1
/dev/dsk/c1t7d2
/dev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0
# vgdisplay -v /dev/vgCSParc
vgdisplay: "/dev/vgCSParc/group": not a character device.
vgdisplay: Cannot display volume group "/dev/vgCSParc".
2) The problem was that one people was executing one script, and the origin problem was this witch vgchgid, but there are a lot of instruccions, it is for backups, and I don't know all the instruccions.
I only know that de vgCSParc is bad, because I cannot do vgexport because does not exist /dev/vgCSParc but its on /dev/lvmtab.
What could I do?
Thanks!
Carmen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 10:59 PM
04-25-2006 10:59 PM
Re: vgchgid with problems
As the error indicates - is there really no cahracter device file in /dev/vgCSParc with the name group - this is the control file required to be present in every /dev/vg?? directory and needs to have a unique minor number.
Please check the output of
ls -l /dev/*/group
If there is no group file or not a character device file and having entry in /etc/lvmtab , I guess the only option would be to backup existing /etc/lvmtab,
remove the lvmtab file and run vgscan .
But please be aware that vgscan should be used in the most catastrophic situation - read man for vgscan. Also do wait to see if anyone else has better suggestion to come out of this situation.I am sure we have a lot of experts who will get you out of this situation.
Let me think as well.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 02:03 AM
04-26-2006 02:03 AM
SolutionDo you want to remove the vgCSParc from your system? At present /etc/lvmtab has an entry for this vgCSParc. WHich means as per the system the VG does exist.
do you have the directory /dev/vgCSParc? if so list the contents of this directory.
also provide the output of
# ll /dev/vg*/group
If the group file is not present under the /dev/vgCSParc directory, then you need to create the group device file and then perform the vgexport.
When performing vgexport, remove the "-p" option as it is in preview mode.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 06:12 AM
04-27-2006 06:12 AM
Re: vgchgid with problems
Yes, I wanted to erase the vg. Finally I have created one group (with a minor number no duplicated) and one file (touch file1) in /dev/vgCSParc and after I have removed it without problems. (I have deceived it)
Thanks a lot of everyone!