VMware Cloud Community
steadydee
Contributor
Contributor

Failure of RDM mapping of local SATA storage

I'm struggling with an RDM mapping to local SATA storage. I have a P9x79 WS mobo running ESXi 5.1. I want to use FreeNAS in a VM with two Western Digital Red 3 TB drives. When I follow the steps to create raw device mappings, it keeps failing with a "Function not implemented" error. I've tried using vmkfstools with both -r and -z flags but both fail. Here are my steps:

/vmfs/volumes/e2b67ced-ed7370dc-3130-aeab521dbd87/RDMs # esxcfg-scsidevs -l | eg
rep '^[^ ]|Devfs Path'
mpx.vmhba32:C0:T0:L0
   Devfs Path: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0
mpx.vmhba44:C0:T0:L0
   Devfs Path: /vmfs/devices/cdrom/mpx.vmhba44:C0:T0:L0
t10.ATA_____SAMSUNG_SSD_830_Series__________________S0Z4NEAC924335______
   Devfs Path: /vmfs/devices/disks/t10.ATA_____SAMSUNG_SSD_830_Series__________________S0Z4NEAC924335______
t10.ATA_____WDC_WD20EFRX2D68AX9N0_________________________WD2DWMC300238202
   Devfs Path: /vmfs/devices/disks/t10.ATA_____WDC_WD20EFRX2D68AX9N0_________________________WD2DWMC300238202
t10.ATA_____WDC_WD20EFRX2D68AX9N0_________________________WD2DWMC300239911
   Devfs Path: /vmfs/devices/disks/t10.ATA_____WDC_WD20EFRX2D68AX9N0_________________________WD2DWMC300239911
/vmfs/volumes/e2b67ced-ed7370dc-3130-aeab521dbd87/RDMs # vmkfstools -r /vmfs/dev
ices/disks/t10.ATA_____WDC_WD20EFRX2D68AX9N0_________________________WD2DWMC3002
38202 /vmfs/volumes/e2b67ced-ed7370dc-3130-aeab521dbd87/RDMs/RDM1.vmdk -a lsilogic

Failed to create virtual disk: Function not implemented (2490377).
I've tried to follow the steps here:
Thank you!!
Reply
0 Kudos
4 Replies
steadydee
Contributor
Contributor

Does anyone have any thoughts on troubleshooting this? Is there more information I can provide?

Thanks!

Reply
0 Kudos
TomHowarth
Leadership
Leadership

RDMs are for use against remote storage local.  what exactly are you trying to do?

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
steadydee
Contributor
Contributor

Hi Tom. This is for my home and my lab and I'm out of money to buy another box to set up remote storage. I'm going to use the drives to store data for the VM's I'm using. I've seen a number of people using vmkfstools to create a raw disk mapping to local storage and wanted to do the same. Any thoughts on how I might troubleshoot this?

Thanks!

Reply
0 Kudos
steadydee
Contributor
Contributor

It ended up working. I was running the command from the wrong directory under /vmfs/volumes. Both my drives are available to FreeNAS. Life is good!

Reply
0 Kudos