- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvmtab and vgscan - unmatched PV to 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-02-2005 01:51 AM
09-02-2005 01:51 AM
I moved the lvmtab out of the way and ran vgscan -a to recreate it. vgscan completes but reports that its unamte to match a physical volume to a volume group and run vgimport to complete the process on /dev/dsk/c2t2d0.
Looking at the old lvmtab file it had an entry for /dev/dsk/c2t2d0 but not the new lvmtab file. Ioscan sees it and SAM lists it as swap space. (The entire disk was assigned as system swap on inital setup.)
I don't believe that a PV/VG pair was created for system swap space.
Do I have a problem here and how do I fix it?
Regards
Norm
Is this a
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 01:54 AM
09-02-2005 01:54 AM
Re: lvmtab and vgscan - unmatched PV to VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 01:57 AM
09-02-2005 01:57 AM
Re: lvmtab and vgscan - unmatched PV to VG
Does the lvol that swapinfo gives, lie on this disk?? Also, if it is the case, then disk is already a part of some vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:09 AM
09-02-2005 02:09 AM
Re: lvmtab and vgscan - unmatched PV to VG
When I've seen this message in the past, I've been able to do exactly what it says: run vgimport. However, I'm confused by your case. You say SAM currently sees this device as swap space? In a separate VG or as an lvol in vg00? Exactly what does SAM say?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:40 AM
09-02-2005 02:40 AM
Re: lvmtab and vgscan - unmatched PV to VG
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 17366 0 17366 0% 0 - 1 /dev/dsk/c2t0d0
reserve - 661 -661
memory 6328 406 5922 6%
total 27790 1067 26723 4% - 0 -
In Sam -> SWAP I see
/dev/vg00/lvol2 ((which using hw paths 0/0/1/1.2.0 and 0/0/2/0.2.0 (disks /dev/dsk/c1t2d0 and its mirror /dev/dsk/c2t2d0)) and
/dev/dsk/c2t0d0 ((using 0/0/2/0.0.0 (disk /dev/dsk/c2t0d0))
RAC - I'm not sure what you mean by does the lvol lie on the disk that swapinfo gives. There is no lvol nor go associated with this disk. The swap space was created NOT using LVM.
This is where I'm a little confused/lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:46 AM
09-02-2005 02:46 AM
Re: lvmtab and vgscan - unmatched PV to VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 03:15 AM
09-02-2005 03:15 AM
Re: lvmtab and vgscan - unmatched PV to VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 03:14 PM
09-03-2005 03:14 PM
Re: lvmtab and vgscan - unmatched PV to VG
There is nothing wrong and you can simply ignore the error.
Was there any specific reason to keep non-LVM disk for swap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 05:04 PM
09-03-2005 05:04 PM
Re: lvmtab and vgscan - unmatched PV to VG
The error in normal as your system has one unused disk with LVOL structure on it. vgscan always reports this message for unused disks having LVM structure on them. You can get rid of this by doing a pvremove on that disk.
Allthough as indicated above it is normal and is a expected behaviour.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 12:35 AM
09-07-2005 12:35 AM
Re: lvmtab and vgscan - unmatched PV to VG
As for using a non LVM disk for swap - there was no specific reason to sue LVM or not. Is there an advantage to use LVM/not use for swap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 11:20 PM
09-08-2005 11:20 PM
SolutionIf you are using non-LVM disk , then you have to take it in account always alongwith all other LVM disks. Because you won't see this disk in LVM configuration , it may be confusing for someone if he only looks at LVM configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 12:24 AM
09-09-2005 12:24 AM