Hi,
Have my NFS configure in Ubuntu and mapping to Windows Server
mount 'T:' do
action :mount
device '\\9.10.22.10\var\nfs\general'
end
Iam able to mount the same via in command line successfully
net use H: \9.10.22.10\var\nfs\general
Please let me know any alternate method to follow
Thanks
Caused by Chef::Exceptions::Win32APIError: 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 ----
ruby_block[Create Directory] action run[2018-08-15T12:14:31+05:30] INFO: Processing ruby_block[Create Directory] action run (testing::default line 8)
(skipped due to not_if)
mount[T:] action mount[2018-08-15T12:14:31+05:30] INFO: Processing mount[T:] action mount (testing::default line 18)
================================================================================
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/testing/recipes/default.rb
18: mount 'T:' do
19: action :mount
20: device '\\hostname\var\nfs\general'
21: end
22:
Compiled Resource:
Declared in c:/chef/cache/cookbooks/testing/recipes/default.rb:18:in `from_file'
[2018-08-15T12:14:34+05:30] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2018-08-15T12:14:34+05:30] ERROR: Running exception handlers
Running handlers complete
[2018-08-15T12:14:34+05:30] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 05 seconds
[2018-08-15T12:14:34+05:30] INFO: Sending resource update report (run-id: ba0013e6-067b-445e-a32b-a06534bb9e15)
[2018-08-15T12:14:34+05:30] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
[2018-08-15T12:14:34+05:30] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-15T12:14:34+05:30] FATAL: ArgumentError: mount[T:] (testing::default line 18) had an error: 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 ----