/var/adm/lmf
.
/usr/sbin/lmf list # list current licenses /usr/sbin/lmf register # enter licenses interactively /usr/sbin/lmf register - <pakfile # enter licenses from a PAK file /usr/sbin/lmf load 0 product # activate licenses /usr/sbin/lmf issue pakfile # exports PAK file, # !Attention! deletes license from database
/etc/disktab
. Example:
rzdisk -g /dev/rrz0a
cd /dev MAKEDEV rz0 # for SCSI disk ID=0 /etc/chpt -q /dev/rrz0a # check existing partitions, gives sizes in 512 byte blocks /etc/chpt -a /dev/rrz0a # create partition table /etc/chpt -v -p<p> <offset> <size> /dev/rrz0c # offset and size for partition <p>Note that Ultrix can't handle partitions > 2GB, I found 4000000 blocks to be OK.
Partition | Offset/blocks | Size/blocks | Size/MB | Usage |
---|---|---|---|---|
a | 0 | 524288 | 256 | /,/tmp,/opt |
b | 524288 | 131072 | 64 | swap |
g | 655360 | 1179648 | 590 | /usr |
f | 1835008 | 119041 | rest | /var |
c | entire disk | entire disk | all partitions | |
d,e,h | 0 | 0 | 0 | unused |
Disk layout example for a 4.3 GB disk:
Partition | Offset/blocks | Size/blocks | Size/MB | Usage |
---|---|---|---|---|
a | 0 | 1048576 | 512 | /,/tmp,/opt |
b | 1048576 | 524288 | 256 | swap |
g | 1572864 | 4000000 | 2000 | /usr |
f | 5767168 | 1048576 | 512 | /var |
c | 0 | entire disk | all partitions | |
d,e,h | 0 | 0 | 0 | unused |
Another disk layout example for a 4.3 GB disk:
Partition | Offset/blocks | Size/blocks | Size/MB | Usage |
---|---|---|---|---|
a | 0 | 1572864 | 768 | /,/tmp,/opt |
b | 1572864 | 524288 | 256 | swap |
e | 2097152 | 524288 | 256 | crash |
g | 2621440 | 3145728 | 1536 | /usr |
d | 5767168 | 1572864 | 768 | dxbook |
f | 7340032 | rest=1079812 | 512+ | /var |
h | 0 | 0 | 0 | unused |
c | 0 | 8419844 | all partitions |
cd /dev MAKEDEV tz5 # creates special files rmt?? MAKEDEV tz13 # ID=5 connected to a 2nd SCSI adapter (5+8=13)will create the appropriate special files
/dev/rmt?h
etc,
starting with 0 for the first defined tape.
/etc/dump -0uf /dev/rmt0h / # entire root fs to first defined tape /etc/dump -0uf /dev/rmt0h /usr # entire usr fs /etc/dump -0uf /dev/rmt0h /var # entire var fs /etc/dump -0uf /dev/rmt0m / # sometimes only this worksRestore examples
/etc/restore -tvf /dev/rmt0h # list backup from first defined tape, verbose /etc/restore -rvf /dev/rmt0h # restore into current directory from first defined tape, verboseNote that the message
not a dump tape
does not necessarily mean the tape is bad.
It may occur after an external drive has been powered off/on.
Just reissue the restore
command.
rz0
/etc/newfs -s ... /dev/rrz0a rz58 # create / filesystem, size ... /etc/mount /dev/rz0a /mnt # / filesystem cd /mnt restore rvf /dev/rmt0h # restore complete filesystem recursively umount /mnt mount /dev/rz0f /mnt # /var filesystem ... mount /dev/rz0g /mnt # /usr filesystem ...
cd /sys/conf/mips cp GENERIC HOSTNAME # copy the configuration file vi HOSTNAME # edit and revise as needed config HOSTNAME # build the system configuration files cd /sys/MIPS/HOSTNAME # change to the new configuration directory make clean # cleanup make depend # dependencies make # compile the new kernel mv /vmunix /vmunix.old # save the old kernel cp vmunix / # install the new kernel reboot # causes automatic rebootmore and yet more on this topic.
/etc/ttys
add the secure
option to
the "status" column of all ttyp
lines, e.g.
ttyp0 none network secure
vcc -O2 -YPOSIX -D_POSIX_SOURCE -D_XOPEN_SOURCE
#error
directive
#if defined(ultrix) || defined(vax) || defined(vaxc)
boot 3/rz1/vmunix # DS 5000/1xx boot 5/rz1/vmunix # DS 5000/2xx boot -f rz(0,1,0)vmunix # DS 2100/3100At a VAXstation's console (assuming disk w/ SCSI ID=1)
boot /R5:1 dkb100 # VS 3100 M3xand enter
genvmunix
when the system image is prompted.
System Management
.
This will offer a shell with a very limited command set.
For maintenance work at the system disk the following prerequisites
are necessary, for example for the 'a' (root
) partition:
/etc/fsck /dev/rz1a # repair 'a' partition on SCSI disk 1 /etc/mount /dev/rz1a /mnt # mount 'a' partition on /mnt for maintenance cd /mnt # this is the disk's root directory, not '/'
boot 3/rz2/vmunix # single user mode mv /etc/rc.local /etc/rc.save # temporary fix boot 3/rz2/vmunix -a # multi user mode
cp /etc/passwd /etc/passwd.tmp # save original password file sed s/<encrypted password>//g /etc/passwd.tmp > /etc/passwd # delete encrypted password sync rebootallows to login
root
w/o password.
Don't forget to assign a new password.
If it is not possible to boot off the system disk, boot off CD, then:
cd etc dd if=passwd of=passwd.save # save old file for security ed passwd # enters a stone age line "editor"Within the editor, type numbers until the
root
line appears.
Then erase the encrypted password:
s/<encryption>/ # erase w # save edit buffer q # leave the editorand back on the shell level
sync # write disk bufferthen reboot from disk.
shutdown -h now boot 3/rz0/vmunix # single user mode, console fsck /dev/rz0g # check /usr file system, answer questions shutdown -h now boot 3/rz0/vmunix -a # multi user mode, stuff in lost+found
Title | Date | Code/Content | Media/Remarks |
---|---|---|---|
ULTRIX SCSI/CAM Architecture Release Notes and Installation Instructions (ULTRIX Version 4.2 (RISC)) |
January 1992 | Order Number: AA-PJB8A-TE | (local) |
ULTRIX SCSI/CAM Architecture Guide to Writing Device Drivers (ULTRIX Version 4.2 (RISC), ULTRIX Version 4.2A (RISC)) |
January 1992 | Order Number: AA-PN5HA-TE | (local) |
TPC Benchmark B for the DECsystem 5100 Using ULTRIX 4.2 and INFORMIX-OnLine 4.10 |
December, 1991 | ? | (local) |
TPC Benchmark B for the DECsystem 5500 Using ULTRIX 4.2 and INFORMIX-OnLine 4.10 |
December, 1991 | ? | (local) |
TPC Benchmark B for the DECsystem 5000 Model 25 Using ULTRIX 4.2A and INFORMIX-OnLine 4.10 |
April 1992 | ? | (local) |
Title | Date | Code/Content | Media/Remarks |
---|---|---|---|
ULTRIX Software Guidebook: A Reference to UNIX Software | First Edition (ca 1984) | EJ-26153-20 | |
ULTRIX Worksystem Software: GKS programming Guide to the GKS/2b Library |
(ca 1987) | AA-GT93B-TN | |
ULTRIX Worksystem Software: X programming | (ca 1987) | ||
Guide to the xlib Library | AA-HF10B-TN | ||
Guide to the x Toolkit Library | AA-KU52A-TE | ||
ULTRIX Worksystem Software Worksystem User |
(ca 1987) | ||
Guide to the QDSS Library | AA-GT91B-TN | ||
QDSS Driver Reference Manual | AA-GT90B-TN | ||
Release Notes | AA-HF07B-TN | ||
Advances Installation Guide | AA-KU43A-TE | ||
Guide to the xmh Mail Handler | AA-KU48A-TE | ||
Guide to the xedit Editor | AA-KU49A-TE | ||
Guide to the uwm Window Manager | AA-KU50A-TE | ||
Guide to the xterm Terminal Emulator | AA-KU51A-TE | ||
Reference Pages | AA-GT94B-TN | ||
DEC PHIGS/RISC V2.3 Doc Upd | 28-Dec-91 | QA-VW6AA-WZ.2.3 | 3x |
DEC PHIGS Installing DEC PHIGS for ULTRIX on RISC Processors |
AA-PBE3C-TE | 2x sealed | |
DEC PHIGS/RISC V2.3A Doc Upd | May 1992 | QA-VW6AA-WZ.2.3A | 3x |
DEC GKS DEC PHIGS Device Specifics Reference Manual |
? | AA-PH7UA-TK | 1x, 1x sealed |
DEC PHIGS/RISC V2.5 Doc Upd | 16-Jul-94 | QA-VW6AA-WZ.2.5 | 3x |
FORTRAN for RISC | 1989 | V1.0 | |
Guide to FORTRAN Language Programming for RISC Processors | AA-NA30A-TE | ||
FORTRAN Language Reference Manual for RISC Processors | AA-NA31A-TE | ||
DEC C for ULTRIX on RISC Installation Guide and Release Notes |
February 1991 | AA-PCXEA-TE | V1.0+, ULTRIX V4.1+ |
DEC C User's Guide for ULTRIX Systems | February 1991 | AA-PC80A-TE | V1.0+, ULTRIX V4.1+ |
DEC C Language Reference Manual | February 1991 | AA-PC7ZA-TE | V1.0+, ULTRIX V4.1+ V4.0+, VMS 5.3+ |
DEC Network Save and Restore for ULTRIX | July 1992 | AA-PJEVB-TE | V1.1, ULTRIX V4.1+ |
DEC FORTRAN Update Doc Kit | 19-Dec-91 | QA-VV6AA-WZ.3.1 | 2x sealed, 1x open |
DEC FORTRAN Update Doc Kit | 17-Jun-92 | QA-VV6AA-WZ.3.2 | 3x sealed |
Language Reference | AA-PNU0A-TK | ||
User Manual | AA-PNU1A-TK | ||
ULTRIX and UWS Version 4.4 Release Notes | AA-PZTXB-TE | sealed | |
CDA Converter Library Using the CDA Converter Library |
AA-PCCGB-TK | 2x sealed | |
CDA Converter Library Technical Guide to the CDA Converter Library |
AA-NG85B-TK | 1x sealed | |
CDA Converter Library Installation Guide | November 1990 | AA-PD7VA-TK | |
CDA Converter Library Installation Guide | AA-PD7VB-TK | 2x sealed | |
DECwindows Extensions to Motif - UNIX Systems Edition | October 1991 | AA-PJN7A-TK | Paperback ULTRIX >= 4.4 OSF/1 >= 3.0 Windows NT (!) >= 3.1 |
DECwindows Extensions to Motif | August 1994 | AA-QBYSA-TK | Paperback ULTRIX >= 4.4 OSF/1 >= 3.0 Windows NT (!) >= 3.1 |
Porting XUI Applications to Motif | August 1991 | AA-PGZFA-TE | ULTRIX 4.2 / VMS 5.4 |
DEC OPS5 Compatibility and Migration Guide | May 1992 | AA-PNU8A-TE | Version 4.0 for OSF/1 >=1.0 / RISC ULTRIX >=4.0 / VMS >=5.4.2 |
DEC OPS5 Guide to DEC OPS5 | May 1992 | AA-PNU7A-TE | Version 4.0 for OSF/1 >=1.0 / RISC ULTRIX >=4.0 / VMS >=5.4.2 |