NAME
hpss2dpss - copy a file at hpss to dpss. dpss2hpss - copy a file at dpss to hpss.SYNOPSIS
hpss2dpss [-d] [-v] x-hpss://hpss_host/[directory/]filename x-dpss://dpss_host/[filename]
dpss2hpss [-d] [-v] x-dpss://dpss_host/filename|set_id x-hpss://hpss_host/[directory/filename]
Two programs, one called 'hpss2dpss', which is the program that transfers files from the HPSS to the DPSS. The second program is called 'dpss2hpss', which transfers the data from the DPSS to the hpss. The arguments for these programs is fairly simple.OPTIONS
There are two options, "-v" and for verbose or "-d" for debug.
-vIf you pass the verbose flag, you will see all the pftp commands echoed to standard out as the program runs.
-dIf pass in the debug flag, you will see as it starts up the remote daemon process, and what those nodes are doing.
If you are having trouble running either of the programs you should first run them in verbose mode, and then if that doesn't work, both verbose and debug mode. If you check the syslog files (whereever you have FACILITY LOCAL0, and LEVEL LOG_NOTICE going) you should see something like :Oct 8 11:58:23 dpss3-pd.lbl.gov dp2hp_node[11201]: enviroment set:DPSSHOST=hpgw.lbl.gov Oct 8 11:58:23 dpss3-pd.lbl.gov dp2hp_node[11201]: enviroment set:HOME=/usr/local/DPSS Oct 8 11:58:23 dpss3-pd.lbl.gov dp2hp_node[11201]: we moved 65536 datawhich is showing the DPSSHOST variable and the HOME variable that you set in the inetd program. Then it is showing how much data was moved. If your not seeing these messages, it is possible that your remote nodes are misconfigured.In clipper.lbl.gov, we have hpss2dpss and dpss2hpss at /usrlocal/DPSS/bin. The PFTP_CONFIG_FILENAME should be set to "/usr/local/DPSS/.pftp.hosts" before running these program.
%setenv PFTP_CONFIG_FILENAME /usr/local/DPSS/.pftp.hostsYou should put .netrc at your home directory as explained at Configuration. You should change the read permissions of the .netrc file to be read only user, this can be accomplished by a "chmod 400 ~/.netrc".