Galileo Home Page  

Overview

User Guide

Available Software

FAQ

Help

About

     

Access to Remote Tape Drives from Galileo

Two (of many) possibilities:
  • (ssh,rsh)/tar/rmt

    First, set up a .rhosts file in your directory on the computer which has the tape drive attached to it. In the file, add a line reading:

    galileo.phys.virginia.edu userid
    (where 'userid' is your user name on Galileo). This will allow you to access the computer from Galileo via rsh or ssh. In order to use ssh, you must also make sure that:
    • sshd is running on the remote computer and is configured to allow access via "RhostsAuthentication" or "RhostsRSAAuthentication". This may require that Galileo appear in the machine's ssh_known_hosts file. See your system administrator if you need to reconfigure sshd.
    • your home directory on the remote computer is writeable only by you.
    • your .rhosts file is writeable only by you.

    Now, you should be able to access your tape drive by logging in to Galileo and using commands like this:

    tar tzvf remoteuser@remotehost:/dev/nst0
    for rsh, or:
    tar tzvf remoteuser@remotehost:/dev/nst0 --rsh-command=/common/bin/ssh
    for ssh, where 'remoteuser' is your user name on the remote computer and 'remotehost' is the name of the remote computer.

  • (ssh,rsh)/dd

    If you can't use tar, you can do the following:

    Create a .rhosts file, as above. Log into Galileo and use commands like this to get data from the remote tape:

    rsh remotehost -l remoteuser dd if=/dev/nst0 bs=120b > file.dat
    This will read raw data from a remote tape and dump it into the file 'file.dat' on Galileo. You can also pipe the data directly to a program running on Galileo, like so:
    (rsh remotehost -l remoteuser dd if=/dev/nst0 bs=120b) | myprogram
    where 'myprogram' is a program which reads data from stdin.


 
 
For More Information about Galileo, contact Bryan Wright.