How can I use HSI or HTAR under Cygwin in Windows?
The Cygwin tools are ports of the popular GNU development tools for Microsoft Windows. They use the Cygwin library, which provides the Unix system calls and environment these programs expect. With Cygwin installed on your Windows computer, you can use tools such as HSI or HTAR to connect to HPSS/MDSS at Indiana University. HSI is fast, robust, and user friendly, and provides the best performance interface between IU's supercomputers and HPSS. HSI also automatically selects the best class of service for a given upload.
You can download Cygwin from:
http://www.cygwin.com/mirrors.htmlIf you're at IU, you can use Cygwin from XLiveCD, which is available at:
http://xlivecd.indiana.edu/You can download versions of HSI and HTAR that work with Cygwin from:
https://rfs.iu.edu/clients/
To run HSI/HTAR under Cygwin, you need to unblock the Windows
firewall for HSI data transfer. Use the firewall
-on command to get around the firewall if you can't modify the
firewall rules.
If you use Unix or FTP, HSI commands will seem familiar. Following is
a sample session (% is the Unix shell prompt;
? is the HSI prompt):
%
% hsi
Principal: jdoe
[jdoe]Password:
Username: jdoe UID: 11021 CC: 11021 Copies: 1 [hsi.3.3.3 Fri
Jan 12 13:36:06 EST 2007]
?
? put myfile1.dat
put myfile1.dat : /hpss/j/d/jdoe/myfile.dat ( 10485760 bytes,
12283.4 KBS (cos=3))
? cd test2
? get myfile2.mov
Scheduler: retrieving file(s)
get myfile2.mov : /hpss/j/d/jdoe/movies/myfile2.dat
(2005/09/29 08:49:03 10485760 bytes, 16842.8 KBS )
Below is an example for using HTAR once you have opened a Cygwin command shell:
Desktop> ./htar.exe cf test/t.tar "My Documents" Principal: jdoe [jdoe]Password: ERROR: Error 2 creating temporary index file /cygdrive/c/tmp/HTAR_INX_876_1178118205 HTAR: HTAR FAILED Username: jdoe UID: 11021 CC: 11021 Copies: 1 [hsi.3.3.3 Fri Apr 20 14:26:55 EDT 2007] ?The error above can be fixed by creating the
/cygdrive/c/tmp directory.
After you fix that error, the following error may appear:
Warning: "Network Options" section not found in HPSS.conf file ERROR: [unsigned32ToOctal]Octal field [thb_uid] overflow - width=8 value=-1 ERROR: [unsigned32ToOctal]Octal field [thb_uid] overflow - width=8 value=-1 ERROR: [unsigned32ToOctal]Octal field [thb_uid] overflow - width=8 value=-1 HTAR: HTAR SUCCESSFULYou can ignore this error.
For more, see At IU, how do I use HSI to access my MDSS account?
Last modified on August 27, 2008.







