- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Regarding VG Error
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
тАО07-01-2009 09:50 AM
тАО07-01-2009 09:50 AM
I am getting below mentioned error on one of my HP-UX server. The VG /dev/vg12 is not existing now on this server but its group file is still there. Please let me know how to resolve this error.
vgdisplay: Volume group "/dev/vg12" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vg12".
expr: Syntax error
/usr/local/bin/Disk-stat.sh.ctms[254]: ( ( 0 * 1000 ) / 0 + 5 ) / 10 : Cannot divide by zero.
Thanks & regards,
Kavita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 09:54 AM
тАО07-01-2009 09:54 AM
Re: Regarding VG Error
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 09:55 AM
тАО07-01-2009 09:55 AM
Re: Regarding VG Error
use a advice from Pete,
vgexport.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 10:06 AM
тАО07-01-2009 10:06 AM
Re: Regarding VG Error
strings /etc/lvmtab
ioscan -fnC disk
Look for any matches.
I think you will have to vgexport and recreate the volume group, but it would be nice to know what the system expects.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 10:13 AM
тАО07-01-2009 10:13 AM
Re: Regarding VG Error
So what are you trying to do? Do you _want_ to regain vg12? Did you want to remove vg12?
If you want'ed only to rid yourself of vg12 at this point you can simply 'rm' the '/dev/vg12/group' file and '/dev/vg12' directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 11:13 AM
тАО07-01-2009 11:13 AM
Re: Regarding VG Error
You can remove group file for vg12 /dev/vg12/group or use vgexport
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 11:17 AM
тАО07-01-2009 11:17 AM
Re: Regarding VG Error
what you trying to do from here now. Like, if you have that VG and it is not listed in lvmtab, then do
# vgscan -av
if you want to get rid of that VG, you can simply remove the group file and its directory.
if you want to regain that VG and having its map file, you can do vgimport then
# vgimport -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 12:06 PM
тАО07-01-2009 12:06 PM
Re: Regarding VG Error
I would never suggest vgscan, if there are hundreds of disks and if any one faulty than .......
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 08:08 AM
тАО07-02-2009 08:08 AM
Re: Regarding VG Error
We have removed that VG sometime back but now we are getting this error. So, I think to remove this error, I need to remove the group file and directory existing for this VG, right?
Thanks & regards,
Kavita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 08:16 AM
тАО07-02-2009 08:16 AM
SolutionI'm sure you did the VG removal wrong, not by vgremove but by a "rm" only. This is always a reason for trouble.
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!