Hi,
I am using SAS Viya environment 3.2 [Viya release V03] enterprise edition, the product is install on Linux on multiple machines; one MAS, one is CAS, and six workers. I am not able to map a shared network drive to use as a data source. Here what I am doing:
Going to SAS Visual Analytics > click on Data > click on Data Sources > click on cas-shared-default > click on Connect
Under connection settings; enter Name, Server; cas-shared-default > Type; File System > Select source type; PATH
Under settings [Specify the PATH connection information], \\san1\data
When I click on Test Connection, I am getting the following error.
[
The path specified for caslib Shared is not an absolute path:\\san1\data/. The action stopped due to errors.
code:2-0-2640551
property: PERM_NOT_ABSOLUTE
uri:/casManagement/servers/cas-shared-default/caslibs
path:/SASDataExplorer/ui/datasources/validation
tracedId:f343390a0c1409c3
]
Please let me know if anyone can lead to resolve this issue. Thanks.
Hi @mimran,
yes, you need a cifs mount, that will make a normal Linux directory (/directory1/directory2) point to the sharef folder (//path1/dir3).
To facilitatethe multithreaded read/write, you better enable this in all machines, however, not needed: the real path that needs access from every node is the CAS cache location (which should be already OK when you did the initial install).
Be aware that the backslash has a completely different meaning on UNIX than it has on Windows.
Use forward slashes.
No that didn't work for me. I have tried with forward slashes as well but getting the same error, backslash worked in windows.
I'd start with the CAS as that's where your error message originates from. At least so it seems to me.
I have asked Linux Admin to mount shared drive on CAS server so waiting to hear back and test in SAS Viya environment. I will update further the steps and outcome. Thanks.
Ask your Linux administrators on which directory the network share is mounted, and use that path.
Should this mount need to be on CAS or MS or all workers servers? Is there a document that shows step by step instructions?
Hi @mimran,
yes, you need a cifs mount, that will make a normal Linux directory (/directory1/directory2) point to the sharef folder (//path1/dir3).
To facilitatethe multithreaded read/write, you better enable this in all machines, however, not needed: the real path that needs access from every node is the CAS cache location (which should be already OK when you did the initial install).
@Kurt_Bremser@JuanS_OCS Thank you! I was able to successfully mapped the drive.
Glad to hear!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.