Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SCSI tape drives on a Mac...

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
massey
Esteemed IRAF Fellow


Joined: 10 Feb 2006
Posts: 135
Location: Flagstaff

PostPosted: Sat Apr 01, 2006 5:52 pm    Post subject: SCSI tape drives on a Mac... Reply with quote

Mike:

In my on-going quest to retire my Sun, I've installed a SCSI card in my G5 Mac,
and about to stcik on my DDS4 and Exabyte tape drives. I'd like to be able to use these in IRAF. Any idea if this is going to be easy or hard?

thanks,
phil
Back to top
View user's profile Send private message Visit poster's website
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Sat Apr 01, 2006 7:00 pm    Post subject: Reply with quote

"Easy" and "Hard" are such relative terms Cool We've never been asked about tape support in OSX and last I looked there was no/little native framework in the system to support tapes, so I'd lean towards hard on this. You could always just try it using and existing tapecap entry but keep in mind that commandline tools like 'mt' are normally used to debug tapecaps and I don't see that on my system. A lot may depend on the vendor of your scsi card, check their site for drivers and OSX peculiars first and don't even mess with IRAF until you've got the drive working under OSX first. In the worst case, the iraf kernel tape driver may need work, but there are other ways to read/write FITS tapes so long as you can read/write the tape outside of iraf.

Cheers,
-Mike
Back to top
View user's profile Send private message
massey
Esteemed IRAF Fellow


Joined: 10 Feb 2006
Posts: 135
Location: Flagstaff

PostPosted: Wed Apr 05, 2006 1:41 am    Post subject: Reply with quote

OK, I now know more about this than possibly I wanted to know. Deidre's been looking into this, and here's what we've established. I'm posting this here just in case anyone else is considering this.

a) The ATTOTECH SCSI card apparently has the reputation of being very Mac compatable.
b) But, there are no tape commands in OSX.

Here's what Deidre's wrote:

I now understand tape drives under MacOSX, at least at the level necessary to move forward. The bottom line is: MacOSX does not have any mechanism for doing tapes. It has tar and some other utilities, but these do not know anything about tape drives. You have to have/get an application that can interface between a command like tar and the tape drive.

One such product is the commercially-available TOLIS Tape Tools. The Tools are "a set of utilities that enables the transfer of the contents of any tar, cpio, or pax-formatted tapes onto a Mac OSX system. Regardless of whichever system platform on which the tapes were originally created .. TOLIS Tape Tools supports every tape technology and tape format ... The Tools are also transport layer independent. This ... means no special drivers are needed." Commands are issued on the command line.

Examples:

To rewind the tape: tapectl -f ntape0 rewind
To position the tape forward 2 file marks: tapectl -f ntape0 fsf 2
To read a tar tape: taperead -f ntape0 | tar -xvf -
To write a tar tape: tar -cvf - /users/dah | tapewrite -f ntape0

Note 1: If you type "tapectl display", it searches all busses and reports any type 1 SCSI, Fibre-Channel, Firewire, or USB. They name the devices ntapeX, starting with X=0. The default is X=0, and ntape0 could have been left out of the above commands. They support multiple tape drives.

Note 2: When reading and writing tar tapes, you have to specify the buffer size if it is not the default buffer size of 20. tar on the Suns was able to figure out the buffer size itself.

Note 3: To read or write FITS tapes, you would need to have an application that you could pipe the data into. So, I don't know if this would work with IRAF. However, I have AIPS running and it has tape utilities, including reading FITS tapes, although I haven't tested it yet.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds