Method and apparatus for generating persistent path identifiers
AssigneeHewlett-Packard Development Company, L.P.
InventorsSubramaniyam Pooni, Vijay Srinath, Vikram Krishnamurthy, Rajkumar Mangalore
Life of this patent
Estimating the term…
Abstract
The method and apparatus is utilized in order to generate a persistent path to a SCSI device for a host. In an embodiment, a SCSI device is queried for path information related thereto, and if path information is returned, a SCSI command requesting identifier data is issued to the SCSI device. The identifier data is used to determine a unique identifier (UID), from which is generated a UID-based device file for the SCSI device that is independent from the path information.
Claims39
A method for generating a persistent path identifier of a SCSI device for a host, comprising the steps of:
- opening a non-UID-based device file for the SCSI device;
- obtaining identifier data regarding the SCSI device;
- determining a unique identifier (UID) based on the identifier data;
- and
- generating a UID-based device file according to the UID and the non-UID-based device file.
An apparatus for generating a persistent path identifier of a SCSI device for a host, comprising:
- means for opening a non-UID-based device file for the SCSI device;
- means for obtaining identifier data regarding the SCSI device;
- means for determining a unique identifier (UID) based on the identifier data;
- and
- means for generating a UID-based device file.
A computer program product, the computer program product comprising a computer-readable medium having computer program logic stored thereon for enabling a processor of the product to generate a persistent path identifier of one or more of SCSI devices for a host, the computer program logic causing the processor to:
- open a non-UID-based device file for the SCSI device;
- obtain identifier data regarding the SCSI device;
- determine a unique identifier (UID) based on the identifier data;
- and
- generate a UID-based device file according to the UID and the non-UID-based device file.
A method of generating a persistent path identifier, for a system having a first plurality of SCSI devices to which a second plurality of non-UID-based device files correspond, respectively, included within the second plurality there being a third plurality of non-UID-based device files corresponding to a given one of the first plurality of SCSI devices, the method comprising the steps of:
- computing unique identifiers (UIDs) for the second plurality of non-UID-based device files;
- enumerating which among the plurality of non-UID-based device files map to the same UID, respectively;
- generating, relative to a given one of the third plurality of non-UID-based device files, a UID-based device file;
- and
- creating a name for the UID-based file founded upon the corresponding UID and upon the enumeration assigned to the given non-UID-based device file.
Dependencies are inferred from the claim text.