DaveQuance
asked on
Match a logical drive from my RAID to vSphere volume.
I have a punctured array on my Cisco C class server (LSI MegaRAID SAS 9266-8i card). I'm replacing the drives and going to re-initialize the array but I'm not certain which it is in my vSphere setup. I have two identically sized logical drives, I moved all the data off of the one that I *thought* had the puncture but now I'm starting to second guess that (the drives on the one I thought had data are quiet and the one I thought was empty and has the puncture is blinking a lot of activity).
I tried the following commands from the vSphere shell but am having trouble finding any info to tie the logical volume to the storage in VMware with certainty. Can someone explain to me how to do this as I'm not seeing anything matching between them?
./MegaCli -LDInfo -Lall -aAll
./MegaCli -AdpAllInfo aAll
I tried the following commands from the vSphere shell but am having trouble finding any info to tie the logical volume to the storage in VMware with certainty. Can someone explain to me how to do this as I'm not seeing anything matching between them?
./MegaCli -LDInfo -Lall -aAll
./MegaCli -AdpAllInfo aAll
ASKER
Apologies if I don't properly answer all the questions. I know in my server management card it's the second RAID 5, disks 6-8 that need to be replaced but I'm not certain which it is in vSphere and I obviously don't want to accidentally wipe the data.
There are 3 logical drives:
Logical Volume 1 - RAID 1 where ESXI is installed
Logical Volume 2 - RAID 5 datastore volume (added after install)
Logical Volume 3 - RAID 5 datastore volume (added after install)
Attached are outputs.
MegaCLI-LogicalDrives.txt
ESXi-Partitions.txt
There are 3 logical drives:
Logical Volume 1 - RAID 1 where ESXI is installed
Logical Volume 2 - RAID 5 datastore volume (added after install)
Logical Volume 3 - RAID 5 datastore volume (added after install)
Attached are outputs.
MegaCLI-LogicalDrives.txt
ESXi-Partitions.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I see a Runtime name for each:
vmhba0:C2:T0:L0
vmhba0:C2:T1:L0 -> (naa...f2 VH05_R5-A2
vmhba0:C2:T2:L0 -> (naa...dc) VH05_R5-A1
I think the T0 - T2 correlate with my logical drive volume numbers. I'm just reading through that link to be 100%, thank you so far and I'll try to get this confirmed and points awarded shortly.
vmhba0:C2:T0:L0
vmhba0:C2:T1:L0 -> (naa...f2 VH05_R5-A2
vmhba0:C2:T2:L0 -> (naa...dc) VH05_R5-A1
I think the T0 - T2 correlate with my logical drive volume numbers. I'm just reading through that link to be 100%, thank you so far and I'll try to get this confirmed and points awarded shortly.
I would agree, T0, T1, T2 are the LUNs, or arrays, logical disks.
if you have three,
ESXi OS
datastore1
datastore2
you should be able to see disk access, and all lights flashing on the actual disks, if you copy to a datastore, to confirm.
e.g. upload an iso to VH05_R5-A1 etc
if you have three,
ESXi OS
datastore1
datastore2
you should be able to see disk access, and all lights flashing on the actual disks, if you copy to a datastore, to confirm.
e.g. upload an iso to VH05_R5-A1 etc
ASKER
I appreciate the help and how quickly you responded. Thank you again.
what is the make up of the installation?
two arrays/logical disks ?
one with the ESXi OS and the other a datastore volume ?
You should be able to detect which has a VMFS single partition, and which has multiple partitions (this is the ESXi OS).
using fdisk, df -h, partedutil