Duplicate LVM Volume Group Warning

This document (7003547) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9



The following LVM errors were observed:

# /sbin/pvscan
  WARNING: Duplicate VG name sapvg: Existing JckPD2-vv2Q-3IJd-t3AN-Tqpv-PMTl-oT9Y1X (created here) takes precedence over XrqmSA-LzGU-qV9V-AlpL-uYHv-eEaA-M4ucXg
  Couldn't find device with uuid 'LZrggj-3RdW-mHdG-XFDQ-Rfok-1JTj-HyZM5E'.
  Couldn't find device with uuid '7IeYkn-V4tc-lz8D-K8JS-FMEn-eCgU-qL25mi'.
  Couldn't find device with uuid 'LZrggj-3RdW-mHdG-XFDQ-Rfok-1JTj-HyZM5E'.
  Couldn't find device with uuid '7IeYkn-V4tc-lz8D-K8JS-FMEn-eCgU-qL25mi'.
  PV unknown device   VG sapvg    lvm2 [136.73 GB / 100.32 GB free]
  PV /dev/sdb1        VG sapvg    lvm2 [136.73 GB / 90.63 GB free]
  PV unknown device   VG sapvg    lvm2 [68.36 GB / 68.36 GB free]
  PV /dev/md2         VG sapvg    lvm2 [136.53 GB / 63.03 GB free]
  PV /dev/md1         VG rootvg   lvm2 [53.35 GB / 2.05 GB free]
  Total: 5 [531.69 GB] / in use: 5 [531.69 GB] / in no VG: 0 [0   ]



SUSE will have many representations or devices for the same physical hardware. LVM needs to know which of these devices to use. LVM meta data exists on both the /dev/sd* and /dev/md* devices for the same volume group. When choosing the device, pick the highest level of abstraction for the block device. In this example, the /dev/sd* devices have been consumed by the /dev/md* for software RAID. So the /dev/md* devices are the highest level of block abstraction. Update the LVM filter to only use the /dev/md* devices.

To update the LVM filter do the following:
  1. Edit /etc/lvm/lvm.conf
  2. Change the default filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/"] to filter = [ "a|/dev/md.*|", "r/.*/"]
  3. Save and exit /etc/lvm/lvm.conf
  4. Run vgscan
  5. Run pvscan to confirm the error is no longer present. It is also a good idea to reboot the server.
NOTE: This filter assumes you only use /dev/md* devices with LVM. If you use other devices, you will need to include an "Accept" filter for those devices as well.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7003547
  • Creation Date: 15-Jun-2009
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center