You're probably looking for lvdisplay, vgdisplay, pvscan, and/or
pvdisplay...

   linux142:/etc/modutils# lvdisplay /dev/vg0/lv03
   --- Logical volume ---
   LV Name                /dev/vg0/lv03
   VG Name                vg0
   LV Write Access        read/write
   LV Status              available
   LV #                   4
   # open                 1
   LV Size                300 MB
   Current LE             75
   Allocated LE           75
   Allocation             next free
   Read ahead sectors     1024
   Block device           58:3

   linux142:/etc/modutils# vgdisplay vg0
   --- Volume group ---
   VG Name               vg0
   VG Access             read/write
   VG Status             available/resizable
   VG #                  0
   MAX LV                256
   Cur LV                4
   Open LV               1
   MAX LV Size           255.99 GB
   Max PV                256
   Cur PV                1
   Act PV                1
   VG Size               1.79 GB
   PE Size               4 MB
   Total PE              457
   Alloc PE / Size       213 / 852 MB
   Free  PE / Size       244 / 976 MB
   VG UUID               aRaEhy-426C-B2qm-uWMX-ma7p-pFfX-iE0u5u

   linux142:/etc/modutils# pvscan
   pvscan -- reading all physical volumes (this may take a while...)
   pvscan -- ACTIVE   PV "/dev/dasd/7b20/part2" of VG "vg0" [1.79 GB / 976 MB free]
   pvscan -- total: 1 [1.79 GB] / in use: 1 [1.79 GB] / in no VG: 0 [0]

   linux142:/etc/modutils# pvdisplay /dev/dasd/7b20/part2
   --- Physical volume ---
   PV Name               /dev/dasd/7b20/part2
   VG Name               vg0
   PV Size               1.79 GB [3759456 secs] / NOT usable 4.19 MB [LVM: 129 KB]
   PV#                   1
   PV Status             available
   Allocatable           yes
   Cur LV                4
   PE Size (KByte)       4096
   Total PE              457
   Free PE               244
   Allocated PE          213
   PV UUID               Khe8gt-VTbI-Dvyu-TkF3-Qg8p-yZcl-WnmHYM

Scott Chapman
American Electric Power




                      "Noll, Ralph"
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]
                      tate.ar.us>                cc:
                      Sent by: Linux on          Subject:  lvm
                      390 Port
                      <[EMAIL PROTECTED]
                      T.EDU>


                      02/05/03 12:10 PM
                      Please respond to
                      Linux on 390 Port






how do you tell what volumes make up an LVM
like my lvm has 6g
what volumes does that consist of


Ralph Noll
Systems Programmer
City of Little Rock
Phone (501) 371-4884
Fax   (501) 371-4712
mailto:[EMAIL PROTECTED]


                   \\\|///
                 \\\ ~ ~ ///
                  (  @ @  )
 ===============oOOo=(_)=oOOo===============

Reply via email to