Next Previous Contents

## 5. VolInfo interface

This should turn into the volume location server.

    ViceGetVolumeInfo
            VRDB.find by name
            if not found try to find by id (VRDB.find nasty casts)
            if found: call
                 vrent::GetVolumeInfo for the entry
                         fills in VSGADD stuff
                         special case for canonicalize
                         fills in the replica volid's in INFO
            else
                 VGetVolumeInfo
                         gets it out of the VLDB_fd
                 if successful and ROVOL: calculate GetVSGAddress
                 elseif RWVOL lookup the volumeinfo for a replicated volume
            return information

Next Previous Contents