- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: "duplicate PV" warning with Device mapper
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
01-31-2011 11:27 AM
01-31-2011 11:27 AM
Thanks
Brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2011 01:12 PM
01-31-2011 01:12 PM
Re: "duplicate PV" warning with Device mapper
On my systems, I have my filter set to scan only partition 1's of all my SAN multipathed disks and my /dev/cciss disks..
Without the filter in place, LVM scans each individual device disk files that constitues a single multipath device...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2011 01:23 PM
01-31-2011 01:23 PM
Re: "duplicate PV" warning with Device mapper
But I need to know:
1.) What disk is your OS disk on.
2.) When you create LVM VGs, what devices do you use a PVs? (/dev/dm-NN or /dev/mapper/FRIENDLY01p1 or /dev/mpath/FRIENDLY01p1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2011 03:38 PM
01-31-2011 03:38 PM
Re: "duplicate PV" warning with Device mapper
The OS is on /dev/sda. I pvcreate the /dev/mapper/mpath1 /dev/mapper/mpath2 etc like that. Thanks for helping me out!
Best Regards
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2011 08:57 PM
01-31-2011 08:57 PM
SolutionCovers both IBM xSeries and Proliants.
filter = [ "a/mapper/.*p1$/", "a|/dev/cciss/*|", "a|/dev/sda[0-9]|", "a|/dev/sdb[0-9]|", "r/.*/" ]
Note we pvcreate on /dev/mapper/FRDNLDSK01p1 (we always partition the disk on p1 - encompassing the whole disk. We avoid pvcreating on the whole unpatitioned disk)
Enjoy!
Note: If you use ASMLIb, you may also update scan order and scan exclude to speed up your boot times (ASMLib scan).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2011 07:05 AM
02-01-2011 07:05 AM
Re: "duplicate PV" warning with Device mapper
You can "test" your filter changes by simply doing a : pvscan
If pvscan comes out "clean" and you can see all your PVs - then that means your filter.conf is good.
Note most lvm.conf directives can also be passed to the "lvm" (/sbin/lvm) command line