How do I list the devices associated with logical volumes under LVM?

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

Environment

SUSE Linux Enterprise Server 11 Service Pack 2
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 4
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 1
Logical Volume Management (LVM)

Situation

The lvscan, lvs, and lvdisplay commands will list the existing logical volumes, but how can I display the physical devices associated with those logical volumes?

Resolution

Use the lvs -o +devices command. For example,

ls-lvm:~ # lvs -o +devices
  LV       VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert Devices      
  arch1    asm  -wi-ao 120.00m                                       /dev/sdb5(0) 
  arch2    asm  -wi-ao 120.00m                                       /dev/sdb5(30)
  critical ceo  -wi-ao 240.00m                                       /dev/sdc1(0) 
  data     lrg  -wi-ao 500.00m                                       /dev/sdb6(0) 
  data     lrg  -wi-ao 500.00m                                       /dev/sdb7(0) 
  root     sys  -wi-ao 548.00m                                       /dev/sda3(0) 
  usr      sys  -wi-ao   2.52g                                       /dev/sda3(137)
  var      sys  -wi-ao 448.00m                                       /dev/sda3(781)

Disclaimer

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:7009599
  • Creation Date: 21-Jun-2012
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@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