/var/adm/lmf
.
Some useful commands:
/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 # !Attention! # "issue" deletes license from database, # better make a safety copy before /usr/sbin/lmf issue pakfile # exports PAK file /usr/sbin/lmf issue pakfile DEC # exports PAK file with DEC as "producer" # one may subsequently re-register from issued pakfile and re-load
hwmgr -scan scsi hwmgr -show scsi # scu ...will create the appropriate special files in
/dev/tape
cd /dev ./MAKEDEV tz5 # tape at SCSI ID=5will create the appropriate special files
/dev/rmt?h
etc.
as500b
to tape:
/usr/sys/bin/btcreate -f -k AS500B -m mfs -d /tmp -t tape0_d1 -s /usr/lib/sabt/etc/fslist # 5.x
/usr/sys/bin/btcreate -f -k AS500B -m mfs -d /tmp -t rmt0h -s /usr/lib/sabt/etc/fslist # 4.xRestore the system: at the console prompt ()
init show dev # list bootable devices boot -fl "nc" MKA500 # from tape at SCSI ID 5
btextract
will be invoked. After
restore, shutdown and reboot in the usual way
dump -0uf /dev/rmt0h / # entire root fs to first defined tape dump -0uf /dev/rmt0h /usr # entire usr fs dump -0uf /dev/rmt0h /var # entire var fs (if living as a separate FS)
scu
utility
to query the hardware, for example:
scu scu> show edt bus 0 lun 0 full
cd /dev/ ./MAKEDEV rz2 # disk @ SCSI ID=2, bus 0 (mostly internal) ./MAKEDEV rz10 # disk @ SCSI ID=2, bus 1 (mostly external) mkdir /mnt mount -r /dev/rz10c /mnt # mount read-only
cd /dev/ ./MAKEDEV rzN
/usr/sbin/newfs /dev/rzNa # use -N for a dry run /usr/sbin/newfs /dev/rzNg ...
mkdir -p /temp/root; mount /dev/rzNa /temp/root mkdir -p /temp/usr; mount /dev/rzNg /temp/usr # if /var is/will be a separate FS mkdir -p /temp/var; mount /dev/rzNf /temp/var
dump 0f - / | (cd /temp/root; restore -rf - ) dump 0f - /usr | (cd /temp/usr; restore -rf - )If
/var
is a separate file system:
dump 0f - /var | (cd /temp/var; restore -rf - ) # if applicableIf
/var -> /usr/var
, but should become a separate file system:
# move /usr/var to separate mount point mv /temp/usr/var/* /temp/var; rm /temp/root/var; mkdir /temp/root/var # some config's (X11) might still expect /usr/var to exist: cd /temp/usr; rmdir var; ln -s ../var var
cd /temp/root/sbin rm swapdefault_* ln -s ../dev/rzNb swapdefault
/temp/root/etc/fstab
,
shutdown and change SCSI ID of the new disk.
/etc/securettys
simply add a line:
ptys
/etc/fstab
looks like:
/dev/rz3a / ufs rw 1 1 /proc /proc procfs rw 0 0 /dev/rz3g /usr ufs rw 1 2 /dev/rz0b swap1 ufs sw 0 2 /dev/rz3h /dk3 ufs rw 1 2 # /nfs/xxxxx07/dk1a/usr.local@xxxxx07 /nfs/xxxxx01/usr.local nfs rw bg 0 0 /nfs/xxxxx01/dk0a@xxxxx01 /nfs/xxxxx01/dk0a nfs rw,bg 0 0These are the steps I used to turn the boat anchor into a usable machine.
dd
on another UNIX/Linux machine) and perform all subsequent work on the working copy.
In addition, make a copy of all files prior to modification.
/etc/fstab
disable NFS mounts
and
in /etc/rc.config
disable NIS_CONF
variable.
HALT
button), then:
boot -fl s # boot into single user mode
/bin/ed
, for vi
bcheckrc # mount filesystems, enables access to /usr/bin env TERM=vt100 vi /etc/passwd # very primitive version, use keys # L to move right # H to move left # X to delete character # :w to write buffer # :q to leave
root:IpGjn1Mxmlf8.:0:1:system PRIVILEGED account:/:/bin/shto
root::0:1:system PRIVILEGED account:/:/bin/shi.e. simply delete the password, and reboot (e.g. with
ctrl-D
)
passwd
to assign a new password
(might be required for DECwindows login).
make
utility doesn't work as expected/usr/bin/make
on Tru64/OSF/1 is deliberately broken,
i.e. it doesn't follow rules like on other UNIXes.
Use /usr/bin/posix/make
instead, e.g. by redefining
in some startup script:
alias make='/usr/bin/posix/make' export MAKE=/usr/bin/posix/makeFor OSF/1 3.x:
alias make='/usr/opt/posix/usr/bin/make' export MAKE=/usr/opt/posix/usr/bin/make
Title | Date | Code/Content | Media/Remarks |
---|---|---|---|
DECwindows Extensions to Motif | August 1994 | AA-QBYSA-TK | Paperback ULTRIX >= 4.4 OSF/1 >= 3.0 Windows NT (!) >= 3.1 |
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 |