Improve company productivity with a Business Account.Sign Up


Irix: Problems with hardrives (Indy, SGI)

Posted on 1998-09-17
Medium Priority
Last Modified: 2010-04-21
I have an Indy. I can't install power animator because there isn't enough room on my primary drive. I have a secondary drive that is way more than enough but for some reason it's the swap file partition. I was wondering if there is a version of "FDISK" for Irix, or is it only for linux. If not what can I use to recreate my file systems using my really big hardrive as the primary.
I don't have any operating system installed on it now because a nasty crash I have been using the Irix installation shell to try and tool with it. I have no idea how it ended up like this but It's already caused quite abit of frustration in making me lose a lot of work already. If you need any more clarifacation then just let me know.
Thank you so much,
Question by:crash020297
  • 2
  • 2
  • 2
  • +3
LVL 85

Expert Comment

ID: 2007024

Author Comment

ID: 2007025
mkfs won't work. we tried it already. I forgot the error message. I didn't try 'fx'. The install shell gives you a list of commands and I didn't see that on there.
LVL 51

Expert Comment

ID: 2007026
you need to partition anyhow before installing, fx on IRIX,
see ozo's comment
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Expert Comment

ID: 2007027
If you don't have an OS, then why not rip out the first hard drive (using only the large one), and re-install the OS plus PowerAnimator on that?  The out-of-the-box (actually, off-of-CD-ROM) installation routine should do all the partitioning, etc... that is required.

You *do* have backups, right?

Author Comment

ID: 2007028
Heres the deal with all of that. The computer has already crashed no there aren't any backups. I don't care about that. I don't care about any file system on the disk either. It's bare bones.
The problem we're having is that we want '/dev/dsk/dks0d1s1'  to do what ' /dev/dsk/dks0d1s0' is doing and vice versa. We've tried mkfs but it only cleans and recreates the filesystem on dks0d1s0.
I'm not familiar with SGI hardware. I thought that switching the master slave setup of the two would work but a friend said it wouldn't work. I'll try and take out the small hard drive and replace it with the bigger one, but would the computer still be able to get up and stuff? Enough to where I could start the installation process of IRIX and then my software?

Expert Comment

ID: 2007029
It's almost certainly going to be a matter of different SCSI IDs.  If you want to keep both drives, find out what they are set to, and then reverse them.  Frequently this means physically removing the drives from the computer, moving tiny little jumpers to short (or not short) across certain pins, counting in binary, etc....

If you won't (or can't) do that, just rip out the smaller drive and use only the larger one -- the OS install procedure should recognize the sole hard drive that is installed and use that.  It just appears to be making some incorrect assumptions about what you want to do with what, based on how the drives have been assigned their SCSI IDs.

IMO, it sounds to me like you really want to have a consultant come in who really understands SGI & Irix.  I say this because with nine years experience doing system administration work, I'm sure I could futz my own way around enough to end up doing what you want, but since I'm not specifically an SGI/Irix expert, so it's kind of hard for me to tell you *exactly* what to do, in a step-by-step manner.

Expert Comment

ID: 2007030
SGI is pretty screwy with its disk handling.  When I was still buying Indys & etc at work, I'd always rebuild the disks from scratch instead of using the default giant partition they ship with.  It's pretty tough to get right the first few times, and I'd hate to try to talk somebody through it on the phone, let alone through email.  Bknowles' suggestion that you hire a consultant is probably your best bet.  If you're in the L.A. area, I can probably help you out, and I'd be willing to do it just for the points on this question (it doesn't actually take that long if you know what you're doing).

Accepted Solution

mohammedg earned 1400 total points
ID: 2007031
This is how I would do it:

 - fx the second disk as a root disk.
 - mkfs the root partition on the 2nd disk.
 - mount the second disk on some directory on the first disk (eg : /disk2)
 - Run the following command:

   xfsdump - 0f  / | (cd /disk2; xfsrestore - l . )  

  Check the command line options above:

  This will dump the root from disk1 to disk2.

  - copy the sash program to the volume header of the second disk
    there is a command in IRIX to do that I think it is vh, lvh or xlv.

 - reboot your system and either

  Enter the PROM and change the OSLoadParition, OSSystemPartition to point to the    
  second disk.

  OSLoadParition = (0,2,8)         where the sash prog is
  OSSystemParition = (0,2,0)     where to load the root from


  Swap the SCSI ideas of the two disks.


Expert Comment

ID: 2007032
IF you plan to modify the PROM, then make sure that you record the old values, before going ahead.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

606 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