<p>Firstly I succesfully mounted, my Linux path on Pod.
I used azure file share and mounted folders appear on File Share.</p>
<pre><code>    volumeMounts:
      - name: ads-filesharevolume
        mountPath: /opt/front/arena/host
  volumes:
  - name: ads-filesharevolume
    azureFile:
      secretName: fa-fileshare-secret
      shareName: faselectaksshare
      readOnly: false
</code></pre>
<p>Now on File Share I added one subfolder &quot;windows&quot; for mounting, in logs it mentions it is being mounted properly but I do not have anything mounted (folders and files do not appear on mounted share like it is the case for Linux)</p>
<pre><code>   args: [ &quot;-license_file&quot;, &quot;C:/Host/dat/license.dat&quot;,
           &quot;-key_file&quot;, &quot;C:/Host/dat/license.key&quot;]
    volumeMounts:
      - name: ads-win-filesharevolume
        mountPath: &quot;C:\\host&quot;
  volumes:
  - name: ads-win-filesharevolume
    azureFile:
      secretName: fa-fileshare-secret
      shareName: faselectaksshare\windows
      readOnly: false
</code></pre>
<p>For mountPath I tried with: <code>C:\\host</code> and <code>C:/host</code> and <code>/c/host</code>
Also for shareName I initially tried with <code>faselectaksshare/windows</code> but it threw an exception.</p>
<p>In Pod describe I can see that everything seems OK, but my expected folders from C:/host do not appear in my Azure File Share path in windows subfolder. I receive similar output for all other cases as well.</p>
<pre><code> Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-nx49r (ro)
      C:/host from ads-win-filesharevolume (rw)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  ads-win-filesharevolume:
    Type:        AzureFile (an Azure File Service mount on the host and bind mount to the pod)
    SecretName:  fa-fileshare-secret
    ShareName:   faselectaksshare\windows
    ReadOnly:    false
</code></pre>
<p>Please help! Thanks</p>
<p><em><strong>UPDATE:</strong></em>
I also tried this approach with subPath and again I do not get any folders mounted. Also I do not get any error in log or in describe pod command</p>
<pre><code>volumeMounts:
  - name: ads-filesharevolume
    mountPath: /host
    subPath: windows
  volumes:
  - name: ads-filesharevolume
    azureFile:
      secretName: fa-fileshare-secret
      shareName: faselectaksshare
      readOnly: false
</code></pre>

<p>According to the following thread,  wsl2 doesn't yet support hostPath volumes.</p>
<p>Thread Source: <a href="https://github.com/docker/for-win/issues/5325" rel="nofollow noreferrer">https://github.com/docker/for-win/issues/5325</a>
Look at this comment: <a href="https://github.com/docker/for-win/issues/5325#issuecomment-570683131" rel="nofollow noreferrer">https://github.com/docker/for-win/issues/5325#issuecomment-570683131</a></p>
<p>Try changing this line</p>
<pre><code> # For &quot;C://host&quot;
 mountPath: /run/desktop/mnt/host/c/host
</code></pre>
