Author |
FreeAXP-Tru64 UNIX Unmount File |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on May 12 2018 17:13 |
|
|
I'm running Tru64 UNIX on FreeAXP. I am not sure how to relate a FreeAXP file to the appropriate UNIX file system for unmounting.
In the Alpha Configuration facility I have disk0.0 as an image file with a file name of 'Tru64 UNIX 5.1B Associated Products Volume 1.iso (RRD42)' and the CD-ROM box checked.
When I issue a df command I get the following:
# df
Filesystem 512-blocks Used Available Capacity Mounted on
root_domain#root 786432 249080 524480 33% /
/proc 0 0 0 100% /proc
usr_domain#usr 4300800 1668484 2359248 42% /usr
usr_domain#var 4300800 236142 2359248 10% /var
I want to unmount the *.iso file shown above. Issuing a 'sh dev' gives
>>>sh dev
dka0.0.0.6.0 DKA0 RRD42 4.5d
I basically don't know which usr_domain relates to the *.iso and what unmount command to issue.
Thanks |
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
John Manger
Moderator
Posts: 63
Location: nr Heathrow, Middlesex, UK
Joined: 18.03.10 |
Posted on May 12 2018 21:44 |
|
|
In your example, if you are running in multi-user mode booted from rz0/dsk0/dka0, you do not have the CD iso mounted.... therefore you cannot unmount it.
A 'showfdmn root_domain' will show the disk name for the root domain... usr_domain for the usr_domain and so on ... The result will probably be rz0x or dsk0x. And, if this is V5.x, a 'hwmgr -v d' will list the available disks and cdroms and show their names.
On all versions, 'scu sho edt' will show the scsi layout and disks as discovered at kernel boot.
Tru64 does not mount iso images 'automatically'. They may be mounted manually, or can be included in /etc/fstab for mounting at boot time (like an ordinary disk or partition).
John M
Edited by John Manger on May 12 2018 21:47 |
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on May 14 2018 15:09 |
|
|
John
Here is the output of the commands you suggested:
┌─┬─┬─┬─┬─┬─┬─┠V i r t u a l serial0
│F│r│e│e│A│X│P│ A l p h a on emulator ALPHA02 (128 M
└─┴─┴─┴─┴─┴─┴─┘ x64 version 3.0.0.617
ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.
ef.df.ee.ed.ec.f4.eb.ea.e9.e8.e7.e6.....e5.
V7.0-9, built on Mar 18 1999 at 13:25:37
>>>showfdmn root_domain
showfdmn: No such command
>>>hwmgr -v d
hwmgr: No such command
>>>'scu sho edt
'scu: No such command
>>>
The *.iso file is residing on my WIndows desktop which is where the Alpha Configuration Utility is pointing. If I move this *.iso file and try and restart Tru64 UNIX I get this error:
"An error has occurred in FreeAXP:
DFL-F-NOFILE:cp(control).alpha(alpha(AS400)).pcibus(dc21071d).pci6(symbios).disk0.0(file):File does not exist or cannot be opened ... (snip)"
The path to the *.iso file is 'hardcoded' in the ALPHA02.cfg file:
pci6 = symbios
{
disk0.0 = file
{
image = "C:\Users\Paul\Desktop\Tru64 UNIX 5.1B\Tru64 UNIX 5.1B - Disk 2 Associated Products Volume 1 [DEC Alpha]\Tru64 UNIX 5.1B - Associated Products Volume 1.iso";
}
disk0.1 = file
{
vendor = "DEC";
model_num = "RZ29B";
rev_num = "0016";
image = "H:\Tru64UNIX\DISK01.img";
autocreate_size = 4290600960;
}
}
So I'm not sure what to do next.
Paul |
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on May 15 2018 13:22 |
|
|
John
Sorry. I issued the commands before the login process. I have now issue them correctly and am trying now to decipher them :-) |
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on May 15 2018 17:07 |
|
|
So :
# hwmgr -v d
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
3: /dev/dmapi/dmapi
4: /dev/scp_scsi
5: /dev/kevm
27: /dev/disk/dsk0c DEC RZ29B bus-0-targ-1-lun-0
28: /dev/random
29: /dev/urandom
33: /dev/disk/dsk1c DEC RZ58 bus-0-targ-0-lun-0 <<<===
The image "C:\Users\Paul\Desktop\Tru64 UNIX 5.1B\Tru64 UNIX 5.1B - Disk 2 Associated Products Volume 1 [DEC Alpha]\Tru64 UNIX 5.1B - Associated Products Volume 1.iso" is shown as a model RZ58 in the Config Utility.
Issuing umount /dev/disk/dsk1c gives /dev/disk/dsk1c: not currently mounted.
So it's not mounted according to UNIX but the *.iso file is being referenced via the *.cfg file.
I'm afraid I'm stuck.
|
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on May 21 2018 14:48 |
|
|
I've solved the problem. |
|
Author |
RE: FreeAXP-Tru64 UNIX Unmount File |
John Manger
Moderator
Posts: 63
Location: nr Heathrow, Middlesex, UK
Joined: 18.03.10 |
Posted on May 28 2018 08:25 |
|
|
In the FreeAXP cfg file, the CD image should be marked as a CD-Rom, that will also change the disk type to RRD42. Then the mount command should be used to mount it read-only from within Tru64.
Something like
# mount -r /dev/disk/cdrom0c /mnt |
|