1826400 Members
4298 Online
109692 Solutions
New Discussion

snfs, nfs through ssh

 
SOLVED
Go to solution
pervalentinlund
Occasional Contributor

snfs, nfs through ssh

Hi
I would like to know if anyone have tried or have any experience with
snfs on hpux 11.11(nfs trough ssh, for details see http://www.math.ualberta.ca/imaging/snfs/).

Regards Per
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: snfs, nfs through ssh

Per,

Interesting! I've not tried it but I thought maybe I could fix your link for you:

http://www.math.ualberta.ca/imaging/snfs/


Pete

Pete
Dave Olker
Neighborhood Moderator

Re: snfs, nfs through ssh

Hello Per,

Yes, I played with this product and got it working on HP-UX.

However, there was a limitation on my HP-UX implementation where ALL NFS mounts had to be to the same NFS server. The reason is because on HP-UX you cannot change the port number or RPC program number that the MOUNT protocol and NFS protocol use. On Operating Systems like Linux, they offer parameters like "mountprog" and "nfsprog" and "mountport" and "nfsport".

Since HP-UX always uses program 100003 for NFS and 100005 for MOUNT, there is no way to override these program numbers and assign different servers to different program numbers. Therefore, all NFS-SSH traffic goes through a single SSH connection to a single NFS server.

If you don't mind the fact that all NFS traffic goes to a single server, then this little tool works fine. However, it does cause a major hit on performance, due to the SSH overhead.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
pervalentinlund
Occasional Contributor

Re: snfs, nfs through ssh

Hello Dave,

That all the NFS traffic goes to at single server is fine for my setup. I will try to use the tool in conjunction with one ignite-server which is behind a firewall and one node standing in a DMZ.
Right before I will start the ignite-backup I will initiate the ssh-tunnel, mount the file systems and let the ignite system do the backup though this tunnel.

I have downloaded the latest version sec_rpc-1.54.tar.gz but I have some troubles compiling the source. Se belov

rpc_psrv.c:206: error: `UDPMSGSIZE' undeclared (first use in this function)

The system I am trying to compile the source on is a L1500 PA-risk system with HPUX 11.11.
I am using gcc version 3.3.3 with binutils 2.14.
Do you have any idea what my problem is?
Dave Olker
Neighborhood Moderator

Re: snfs, nfs through ssh

Hello Per,

The last time I played with this it was revision 1.49, so it's been a while since I've played with it if the current drop is 1.54.

Back in the 1.49 code I needed to make changes to 4 different files in order to get the program to compile and run properly on HP-UX.

I believe the change I made to eliminate the UDPMSGSIZE issue was to uncomment the line:

#LIB = -lrpcsoc

in the Makefile.in file. However, that was merely one of the many changes I needed to make.

If you'd like, I can try downloading the 1.54 code later today (it's 6:30 AM here in California and the only reason I'm awake is because the garbage truck woke me up and see what changes I need to make to get it working. Hopefully it will only be a subset of the changes I made when I played with 1.45. After that I can post the diff's of the changes to this forum so that you could see what modifications I made to get it working.

Let me know if, or anyone else interested in getting SNFS working, would find this useful.

Regards,

Dave



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
pervalentinlund
Occasional Contributor

Re: snfs, nfs through ssh

Hello Dave
If you have the time, it would be great if you could do that.

Regards Per
Dave Olker
Neighborhood Moderator
Solution

Re: snfs, nfs through ssh

Hi Per,

I downloaded the 1.54 code and compared it against the 1.45 code I had previously modified. The authors have addressed a few of the issues that made me change the code but not all of them.

I still needed to make changes to the following files to get the product to compile without error and install correctly on my system:

Makefile.in
rpc_pcl.c
rpc_psrv.c
NFS/Makefile.in
NFS/TEMPLATE.in
NFS/perl/SNFS.pm.in

I've attached a gzipped tar file containing these files. If you replace the files in the 1.54 code drop with these versions (making backup copies first ;) then you should be able to get the product to build and install.

You'll still have to configure your environment and modify the TEMPLATE file according to the directions on the SNFS web site - or in the README.NFS file.

Also, I have not played with the SNIS product at all. I've only tried SNFS and made changes to the SNFS files to get it to compile/install.

I hope this gives you a good head start towards getting this to work.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo