We're replacing several hundred file servers with virtuals, and swinging the PB's of data as RDMs. Anyone working with RDMs in volume knows how much of a PITA it is. I wrote this script to allow us to present several VMs worth of LUNs to an esx cluster. Using the UUID / HOSTNAME export from the storage group, I can map their luns and add them as RAW physicals to the VMs. You can edit the command if you want for raw virtuals etc.