SystemsHPSS Mass Storage |
Accessing HPSS - HSIHSI is a flexible and powerful interface utility to HPSS. The HSI commands are similar to those in ftp and pftp (e.g., put and mput) and UNIX (e.g., mv, mkdir, rm, cp, cd). HSI also has commands similar to those in CFS. HSI can be used both interactively or in batch scripts. A related utility, HTAR, is useful for archiving multiple files to HPSS without using the intermediate local file storage that would be needed if one first used the tar utility followed by HSI. There are man pages for HSI on production NERSC computers. For documentation on HSI (version 3.4+) see the HSI 3.4 documentation.AuthenticationAuthentication on the HPSS systems is accomplished by using your NIM username and a HPSS authentication token, or by placing the NIM username and HPSS authentication token in a .netrc file in your HOME directory. See the HPSS Passwords page for details. Connecting with HSITo connect to the main user system (archive): % hsi -h archive.nersc.gov
NERSC's other HPSS system - the original HPSS system at NERSC - is named "hpss". (It seemed like a good idea at the time, but now causes confusion. It is known internally as "regent"). This system is now used for backups, and does not offer the same capacity and performance as "archive." However, it does contain some older user data. To connect to it, use the command: % hsi -h hpss.nersc.gov Starting and Using HSIHSI can accept input several different ways; some examples:
HSI can also read from standard input and write to standard output using pipes. For "get" and "put" operations, HSI uses a special syntax to identify and separate the local and HPSS file names:
Examples: % put local_file : hpss_file % get local_file : hpss_file Recursive operations are allowed for the following commands:
cget, chgrp, chmod, chown, cput
delete, get, ls, mdelete, mget, mput
put, rm, stage, touch
Wildcards are supported. Frequently Used CommandsHSI's command set is rich, and will look familiar to users of UNIX, FTP, and other storage utilities. A small set of commands will satisfy most user storage needs. Short List of HSI Commands by Function
HPSS File and Directory Commands
Local File and Directory Commands
File Administrative Information
Miscellaneous HSI commands
|
![]() |
Page last modified: Tue, 27 Jan 2009 21:05:03 GMT Page URL: http://www.nersc.gov/nusers/systems/hpss/usage_hsi.php Web contact: webmaster@nersc.gov Computing questions: consult@nersc.gov Privacy and Security Notice |
![]() |