Operating System - HP-UX
1830247 Members
2309 Online
110000 Solutions
New Discussion

Sharing files with another server.

 
Jeffrey F. Goldsmith
Super Advisor

Sharing files with another server.

We are migrating from an L2000 server with HP-UX 11.0 to an rp3440-4 server with HP-UX 11.23 and there are a lot of files that we want to copy from the L2000 to the rp3440 server.

What is the best way to copy these files so that they retain all their settings? I had used the tar command for some of them but that seems to be taking too long.

After that we created an LV on the L2000 and mounted it and shared it. Then it was NSF mounted to the rp3440 server. The users on the L2000 can write to the folder and the users on the rp3440 server can only read it. This doesn't seem to be working properly as the users on the L2000 are having problems with copying files to the shared folder.

Then there is a problem with the users on the rp3440 server to copy the files from the shared folder to the server.

I tired to ftp the files between the servers but when I do that the files loose their file settings.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Sharing files with another server.

Your fastest (free) method to retain all file metadata is to use fbackup/frecover. You could setup an fbackup | remsh frecover pipeline from the old server to the new. Fbackup/frecover also has the advantage of not being limited by file size as would tar and/or cpio.

Properly setup NFS should also be able to easily handle your needs. I suspect that the fundamental problem is mismatches UID/GID's between the two boxes. Using NFS well generally means a unified method of handling logins, UID's, and GID's such as NIS(+) or LDAP. Identical logins (including root) mean nothing in UNIX; everything relates to the UID's and GID's.
If it ain't broke, I can fix that.
Ganesh Balraman
Regular Advisor

Re: Sharing files with another server.

Dear Sir,

NFS is the best option to copy the fils between servers .

As you are saying permission realted errors are common not because of NFs.

KIndly try with options of nfs .

Regds
B.Ganesh