- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
After some troubleshooting I have check the same LUNs were presented to other vCenter and hosts.
After removing and set the proper permissions and configurations, we can see the LUNs again in devices, and also if I try to add a Datastore the LUNs are visible to add again(only as new).
Normally the hosts should pick up the datastore and put online and available, but for some reason they did not, so if I try to add the LUNs again as a Datastore this will reformat and destroy all data(there is still VMs in it), so my question is, how to add the LUNs again without formating them??
One example:
/dev/disks # ls -l | grep naa.60000970000292603672533030333136
-rw------- 1 root root 2319282339840 May 28 13:24 naa.60000970000292603672533030333136
-rw------- 1 root root 25148928 May 28 13:24 naa.60000970000292603672533030333136:1
-rw------- 1 root root 209715200 May 28 13:24 naa.60000970000292603672533030333136:2
-rw------- 1 root root 209715200 May 28 13:24 naa.60000970000292603672533030333136:3
-rw------- 1 root root 2318690942976 May 28 13:24 naa.60000970000292603672533030333136:4
lrwxrwxrwx 1 root root 36 May 28 13:24 vml.02000400006000097000029260367253303033313653594d4d4554 -> naa.60000970000292603672533030333136
lrwxrwxrwx 1 root root 38 May 28 13:24 vml.02000400006000097000029260367253303033313653594d4d4554:1 -> naa.60000970000292603672533030333136:1
lrwxrwxrwx 1 root root 38 May 28 13:24 vml.02000400006000097000029260367253303033313653594d4d4554:2 -> naa.60000970000292603672533030333136:2
lrwxrwxrwx 1 root root 38 May 28 13:24 vml.02000400006000097000029260367253303033313653594d4d4554:3 -> naa.60000970000292603672533030333136:3
lrwxrwxrwx 1 root root 38 May 28 13:24 vml.02000400006000097000029260367253303033313653594d4d4554:4 -> naa.60000970000292603672533030333136:4
Also checking LUN
/dev/disks # voma -m vmfs -f check -d /vmfs/devices/disks/naa.60000970000292603672533030333136
Checking if device is actively used by other hosts
Running VMFS Checker version 0.9 in check mode
Initializing LVM metadata, Basic Checks will be done
ERROR: Missing LVM Magic. Disk doesn't have valid LVM Device
ERROR: Failed to Initialize LVM Metadata
VOMA failed to check device : Not a Logical Volume
~ # esxcfg-mpath -L | grep naa.60000970000292603672533030333136
vmhba37:C1:T1:L4 state:active naa.60000970000292603672533030333136 vmhba37 1 1 4 NMP active san iqn.1998-01.com.vmware:sunblade-06-6c739bc6 00023d000002,iqn.1992-04.com.emc:50000974083961e4,t,1
vmhba37:C0:T1:L4 state:active naa.60000970000292603672533030333136 vmhba37 0 1 4 NMP active san iqn.1998-01.com.vmware:sunblade-06-6c739bc6 00023d000001,iqn.1992-04.com.emc:50000974083961e4,t,1
vmhba37:C1:T0:L4 state:active naa.60000970000292603672533030333136 vmhba37 1 0 4 NMP active san iqn.1998-01.com.vmware:sunblade-06-6c739bc6 00023d000002,iqn.1992-04.com.emc:50000974083961a0,t,1
vmhba37:C0:T0:L4 state:active naa.60000970000292603672533030333136 vmhba37 0 0 4 NMP active san iqn.1998-01.com.vmware:sunblade-06-6c739bc6 00023d000001,iqn.1992-04.com.emc:50000974083961a0,t,1
~ # esxcfg-mpath -b -d naa.60000970000292603672533030333136
naa.60000970000292603672533030333136 : EMC iSCSI Disk (naa.60000970000292603672533030333136)
vmhba37:C0:T0:L4 LUN:4 state:active iscsi Adapter: iqn.1998-01.com.vmware:sunblade-06-6c739bc6 Target: IQN=iqn.1992-04.com.emc:50000974083961a0 Alias= Session=00023d000001 PortalTag=1
vmhba37:C1:T0:L4 LUN:4 state:active iscsi Adapter: iqn.1998-01.com.vmware:sunblade-06-6c739bc6 Target: IQN=iqn.1992-04.com.emc:50000974083961a0 Alias= Session=00023d000002 PortalTag=1
vmhba37:C0:T1:L4 LUN:4 state:active iscsi Adapter: iqn.1998-01.com.vmware:sunblade-06-6c739bc6 Target: IQN=iqn.1992-04.com.emc:50000974083961e4 Alias= Session=00023d000001 PortalTag=1
vmhba37:C1:T1:L4 LUN:4 state:active iscsi Adapter: iqn.1998-01.com.vmware:sunblade-06-6c739bc6 Target: IQN=iqn.1992-04.com.emc:50000974083961e4 Alias= Session=00023d000002 PortalTag=1
LUN 4 and active, cant find any issues here. So host should add the LUN in the host as datastore automatically,
So how can I add this without formating the LUN?
Thank You
NW