- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Volume activation problem on HP-UX
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
тАО02-08-2008 06:16 AM
тАО02-08-2008 06:16 AM
Volume activation problem on HP-UX
I am not able to activate one of the volumes on HP-UX. Following is the error
[sappro:K260]:/ # vgchange -a y /dev/vg10
vgchange: Volume group "/dev/vg10" does not exist in the "/etc/lvmtab" file.
You have mail in /var/mail/root
[sappro:K260]:/ # vgimport -v -m /etc/lvmconf/vg10.mapfile /dev/vg10 /dev/dsk/c9t0d0
Beginning the import process on Volume Group "/dev/vg10".
Volume group "/dev/vg10" is still active.
[sappro:K260]:/ # vgchange -a n /dev/vg10
vgchange: Volume group "/dev/vg10" does not exist in the "/etc/lvmtab" file.
Note: System is not allowing me to activate or deactivate the volume. Is here any way to deactivate the volume forcibly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 06:32 AM
тАО02-08-2008 06:32 AM
Re: Volume activation problem on HP-UX
corrupt lvmtab?
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a
# vgchange -a y /dev/vg10
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:12 AM
тАО02-08-2008 07:12 AM
Re: Volume activation problem on HP-UX
I tried out the steps mentioned by you. But still I am not able to activate or deactivate.
vg00 & vg01 volumes are ok.
I am facing problem with volume v10. Is there any way to forcibly activate or deactivate the volume
Thanks,
Tejas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:22 AM
тАО02-08-2008 07:22 AM
Re: Volume activation problem on HP-UX
- not in /etc/lvmtab (for any reason)
- still active
So run
# vgdisplay -v vg10
and
# vgscan -p -v
What is the result?
(post it)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:27 AM
тАО02-08-2008 07:27 AM
Re: Volume activation problem on HP-UX
/dev/vg10 was rm -r'd
As mentioned vgscan -p to see what it thinks is there.
Ultimately you will need to move lvmtab to lvmtab.old then do a full vgscan. It should then either record /dev/vg10 or tell you that you can now activate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:29 AM
тАО02-08-2008 07:29 AM
Re: Volume activation problem on HP-UX
Following is the output
[sappro:K260]:/ # vgdisplay -v vg10
vgdisplay: Volume group "/dev/vg10" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vg10".
You have mail in /var/mail/root
[sappro:K260]:/ # vgscan -p -v
vgscan: The physical volume "/dev/dsk/c0t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c0t9d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c0t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t9d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t10d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t11d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c2t2d0":
Invalid argument
/dev/vg00
/dev/dsk/c0t8d0
/dev/dsk/c0t9d0
/dev/dsk/c0t10d0
/dev/dsk/c1t8d0
/dev/dsk/c1t9d0
/dev/dsk/c1t10d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c0t11d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c9t0d0
/dev/dsk/c9t1d0
/dev/dsk/c9t2d0
/dev/dsk/c9t3d0
/dev/dsk/c9t8d0
/dev/dsk/c9t9d0
/dev/dsk/c9t10d0
/dev/vg01
/dev/dsk/c1t11d0
Regards,
Tejas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:38 AM
тАО02-08-2008 07:38 AM
Re: Volume activation problem on HP-UX
# ll /dev/vg10
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 07:42 AM
тАО02-08-2008 07:42 AM
Re: Volume activation problem on HP-UX
"You have mail in /var/mail/root"
I think your server is trying to tell you something. Have a look into the mailbox and the syslog file.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!