- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is there a way to see VG disks in running kern...
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-05-2001 08:18 AM
09-05-2001 08:18 AM
Is there a way to see VG disks in running kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:24 AM
09-05-2001 08:24 AM
Re: Is there a way to see VG disks in running kernel
vgdisplay -v
Will show you all vg with associated lv and pv
Hope this helps...
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:27 AM
09-05-2001 08:27 AM
Re: Is there a way to see VG disks in running kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:28 AM
09-05-2001 08:28 AM
Re: Is there a way to see VG disks in running kernel
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:32 AM
09-05-2001 08:32 AM
Re: Is there a way to see VG disks in running kernel
If the lvmtab is incorrect you can move it 'mv /etc/lvmtab /etc/lvmtab.bad' and then run the vgscan command. Do a 'man vgscan' for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:32 AM
09-05-2001 08:32 AM
Re: Is there a way to see VG disks in running kernel
You could do a
"vgscan -p -v > /tmp/vgscan.out"
Look for disks that are not configured. Also
strings /etc/lvmtab > /tmp/lvmtab.txt
will list out all the disks belonging to all the VGs on the system
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:41 AM
09-05-2001 08:41 AM
Re: Is there a way to see VG disks in running kernel
/etc/lvmtab (as you are probably aware) can be listed with the 'strings' command. Knowledge Base document #KBRC00000632 offers a detailed procedure for attempting to resolve the descrepency.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:52 AM
09-05-2001 08:52 AM
Re: Is there a way to see VG disks in running kernel
Meanwhile, when you do an lvlnboot -v, it is going to show the disk that is not part of the volume group. Your vgdisplay -v also should give out the error.
How about trying like this?.
vgdisplay -v 2> /tmp/vgdisplay.err
lvlnboot -v 2 > /tmp/lvlnboot.err
verify these two error files and you may get the disk.
Also, try doing a vgchange -a y on this volume group and see what error you get.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 01:15 PM
09-05-2001 01:15 PM
Re: Is there a way to see VG disks in running kernel
If you find a discrepancy check the volume group where the discrepancy is with vgdisplay.
vgdisplay /dev/vg??
Note on the output the CURR PV and ACT PV lines. These numbers should be identical. If not, then you have a discrepancy somewhere. I would not force the reduce just to satisfy the system until I'm sure why there is such a discrepancy. If the vgdisplay has a discrepancy you should see errors on the vgdisplay output about "Can't query Physical..." You've then got a bad disk somewhere.
If the numbers for CURR and ACT jive, then the problem is with the lvmtab, then I would try to move lvmtab to lvmtab.old, then do a vgscan.
Just make sure you know why there is a discrepancy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 01:29 PM
09-05-2001 01:29 PM
Re: Is there a way to see VG disks in running kernel
If you want to look at or query kernel datastructures for the disks, use ioscan -k. This queries Kernel and doesn't scan for the hardware.
...Madhu