- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I identify the VG from the syslog
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
тАО03-02-2004 08:48 AM
тАО03-02-2004 08:48 AM
Hi There,
Is there a simple way to identify which volume group VG25 belongs? I have appended a sample message from the syslog below.
Recovered Path (device 0x1f0f9700) to PV 6 in VG 25.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 08:56 AM
тАО03-02-2004 08:56 AM
Re: How do I identify the VG from the syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 08:59 AM
тАО03-02-2004 08:59 AM
Re: How do I identify the VG from the syslog
It is the order of VG that appears in /etc/lvmtab determines it. Similarly the order of PV under that VG in /etc/lvmtab determines the PV in question. A simple way is to find the device file first
ll /dev/dsk |grep 0x1f0f9700
strings /etc/lvmtab |more
search for the above device file and the corresponding VG.
Otherway is
strings /etc/lvmtab |grep vg |sed -n '26p' will show you 25th VG as the numbers start from 0.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 09:01 AM
тАО03-02-2004 09:01 AM
Re: How do I identify the VG from the syslog
Simply do a vgdisplay -v so that all VG's will be displayed.
vgdisplay -v > myfile
Now vi myfile and search for /dev/dsk/c15t9d7.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 09:05 AM
тАО03-02-2004 09:05 AM
Re: How do I identify the VG from the syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 10:08 AM
тАО03-02-2004 10:08 AM
Re: How do I identify the VG from the syslog
the number 25 is actually the decimal representation of the first two hexadecimal digits in the /dev/vgXXX/group minor number.
So busting out the old decimal->hexadecimal converter (aka the Windows scientific calculator, calc...see Window IS good for something! ;-))
25 decimal is equivalant to 0x19 hexadecimal.
So the volume group you need has a minor number of 0x190000, and your problem is with the 6th disk (which should be c15t9d7) in that volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 10:15 AM
тАО03-02-2004 10:15 AM
Re: How do I identify the VG from the syslog
crw-rw-r-- 1 root sys 64 0x190000 May 8 2003 /dev/vgarchs1a/group
....I tried Sri's method ...it did not work because we have only 11 VG's.