'lvs' command does not show all the lvm volumes

Solution Verified - Updated -

Issue

  • The following lvm volumes are mounted on system, and users are able to access them without any issues. But the lvs command does not list the lvm volume /dev/vg2/lv2

    $ mount
    [...]
    /dev/vg1/lv1  /lv1 ext3 rw,data=ordered 0 0
    /dev/vg2/lv2  /lv1 ext3 rw,data=ordered 0 0
    
  • There is no entry for /dev/vg2/lv2 in following lvs command output

    $ lvs -a -o+devices.
      LV          VG              Attr   LSize   Origin Snap%  Move Log Copy%  Convert Devices               
      lv1         vg1             -wi-ao  69.00G                                       /dev/mapper/mpath10(0)
      lv1         vg1             -wi-ao  69.00G                                       unknown device(0)     
      rootvol     rootvg          -wi-ao   4.00G                                       /dev/cciss/c0d0p2(0)  
      swapvol     rootvg          -wi-ao   8.00G                                       /dev/cciss/c0d0p2(584)
      tmpvol      rootvg          -wi-ao 512.00M                                       /dev/cciss/c0d0p2(256)
      varvol      rootvg          -wi-ao   4.00G                                       /dev/cciss/c0d0p2(128)
    

Environment

  • Red Hat Enterprise Linux 5.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.