Top Posts
Offline VMware Cloud Foundation 9 Depot: Your Path...
VMware Cloud Foundation 9: Simplifying Identity with a...
What’s New In VMware Cloud Foundation 9.0
Deploying & Configuring the VMware LCM Bundle Utility...
VMware Cloud Foundation: Don’t Forget About SSO Service...
VMware Explore Las Vegas 2025: Illuminating the Path...
Securing Software Updates for VMware Cloud Foundation: What...
VMware Cloud Foundation 5.2: A Guide to Simplified...
VMware Cloud Foundation 5.2: Unlocking Secure Hybrid Cloud...
VMware Cloud Foundation – Memory Tiering: Optimizing Memory...
Virtual Bytes
  • Home
  • Home Data Center 2025
  • VMware
    • Cloud
    • Datacenter & Cloud Infrastructure
      • VMware ESXi
      • VMware vCenter
      • VMware vSAN
    • Networking & Security
    • Desktop & App Virtualization
      • Omnissa Horizon
    • Troubleshooting
    • Ansible
  • Education
  • Hardware
    • Hardware Tips & Tricks
  • Events
  • About
    • About Me
    • Home Lab Archives
      • Home Lab 2020-2022
      • Home Lab 2016-2020
Tag:

Supporting

VMware ESXi

TrueNAS Scale – iSCSI & VMware vSphere 7.x

by Tommy Grot September 27, 2022
written by Tommy Grot 3 minutes read

Tonight’s topic is about TrueNAS Scale and VMware vSphere 7.x integration and setup for iSCSI. I have been reading lots of topics and support forums where not many posts have the correct tuning / settings.

The issue: When you try to mount a iSCSI LUN to vSphere 7, it will try to format that new iSCSI LUN and it will error out – ATP, error – check VMkernel logs, the interesting thing is that VMFS 5 was able to format the new LUN i created, so i did that as a test to know that I have network connectivtity along with being able to ping the iSCSI Server on the dedicated network. After that I started doing troubleshooting to pin point the issue, after some trial and error I found the issue! Below I will walk you through configuration from TrueNAS Scale side.

Disclaimer! – All tweaks and steps here I have done on a fresh TrueNAS Unit, do not try if you don’t have anything backed up. This is solely under your own risk!

So, first things first! Let’s create our zVol and create an allocated space for your iSCSI LUN.

Versions

  • TrueNAS-SCALE-22.02.3
  • VMware ESXi, 7.0.3, 20036589

Then change the Record Size to 16K, under the whole pool. This is required for VMFS 6!

Then we will go to Sharing page – Click Add for Block (iSCSI) Shares Target

Setup the settings for Base Name (usually this come by default, buti if you need to change you can)

I have dedicated 2 x 40Gb Bonded (LACP) Mellanox Connect X3 and my backbone is a Arista DCS-7050QX-32S-F, so for the iSCSI Portal I have a dedicated isolated subnet that is Layer 2 only no routing and Jumbo Frames (9214)

Add your multiple hosts and their IQNs from your software iSCSI adapter or hardware iSCSI adapter if you have one.

Since I have an isolated subnet I skipped Authorized Access.

Now, we will setup the iSCSI Target, you will need to add name and the iSCSI group make sure you have your Portal setup and all the IQNs populated in a group

Next we will add an extent and map the device after you have created the previous pre-reqs

Name: (your Extent Name)

Extent Type: Device

Device: (zvol/yournasname)

Logical Block Size 512 – this is important your VMFS 6 wont like it along with the other sector and record sizes

Check Disable Physical Block Size Reporting

Then associate your target to your LUN ID, by default it will use the next available one. Then map that to your extent name

After you finshed, your creation of the iSCSI portion on TrueNAS, then go back to you vCenter Server or ESXi and re-scan HBA and Storage and you should see TrueNAS iSCSI pop up!

Then right click on the Data Center object- Storage – New Datastore

VMFS

Select the Storage Pool that is presented in the window, once you do, click next and select all storage capacity for the next window and then hit finish! Below you should see your new iSCSI LUN! 🙂

September 27, 2022 4 comments 6.2K views
2 FacebookTwitterLinkedinEmail




Recent Posts

  • Offline VMware Cloud Foundation 9 Depot: Your Path to Air-Gapped Deployments
  • VMware Cloud Foundation 9: Simplifying Identity with a Unified SSO Experience
  • What’s New In VMware Cloud Foundation 9.0
  • Deploying & Configuring the VMware LCM Bundle Utility on Photon OS: A Step-by-Step Guide
  • VMware Cloud Foundation: Don’t Forget About SSO Service Accounts

AI cloud Cloud Computing cloud director configure cyber security director dns domain controller ESXi How To las vegas llm llms multicloud NSx NSX-T 3.2.0 NVMe sddc security servers ssh storage tenant upgrade vcd vcda VCDX vcenter VCF vcf 9 VDC vexpert Virtual Machines VMs vmware vmware.com vmware aria VMware Cloud Foundation VMware cluster VMware Explore VMware NSX vrslcm vsan walkthrough

  • Twitter
  • Instagram
  • Linkedin
  • Youtube

@2023 - All Right Reserved. Designed and Developed by Virtual Bytes

Virtual Bytes
  • Home
  • Home Data Center 2025
  • VMware
    • Cloud
    • Datacenter & Cloud Infrastructure
      • VMware ESXi
      • VMware vCenter
      • VMware vSAN
    • Networking & Security
    • Desktop & App Virtualization
      • Omnissa Horizon
    • Troubleshooting
    • Ansible
  • Education
  • Hardware
    • Hardware Tips & Tricks
  • Events
  • About
    • About Me
    • Home Lab Archives
      • Home Lab 2020-2022
      • Home Lab 2016-2020