Unsolved
This post is more than 5 years old
12 Posts
0
2695
Linux System Accessing Isilon SMB
We are in the process of migrating archive data from DiskXtender/Centera to Isilon. We have an application that accesses this data via jcifs. This is now not working with the Isilon.
Here is the error from the application:
SmbService | Fetching by using jcifs: [\\isilon\sharepath]
RemoteMethodCallHandler | START: remote method call
RemoteMethodCallHandler | Reading request
DiagnosticInputStream | Closing: 554 total bytes read
X00114 | UtilitiesException |
com.xxxxxxxx.eig.common.util.UtilitiesException: An error occured sending the request.
jcifs.smb.SmbException: An error occured sending the request.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
Any thoughts???
Thanks!
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
April 23rd, 2014 09:00
Hi Mark,
Here's a couple things I'd check first:
1) Depending on packages installed, it's usually possible to mount an smb share from the linux box. Can you test this?
2) What credentials are being used by your jcifs application? Are you connecting to the Isilon cluster through the correct SmartConnect Access Zone?
Yan_Faubert
117 Posts
0
April 25th, 2014 06:00
Just to add for completeness how I compile and run this program:
And I did validate the file actually got created on the cluster!
bubstep816
12 Posts
0
April 25th, 2014 06:00
I will test these out and let you know.
peglarr
99 Posts
0
April 25th, 2014 06:00
Thanks Yan - nicely done.
Interesting comparison on the # of lines of code needed for this technique versus doing a RESTful PUT of a given file.
Yan_Faubert
117 Posts
0
April 25th, 2014 06:00
I did a test with basic jcifs program and was able to create a file over SMB to a cluster that is joined to AD.
My environment:
OneFS (7.0.2.7):
Isilon OneFS yfvm-7027-2 v7.0.2.7 Isilon OneFS v7.0.2.7 B_7_0_2_263(RELEASE): 0x700025000700107:Thu Feb 27 12:40:26 PST 2014 root@fastbuild-05.west.isilon.com:/build/mnt/obj.RELEASE/build/mnt/src/sys/IQ.amd64.release amd64
Linux:
Debian Wheezy
Linux yfvm-deb1 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
Java:
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
Sample code I used with jcifs-krb5-1.3.17.jar:
Yan_Faubert
117 Posts
0
April 25th, 2014 07:00
This is my 'python' equivalent of what the previous sample is doing but using the RAN API.