...
The disk container files are created using the dd
command. This command takes an input file name, an output file name, a block size, and a count as parameters. When instructed to read from
from /dev/zero , the command creates the output file and fills it with (block-size * count) zero bytes. Each file may be built as large as needed.
...
Step | Command | |
---|---|---|
1 | Change to the directory where you store your virtual disks. | Example:
|
2 | Create an empty disk container. Note that the actual size of the disk will depend on the requirements of your emulated system. | Example virtual disk creation (size 20GB):
|
...
The device name DKXnnn
encodes the device type and the device path of the emulated SCSI device presented to the guest operating system:
Div | ||
---|---|---|
| ||
A disk device name has the following components:
- Value DK at the beginning of the device name: specifies that device type is disk.
- X: value consists of an uppercase letter encoding the device path. Please refer to Emulated Model Hardware Configuration Details and the relevant configuration file templates for system specific device path information.
Example (rp4000):
A = device path 0/0/1/0
B = device path 0/0/1/1
C = device path 0/0/2/0
D = device path 0/0/2/1 - nnn: value encodes the SCSI device connected to the SCSI controller.
Formula: (SCSI target ID*100)+LUN
...
Step | Commands | |
---|---|---|
1 | Log in to Manager.sys. | :HELLO MANAGER.SYS |
2 | Start sysgen. | :SYSGEN |
3 | Enter the following commands. | sysgen> io io> adev 2 id=ST19171N path=0/0/1/0.1.0 io> hold io> exit sysgen> keep keeping to group CONFIG.SYS Purge old configuration (yes/no)? yes sysgen> exit :DOIONOW |
4 | Exit sysgen. | sysgen> exit |
5 | Activate the configuration. | :DOIONOW |
...
When using the SYSGEN adev command, depending on the path chosen and your current configuration, you may first need to create parent controller entries using the SYSGEN apath
apath command. Each disk device is created beneath PCI_DEVICE , A5150A , and PSEUDO path entries as shown in the following example:
|
You don't do not need to indicate to SYSGEN how large a disk is. Use the ST19171N device ID whatever size your disk image is; MPE will automatically detect (and use) the size of the physical disk image file.
...
- Name each volume, starting with the master, as MEMBERx , where ' x ' starts at ' 1 ' for the master
volume and is incremented for each additional volume in the set. - Name each volume MEMBERxxx , where ' xxx ' is the LDev number of the disk
...