Hello macemoneta,
I needed this information only now and got this post. However, this does not work in my system.
Quote:
#lvdisplay -m /dev/mapper/myvg-mylv
--- Logical volume ---
LV Name /dev/myvg/mylv
VG Name myvg
LV UUID <Removed from here>
LV Write Access read/write
LV Status available
# open 1
LV Size 26.00 GB
Current LE 6656
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:27
--- Segments ---
Logical extent 0 to 6655:
Type mirror
Mirrors 2
Mirror size 6656
Mirror log volume mylv_mlog
Mirror region size 512.00 KB
Mirror original:
Logical volume mylv_mimage_0
Logical extents 0 to 6655
Mirror destinations:
Logical volume mylv_mimage_1
Logical extents 0 to 6655
|
There are no PV's by the name mimage_0 and mimage_1.
Another command also returns the same PV names, but these PV's do not exist!
Quote:
# lvs --segments -o +pe_ranges
LV VG Attr #Str Type SSize PE Ranges
…...Output truncated.....
mylv myvg mwi-ao 2 mirror 26.00G mylv_mimage_0:0-6655 mylv_mimage_1:0-6655
…...Output truncated.....
|
pvscan returns 6 PV's in this VG. Out of this, atleast 2 PV's are of the same size. So it is tough to identify which PV my LV is on.
There is no issue with the LVM setup in this system.
So please comment on how to find out the PV's associated with this LV.
Thank you very much!