Welcome to iraf.net Friday, May 17 2024 @ 04:01 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 SCSI tape drives on a Mac...
   
massey
 04/01/2006 05:52PM (Read 5600 times)  
+++++
Active Member

Status: offline


Registered: 02/10/2006
Posts: 162
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

 
Profile Email Website
 Quote
fitz
 04/01/2006 05:52PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
"Easy" and "Hard" are such relative terms 8-) 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

 
Profile Email
 Quote
massey
 04/01/2006 05:52PM  
+++++
Active Member

Status: offline


Registered: 02/10/2006
Posts: 162
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 ntape0Note 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.

 
Profile Email Website
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login