?
Solved

Get info on our IRIX scsi devices...

Posted on 1998-01-19
6
Medium Priority
?
457 Views
Last Modified: 2013-12-16
Hi...

I am part of a small (me and another guy) Solaris 2.4 admin team, looking after two SparcServers and 50 or so users. For our sins we have recently been given charge of a SGI runing IRIX 6.2. on our local network.

We need to install a tape drive on this machine (network backups are no longer wanted).

Here are a few questions.

How can I find the target ID of the internal?
It doesn't look like there is one. There is no format utility that we're used to. and df -k does'nt show what root's partition is.

How then do we bring it to some kinda
prom level that we're used to. There is no stop 'A' on the keyboard, We would like to do a probe-scsi or equivalent.

Also any useful info on installing a tape drive would be appreciated.

This is an easy one for you IRIX bods ;-)

regards
0
Comment
Question by:rickyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dhm
ID: 1812878
"hinv" will print out lots of information about the machine, including the IDs of the SCSI devices.  The internal disk is usually ID 1...be careful: the SGI motherboard considers itself ID 0 (in contrast to every other host I've seen, which all pick 7).

You have an opportunity to get to the SGI equivalent of the boot prom when the machine boots: on a machine with video, it'll pop up a box that says "Click here for maintenance" or something like that.  On serial-console-only machines, hit return a few times when it's booting up and you'll get there.  (Maybe you'll have to hit ^C or something, but my Origin stops in the prom mode [I haven't figured out how to get it to do unattended boots, but it must be possible].)  The SGI boot prom mode isn't very useful, but you can run "hinv" there too.

Other gotchas:

SGIs ship with one giant partition, and it's pretty involved to do a proper partitioning job.  The SCSI disk device files are pretty standard: major number indicates driver; minor indicates SCSI ID and partition.  However, SGI creates another node in /dev with the same major/minor numbers but the name "root"; it's usually that device that is listed in fstab (unless an admin with half a clue set up the machine).

The last tape I installed on an SGI was an HP 4mm DAT drive under IRIX-5.3.  It doesn't work consistently, but it was too much pain to figure out, so I just back up over the network to a Linux box with a DLT library.

0
 

Expert Comment

by:cpranderia
ID: 1812879
Hi,

I have just done what you want to do. I have installed an Exabyte 8mm drive (which is in fact Sun branded and used to be attached to an Ultra 170e) to an SGI Indy running Irix 6.2.

Remarkably, the process was as simple as installing the drive, setting the SCSI ID number in the back of the drive (with the caveats above taken in to consideration) and re-booting. Irix should automatically make all the devices and links to them as it boots. Depending on the exact drive you have you will have typically /dev/tape, /dev/tapens (no byte swapping), /dev/nrtape (no rewind device - different from /dev/rmt/0n which it was on my Solaris machine) and /dev/nrtapens - you can guess what.

However I have experienced some some other problems.

- SGI machines seem to have rather frail SCSI buses. Warnings from tape drives which never gave any error message on a Sun machine can be profuse on SGI. Keep your SCSI cable as short as possible and ideally have only a couple of devices on it.

- xfsdump. Your 6.2 machine may have an xfs file system. I don't know how you plan to use your tape drive for backup, but almost every method seems to be difficult on SGI. If you use xfsdump, the tape *always* rewinds whatever device you use. This makes it difficult to keep multiple archives on one tape. xfsdump seems to take over any tape it writes to - I find it impossible to write anything to my drive after using this utility and I usually have to reset the SCSI bus or reboot.

By the way, dhm, doesn't 'reboot' do an unattended boot?

If you suspect that the Irix machine may have had a tape drive attached in the past or you need to run MAKEDEV manually, come back to me....
0
 
LVL 3

Author Comment

by:rickyr
ID: 1812880
Hi dhm...
Sorry to reject your answer as it was quite helpful.
however I feel that cpranderia provided me with everything I needed to know, and the No rewind info was invaluable to me.
So I'd like to give the points to cpranderia, so if cpranderia
would like to acknowledge, then they get the points.
Thanks for everyones input.
regards
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Accepted Solution

by:
cpranderia earned 200 total points
ID: 1812881
rickyr,

Thanks for the offer of points. This is the first question I have answered on Experts Exchange! Glad to have helped
0
 

Expert Comment

by:cpranderia
ID: 1812882
Hi rickyr,

I've been a bit stoopid in the way I have answered your question. Can you reject my answer so that I can put in the 'proper' answer as the answer so that it will be preserved for others to read?
0
 
LVL 3

Author Comment

by:rickyr
ID: 1812883
Hi...
It's ok cpranderia, your real answer will be preserved in the question history, as are all comments, which are almost as valuable as the end answer, and allow anyone to view the progress
of the dialog between users.
Thanks again and I have graded you an "A" which will give you 200
quality points, a  very good start for you in experts-exchange.
regards
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question