摘要 |
Persistent names for logical volumes in a computer system are used to enable symbolic links between the persistent names and non-persistent device names that identify the logical volumes to the lower layers of the operating system during a single boot session. A persistent unique mount name for each logical volume is associated with a unique volume identifier for the logical volume in a persistent mount manager data structure. Optionally a persistent drive letter can be assigned to the volume. Higher layers of the operating system and user applications address a volume through the persistent mount name as well as any assigned drive letter. When the system is rebooted, the data structure entries identified by the unique volume identifiers of the arriving logical volumes are used to reconstruct the symbolic links so that references to the persistent mount name, and optional drive letter, will resolve to the correct non-persistent device name, thus guaranteeing consistency in addressing the logical volumes across boot sessions. When the system undergoes physical reconfiguration, an existing persistent mount name is associated with a different non-persistent device name if the unique volume identifier is present in the data structure. In this fashion, logical volumes can be removed and restored in the computer without the knowledge of higher layers of the operating system and user applications. Optionally, an in-memory data structure is created from the persistent data structure to increase the speed of the identification process.
|