Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

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 HSI or HTAR to connect to HPSS/SDA 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.

At IU, you can use Cygwin from XLiveCD, which is available from this page (IU Network ID required). You also can download Cygwin from the Cygwin Mirror Sites page.

At IU, you can download versions of HSI and HTAR that work with Cygwin from this page (IU Network ID required.)

To run HSI/HTAR under Cygwin, you need to unblock the Windows firewall for HSI data transfer (see When I retrieve files from SDA using HSI, why am I getting "*** get: Error -1 on 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 2011] ? ? 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 (2010/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 2010] ?

The error above can be fixed by creating the /cygdrive/c/tmp directory.

For more, see At IU, how do I use HSI to access my SDA account?

This is document avck in domain all.
Last modified on June 06, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.