Operating System - HP-UX
1836987 Members
2262 Online
110111 Solutions
New Discussion

Re: swcopy - getting error on tape device

 
SOLVED
Go to solution
Daniel M. Gonzales
Frequent Advisor

swcopy - getting error on tape device

Trying to run swcopy via the command line and TUI and getting a tape device error, and I'm not trying to use a tape device. Here's the command I'm executing:

===============================================
swcopy -x enforce_dependencies=false -x autoselect_dependencies=false -s host1:/tmp/openssh/zlib-1.1.3-sd-10.20.depot \* @ host2:/depot/security/1020/openssh_and_zlib_bundle
===============================================

and here's the error I'm getting:

===============================================
ERROR: The source you have chosen is a tape device which must be
local to the single selected target. Since the hostname of
the tape device "ahimsa1" does not match the hostname of the
single selected target "pbhy01", this source is not allowed.
* Selection had errors.
===============================================

What does it have a problem with my source?
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: swcopy - getting error on tape device

Daniel,

You can only copy the depot in valid directory format from system to system. .depot files cannot be installed/copied onto remote systems.

So, either you need to copy .depot file onto host2 and then swcopy or create a valid network depot on host1 by untarring and touching an "swlock" file in catalog directory.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Daniel M. Gonzales
Frequent Advisor

Re: swcopy - getting error on tape device

Thanks Sri. I did not know you could not copy a depot (via swcopy) from one host to another.