- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to activate 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
09-01-2010 11:29 PM
09-01-2010 11:29 PM
unable to activate VG
vgchange -a y vg08 command.
now we are trying to activate it but we are unable to do it.
please have a look over the attachment to see the issue....
thanks in advance if any one could help me out resolving this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 11:41 PM
09-01-2010 11:41 PM
Re: unable to activate VG
/dev/dsk/c2t1d0 is probably faulty , do you have mirrored disk for this.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 11:43 PM
09-01-2010 11:43 PM
Re: unable to activate VG
- What do you mean earlier,
- what is the output of: # uptime
- check if you can see the disk:
# diskinfo /dev/rdsk/c2t1d0
- What do you see in # ioscan -fnC disk
- Also check:
- xd -An -j8200 -N16 -tx /dev/rdsk/c2t1d0
It will display the current vgid, and pvid of the disk if the disk is available.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 11:47 PM
09-01-2010 11:47 PM
Re: unable to activate VG
vgchange -a y vg08 command.
==> The command is for activating volume group, not for deactivating.
please paste the command output
#strings /etc/lvmtab
It seems like there is a failed disk or cross-device link - Looks like some of your disks are used in more than one volume group.
#ioscan -fnC disk |grep c2t1d0
How many disks are there in vg08?
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:05 AM
09-02-2010 12:05 AM
Re: unable to activate VG
the command was vgchange -a n vg08 command.
( instead i've specified vgchange -a y vg08.
the etc/lvmtab info is there in the notepad...
there are no mirrored volumes...
raj i've run this command yesterday only...
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:15 AM
09-02-2010 12:15 AM
Re: unable to activate VG
#pvdisplay /dev/dsk/c2t1d0
#vgcfgrestore -n /dev/vg08 -l
send above output.
and if you see the same disk then
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0
Make sure you playing with LVM metadata, so be sure and then only run the command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:31 AM
09-02-2010 12:31 AM
Re: unable to activate VG
i am sending the output of the commands provided by pls check that in attachment..
there is no LV present in VG08.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:32 AM
09-02-2010 12:32 AM
Re: unable to activate VG
It is obvious that your disk c2t1d0 doesn't have any LVM information in the disk meta data area,
# xd -An -j8200 -N16 -tx /dev/rdsk/c2t1d0
0 0 0 0
- Possible cause someone might have done a pvcreate -f on that disk.
- Seems you have to recreate the LVM structure on that disk and restore the data in that case.
Hth.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:41 AM
09-02-2010 12:41 AM
Re: unable to activate VG
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 12:55 AM
09-02-2010 12:55 AM
Re: unable to activate VG
vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0
you should run
#vgcfgrestore -n /dev/vg08 /dev/rdsk/c2t1d0
Always take care while running LVM and disk related commands else you could be in deep trouble for nothing.
Just check if this command works, else you would have to recreate disk and restore data from backup.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 01:01 AM
09-02-2010 01:01 AM
Re: unable to activate VG
vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0
===> WRONGGGGGGGGGGGG
vgcfgrestore -n /dev/vg08 /dev/rdsk/c2t1d0
CORRECT VG NAMW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2010 12:43 AM
09-03-2010 12:43 AM
Re: unable to activate VG
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg08".
pvdisplay: Cannot display physical volume "/dev/dsk/c2t1d0".
# vgcfgrestore -n /dev/vg08 -l
Volume Group Configuration information in "/etc/lvmconf/vg08.conf"
VG Name /dev/vg08
---- Physical volumes : 1 ----
/dev/rdsk/c2t1d0 (Non-bootable)
# vgcfgrestore -n /dev/vg08 /dev/rdsk/c2t1d0
vgcfgrestore: "/dev/vg08/group": not a character device.
Volume Group configuration has been restored to /dev/rdsk/c2t1d0