Opened 9 years ago
Last modified 7 days ago
#101 new defect
When reloading a volume with the same name as a mounted volume rldr_check_pvol_ and rldr_input_ report inappropriate messages
| Reported by: | Eric Swenson | Owned by: | Eric Swenson |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Hardcore | Version: | MR12.6f |
| Keywords: | Cc: |
Description
If you boot a system with a d451 RPV, and reload an rpv to a 3381 io drive, you see the following messages:
1512.9 RCP: Mounted copy of Storage System volume rpv on dska_00a for user I/O. 1512.9 RCP: Mounted IO volume on dska_00b for user I/O. 1512.9 RCP: Mounted IO volume on dska_00c for user I/O. rldr_check_pvol_: Reload may overflow volume rldr_check_pvol_: Disk label requires 27006 records; Volog label requires 29950 records on pv rpv rldr_check_pvol_: Reload may overflow vtoc rldr_check_pvol_: Disk label requires 13505 vtoce; Volog label requires 14974 vtoce on pv rpv reload_volume: Initialized physical volume rpv does not match online logical image. Do you wish to proceed M-> [auto-input] yes
These are not really appropriate messages. Of course the rpv-to-be-reloaded does not (necessarily) match the rpv that is mounted. But we shouldn't be comparing these two.
The reload works perfectly fine, but the messages are wrong. Also, a little later in the reload, you see:
rldr_input_: Please get the following input volumes : V01 reload_volume: Begin reload of volume rpv at 1512.9 Mounting tape V01 for reading 1512.9 RCP: Attached tapa_01 for Initializer.SysDaemon.z 1512.9 RCP: Note (tapa_01) - V01,sys 1512.9 RCP: Using Reel V01 on tapa_01 for Initializer.SysDaemon.z Mounted Multics volume "V01" (recorded at 800 BPI), on device tapa_01 rldr_input_: Warning - new disk type for rpv 1513.2 RCP: Detached tapa_01 from Initializer.SysDaemon.z rldr_input_: reloaded from input volume V01 112 records of 28 directories and 3323 records of 251 segments on pv rpv reload_volume: End reload of volume rpv at 1513.2 reload_volume: Reloaded on volume rpv 112 records of 28 directories and 3323 records of 251 segments and 0 null vtoces
The message: "rldr_input_: Warning - new disk type for rpv" is also not correct. We don't really care that the foreign system rpv is not of the same disk type as the system on which we're performing the reload.
These messages should be suppressed when the reload is done to volumes that were init_vol'ed with "-copy". Not sure if that information is around by the time the reload happens though.

Two of the three messages are accurate but badly worded; the third makes the wrong comparison.
Fixing them is simple, but it should be tested with a real
reload_volumeof an RPV, so no code has beenchanged.
The scenario: on a system booted from a D451 RPV,
reload_volumereloads avolume named
rpvfrom dump tapes onto a 3381 drive initialized withinit_vol -copy.rldr_check_pvol_: Reload may overflow volume/... vtocThese come from
rldr_check_pvol_(bound_volume_reloader_):`if backup_volume_log.n_rec > vol_map.n_rec then ... "Reload may overflow volume"
if backup_volume_log.n_vtoce > vtoc_header.n_vtoce then ... "Reload may overflow vtoc"
`backup_volume_logis the volume log of the volume being reloaded. It records the size of the original volume as it was dumped, here a D451 with 29950 records and 14974 VTOCEs.vol_mapandvtoc_headerare the target disk's, here a 3381 with 27006 records and 13505 VTOCEs.reload_volume: Initialized physical volume rpv does not match online logical image. Do you wish to proceedreloader.pl1asks this wheneverrldr_check_pvol_returns a non-fatal code, that is, for either warning above.rldr_input_: Warning - new disk type for rpvrldr_input_.pl1:`if rldr_data_.rpv then do;
`backup_info.rpv_disk_typeis the disk type of the RPV of the system that was dumped.rldr_data_.rpv_disk_typecomes frommdc_$pvname_info ("rpv", ...)inreloader.pl1, so it is the disk type of the mounted RPV of the system doing the reload.rldr_data_.disk_type (pvindex)), which is what the operator would care about. It fires in exactly the reporter's case, where the reloading system's RPV differs from the dumped one, which is irrelevant.backup_info.rpv_disk_typewith the disk type of the output volume, and word the message as "Reloading rpv onto a disk of a different type (NNNN) than it was dumped from (NNNN)", or drop the warning, since check 1 already covers the case that matters (a smaller disk).reloader.pl1setsdisk_type (1) = rpv_disk_type(the mounted RPV's type). The change must take the output drive's type from the volume label or from RCP, and has to be checked against both volume-log versions.About the ticket's suggestion
The ticket suggests suppressing these messages for volumes initialized with
init_vol -copy. The label carries no such flag (fs_vol_label.incl.pl1),and the size warning is valid regardless, so I would not suppress on that
basis.
Files involved
system_library_1/source/bound_volume_reloader_.s.archive:rldr_check_pvol_.pl1,reloader.pl1,rldr_input_.pl1. Changing themessage texts also means updating the message documentation at the end of
each program. These run in the Initializer at BCE/ring-1 reload time, so the
change needs an MCR and testing with a real volume reload.