This section details the addition of user data to the upgraded D3 environment. Those
upgrading with a file-save tape should use this topic to continue the upgrade process.
If you are upgrading from other Pick-compatible environments (such as Ultimate or SCO), you
cannot perform an account-restore from a tape blocked at anything but zero.
To set the default block size to zero:
- Access the TCL prompt.
- Set the device.
- Enter:
set-def-tape-blk 0
For details on setting the default block size, see the Tapes topic in the D3
System Administration Guide.
About this task
Those upgrading or migrating from a previous version of D3 Linux, Advanced
Pick, R83, or another Pick compatible environment, should use this section to continue the
upgrade process after completing the instructions in Installing D3.
Procedure
-
Insert the file-save tape in the device.
-
Enter:
set-device
You will see the list of tape devices in the configuration file. The tape device numbers
might vary, depending on the particular system configuration.
Tape Status DD MMM YYYY hh:mm:ss
# Type Density Owner Device Name
------------------------------------------------------------
0 | Floppy | 3 1/2" 1.44M| | /dev/fd0H1440
1 | Floppy | 3 1/2" 720K | | /dev/fd0H720
2 | SCT | | | /dev/nst0
3 | compressed | 500K | | /usr/lib/pick/ab
4 | compressed | 500K | | /usr/lib/pick/dt
-------------------------------------------------------------
Enter a unit number from the above list : 2
-
Enter the number that corresponds to the file-save media device.
In this example, 2 is entered.
You will see a prompt similar to:
Block size: 16384
-
Enter:
t-rew
restore-accounts
Note:
- If upgrading from release 7.4 or prior, the (f2000 option is required on
the restore-accounts command.
- If restoring data from an R83 or other Pick-compatible environment, see Restoring data for information
about options used with restore-accounts.
The file-save tape is read and any account on the tape that is not already on the system is
restored. The elapsed time depends on the amount of data on the tape(s). If necessary, you
will see a prompt for the next tape volume when it is ready.
Load next volume and type ’c’ to continue
#_
-
Mount the next volume and type c, if necessary.
After all accounts have been read, any indexes for the restored files are generated. When
completed, you are returned to TCL.
-
Enter:
-
Remove the file-save tape from the device.
-
Enter:
update-md
You will see the following prompt:
Create user id from each account name (y,<n>)?
-
Respond to this prompt appropriately.
- If you are not sure, type N (ENTER = default of
N).
- If you type Y, go to Step 10.
-
At the Enter md file name: prompt, complete the following steps:
-
Enter the name of one of the accounts just restored.
-
Repeat Step 10a for all restored accounts.
-
After all restored accounts are entered, press Enter again to exit the prompt.
Note: The process of upgrading your existing accounts creates entries in the
dm,CLASHES, file.
For more information, see the Clashes
File topic in the D3 Reference Manual.