Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inheritet an IRIX Box 1

Status
Not open for further replies.

daFranze

Technical User
Dec 29, 2003
1,334
DE
I recently inherited an IRIX box with a tape robot and software; since it is about 10yrs ago I worked with IRIX my knowledge about these boxes is a little bit rusted...
I have big experiance in Solaris Sysadmin, so I do not start from scratch...

I managed to change the IP and hostname, changed the DNS config...

There are a vew things I would like to check and I don't know how to do this:
Are there failed disks?
Is a filesystem mirrored or are there failed mirrors?

What else should I check? Changing the machine name, does this have a side effekt. Just found a xlv_mgr and an entry withn the old hostname...
blueberry# xlv_mgr
xlv_mgr> show all
Volume: xlv_root (complete; node=oldhostname)

Vol: 1; Standalone Plex: 0; Standalone Ve: 0

xlv_mgr> quit

you don't have a / entry in fstab!?

blueberry# more /etc/fstab
/dev/dsk/dks2d6s3 /usr/spool/dmf xfs rw,raw=/dev/rdsk/dks2d6s3 0 0
/dev/dsk/dks2d6s4 /dmf_home xfs rw,raw=/dev/rdsk/dks2d6s4 0 0
/dev/dsk/dks2d6s2 /dmf_move xfs dmi,rw,raw=/dev/rdsk/dks2d6s2 0 0
/dev/dsk/dks2d6s5 /hsm_data xfs dmi,rw,raw=/dev/rdsk/dks2d6s5 0 0
/dev/dsk/dks0d3s0 /cache xfs rw,raw=/dev/rdsk/dks0d3s0 0 0
/dev/dsk/dks0d3s1 swap swap pri=3 0 0

dit it mount a mirrored (or softraided) disk?
blueberry# mount
/dev/root on / type xfs (rw,raw=/dev/rroot)
/hw on /hw type hwgfs (rw)
/proc on /proc type proc (rw)
/dev/fd on /dev/fd type fd (rw)
/dev/dsk/dks0d3s0 on /cache type xfs (rw,raw=/dev/rdsk/dks0d3s0)
/dev/dsk/dks2d6s5 on /hsm_data type xfs (dmi,rw,raw=/dev/rdsk/dks2d6s5)
/dev/dsk/dks2d6s2 on /dmf_move type xfs (dmi,rw,raw=/dev/rdsk/dks2d6s2)
/dev/dsk/dks2d6s4 on /dmf_home type xfs (rw,raw=/dev/rdsk/dks2d6s4)
/dev/dsk/dks2d6s3 on /usr/spool/dmf type xfs (rw,raw=/dev/rdsk/dks2d6s3)
blueberry#


I inherited the machine from some guys which just ran the backup on this host but never thought about the OS itself... :-(

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
you didnt say what OS you were using so I will provide info based upon systems I use.

the things to change for nodename are:

/etc/hosts
/etc/sys_id

changing DNS options depends on if you utilize DNS or NIS functions. Having 'files' as the only search option for entries in the /etc/nsswitch.conf file will have the sytem only check local files for things it needs and fail if not found.


checking failed disks:
to check for failed disks, you can run the command 'hinv' and it will list all parts in the system and then as root user, run the fx command against each disk device. I will use what info you have given to make an example. From your fstab it appears there are two disk devices installed or attached to the system. dsk0 and dsk2 0 and 1 are usually installed internal to systems.

run fx as follows: <cr> = return key
fx -x
<cr>
0
3
<cr>

you should see something like:

....opening dksc(0,3,0)


if the disk has failed it will give some kind of disk error or failure to read error, otherwise it should list each of the slices that the drive has bee partitioned into.

if it just gives a drive description but no slice info, it is a disk that has not been partitioned.

do a man on fx and it should provide all the details you need to partition and make ready your disks.

regarding XLV:
I dont see anything that suggests you have any xlv partitions at the moment. check the /dev/xlv directory for entries. if there are entries, it means at one time there were drives that were striped together in some fashion but may no longer be attached to the system. Im guessing the the fstab entries with dsk2d6xx are mount points to an external drive. If there was and you do have the external drive device you will need to rename the nodename assigned to the volumes within the xlv_mgr program before the system can see the various xlv volumes.
Turn off your system and connect the external drives. restart the system and then run 'xlv_mgr'.
there is a command within xlv_mgr to change the ownership of the partitions so they will mount during bootup.

change nodename (new_name) object


this needs to be done for each volume object.

hope this helps,
Frank
 
Thanks Frank for your post!

sorry I can't say very much about the exact Irix Release, uname -a just says:
# uname -a
IRIX64 blueberry 6.5 10181058 IP27


hinv says:
# hinv
1 180 MHZ IP27 Processor
CPU: MIPS R10000 Processor Chip Revision: 3.1
FPU: MIPS R10010 Floating Point Chip Revision: 0.0
Main memory size: 256 Mbytes
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Secondary unified instruction/data cache size: 2 Mbytes
Integral SCSI controller 0: Version QL1040B (rev. 2), single ended
Disk drive: unit 1 on SCSI controller 0
Disk drive: unit 2 on SCSI controller 0
Disk drive: unit 3 on SCSI controller 0
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended
Integral SCSI controller 2: Version QL1040B (rev. 2), differential
Disk drive: unit 6 on SCSI controller 2
Integral SCSI controller 3: Version QL1040B (rev. 2), differential
Jukebox: unit 1 on SCSI controller 3
Tape drive: unit 2 on SCSI controller 3: DLT
Tape drive: unit 3 on SCSI controller 3: DLT
Tape drive: unit 6 on SCSI controller 3: DLT
Integral SCSI controller 4: Version QL1040B (rev. 2), differential
Tape drive: unit 4 on SCSI controller 4: DLT
Tape drive: unit 5 on SCSI controller 4: DLT
Tape drive: unit 7 on SCSI controller 4: DLT
IOC3 serial port: tty1
IOC3 serial port: tty2
IOC3 parallel port: plp1
Integral Fast Ethernet: ef0, version 1, module 1, slot MotherBoard, pci 2
Origin 200 base I/O, module 1 slot 1
IOC3 external interrupts: 1
#

controller 3 & 4 seem to be the external tape drives and robot. controller 0, 1 and 2 seem to be the internal drives and the external drive box. I will double check the physical number of disks and compare it to the hinv output.

nsswitch.conf has a lot of nis entries, but I don't think anybody has set up a NIS domain. Btw yppasswd does not find a master... ;-)


Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
to check the version of your system, type uname -R it will show the minor verion info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top