Unsolved
This post is more than 5 years old
11 Posts
0
1427
May 10th, 2015 18:00
presenting luns from linux host to another
we have an old linux host that it lost it's boot disk and won't boot up anymore. What we did is we moved those luns to another linux host. There are 9 luns all together. from the other linux host, we did a rescan:
1. echo "- - -" > /sys/class/scsi_host/host3/scan (bus scan) (starting with host0)
2.pvscan
pvscan
PV /dev/emcpoweri1 VG VolGroup01 lvm2 [50.00 GB / 10.00 GB free]
PV /dev/emcpowern VG vg_data lvm2 [110.00 GB / 0 free] ==> lun from old host
PV /dev/emcpowert VG vg_data lvm2 [120.00 GB / 0 free] ==> lun from old host
PV /dev/emcpowerm VG vg_data lvm2 [650.00 GB / 0 free ==> lun from old host]
PV /dev/sda5 VG VolGroup00 lvm2 [273.56 GB / 128.09 GB free]
PV /dev/sda2 VG VolGroup00 lvm2 [5.00 GB / 5.00 GB free]
Total: 6 [1.18 TB] / in use: 6 [1.18 TB] / in no VG: 0 [0 ]
NOTE: only 3 LUNS/Volumes are showing up. We enabled the 'vg_data' volume group and was able to mount those volumes.
so we are missing 6 other LUNS and those aren't showing up as part of a Volume Group.
this are the 9 luns from the Clariion array:
HLU Number ALU Number
---------- ----------
0 82
1 120
2 121
3 160
4 83
5 150
6 81
7 84
8 85
POWERPATH shows all luns.
pvdisplay -C --separator ' | ' -o pv_name,vg_name
PV | VG
/dev/emcpoweri1 | VolGroup01
/dev/emcpowerm | vg_data
/dev/emcpowern | vg_data
/dev/emcpowert | vg_data
/dev/sda2 | VolGroup00
/dev/sda5 | VolGroup00
WE do not know what luns belongs to what VG since the original host is already gone/won't boot.
Is there any idea on what to look at to figure out the VGs of the other LUNs that are NOT showing on PVSCAN ?
Thanks. We need to recover those data.


dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
May 12th, 2015 16:00
better be lucky than good yeah ?