Changes between Initial Version and Version 1 of Ticket #609, comment 3


Ignore:
Timestamp:
Apr 19, 2012, 11:59:42 AM (12 years ago)
Author:
bzium

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #609, comment 3

    initial v1  
    5050
    5151Do you understand now what's the problem?
     52
     53analyze-my-lvm always take first /dev/mapper/ device in this case show /dev/mapper/mpatha.
     54'''/dev/mapper/mpatha is not a physical device for LVM'''
     55
     56{{{
     57# pvs
     58  PV                 VG         Fmt  Attr PSize    PFree
     59  /dev/mapper/mpathb vg_puedata lvm2 a--     2.00g 104.00m
     60  /dev/mapper/mpathc vg_test    lvm2 a--  1020.00m      0
     61  /dev/sda2          vg01       lvm2 a--    17.80g   2.30g
     62}}}
     63
     64{{{
     65# ./analyze-my-lvm
     66/sbin/lvmdiskscan
     67/sbin/lvm
     68i=2
     69LVM version >= 2.0 found.
     70Just before you extrapolate mountlist to include RAID partitions,
     71extrapolate it to include the following LVM drives and partitions:-
     72>>>>> /dev/mapper/mpatha /dev/mapper/mpatha /dev/sda2
     73To get started, type:-
     74(insmod dm-mod)
     75(insmod dm_mod)
     76# lvm vgchange -an
     77# echo y | lvm pvcreate -ff /dev/mapper/mpatha
     78# echo y | lvm pvcreate -ff /dev/mapper/mpatha
     79# echo y | lvm pvcreate -ff /dev/sda2
     80# lvm vgscan
     81}}}
     82
     83And with "-L" switch.
     84
     85{{{
     86# ./analyze-my-lvm
     87/sbin/lvmdiskscan
     88/sbin/lvm
     89i=2
     90LVM version >= 2.0 found.
     91Just before you extrapolate mountlist to include RAID partitions,
     92extrapolate it to include the following LVM drives and partitions:-
     93>>>>> /dev/mapper/mpathc /dev/mapper/mpathb /dev/sda2
     94To get started, type:-
     95(insmod dm-mod)
     96(insmod dm_mod)
     97# lvm vgchange -an
     98# echo y | lvm pvcreate -ff /dev/mapper/mpathc
     99# echo y | lvm pvcreate -ff /dev/mapper/mpathb
     100# echo y | lvm pvcreate -ff /dev/sda2
     101# lvm vgscan
     102}}}