# Problem mounting Linux share on Windows

**URL:** <https://discourse.chef.io/t/problem-mounting-linux-share-on-windows/8061>\
**Category:** Chef Infra (archive)\
**Created:** [March 24, 2016, 9:27pm UTC](https://discourse.chef.io/t/problem-mounting-linux-share-on-windows/8061 "2016-03-24T21:27:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/victor/32/1259_2.png) [@Victor](https://discourse.chef.io/u/Victor)\
**Post date:** [March 24, 2016, 9:27pm UTC](https://discourse.chef.io/t/problem-mounting-linux-share-on-windows/8061/1 "2016-03-24T21:27:51Z")

</div>

I can mount a Linux NFS share on Windows without issues,  
net use S: \rhel-fileserver\export

But the following recipe failed,  
mount ‘T:’ do  
action :mount  
device '\\rhel-fileserver\export’  
end

Error message:  
Recipe: mycookbook::default

- mount[T:] action mount[2016-03-24T14:11:19-07:00] INFO: Processing mount[T:] action mount (mycookbook::default line

1. 

```
================================================================================
Error executing action `mount` on resource 'mount[T:]'
================================================================================

ArgumentError
-------------
The network path was not found.
---- Begin Win32 API output ----
System Error Code: 53
System Error Message: The network path was not found.
---- End Win32 API output ----

Resource Declaration:
---------------------
# In c:/chef/cache/cookbooks/mycookbook/recipes/default.rb

 16: mount 'T:' do
 17: action :mount
 18: # provider Chef::Provider::Mount::Windows
 19: device '\\\\rhel-fileserver\\export'
 20: end
 21:

Compiled Resource:
------------------
# Declared in c:/chef/cache/cookbooks/mycookbook/recipes/default.rb:16:in `from_file'

mount("T:") do
  action [:mount]
  supports {:remount=>false}
  retries 0
  retry_delay 2
  default_guard_interpreter :default
  mount_point "T:"
  device "\\\\rhel-fileserver\\export"
  device_type :device
  fsck_device "-"
  fstype "auto"
  options ["defaults"]
  dump 0
  pass 2
  declared_type :mount
  cookbook_name "mycookbook"
  recipe_name "default"
end

```

Thanks in advance for any tips to fix this.
