[linux-lvm] How do I tell what disk a volume group reside on

Ron Johnson ron.l.johnson at cox.net
Wed Apr 14 13:23:15 UTC 2010


On 2010-04-13 19:59, Vickie Troy-McKoy wrote:
> Hi All,
> 
> I have a RedHat4 server connected to a SAN 3510 Array.  On the
> host server, there are two volume groups set up--root_vg and
> san_vg.  I'm assuming that root_vg resides on the internal disks
> and san_vg on the SAN.  But, how can I check to make sure this is
> the case?
> 

This is what I get when I run pvscan.  pvs is similar.

# pvscan
   PV /dev/sda4   VG main_huge_vg   lvm2 [529.00 GiB / 0    free]
   PV /dev/sdb2   VG main_huge_vg   lvm2 [594.25 GiB / 0    free]
   PV /dev/sdc1   VG main_huge_vg   lvm2 [931.50 GiB / 0    free]
   PV /dev/sdd1   VG main_huge_vg   lvm2 [698.62 GiB / 0    free]
   PV /dev/sde1   VG main_huge_vg   lvm2 [931.50 GiB / 0    free]
   Total: 5 [3.60 TiB] / in use: 5 [3.60 TiB] / in no VG: 0 [0   ]

# pvs
   PV         VG           Fmt  Attr PSize   PFree
   /dev/sda4  main_huge_vg lvm2 a-   529.00g    0
   /dev/sdb2  main_huge_vg lvm2 a-   594.25g    0
   /dev/sdc1  main_huge_vg lvm2 a-   931.50g    0
   /dev/sdd1  main_huge_vg lvm2 a-   698.62g    0
   /dev/sde1  main_huge_vg lvm2 a-   931.50g    0


-- 
Dissent is patriotic, remember?




More information about the linux-lvm mailing list