3.2.6.1 Establish Ownership of a Disk

The server has a mechanism to establish ownership of the disk associated with a ClusPrepDisk object. This event is invoked within the IClusterStorage2 server and is not exposed externally.

The caller provides the following:

  • CPREP_DISKID: Identifies the disk of which ownership is to be established

The server SHOULD first determine whether the designated disk is owned by a different server. If so, the server SHOULD return a result to the caller indicating that the disk is owned by a different server.

If the disk is not owned by a different server, the server SHOULD establish itself as the owner of the disk. The server SHOULD maintain ownership of the disk until a subsequent call to relinquish ownership of the disk, as specified in section 3.2.6.2. The server SHOULD return a result to the caller indicating that ownership of the disk was established successfully.

How the server determines whether the designated disk is owned by a different server, how the server establishes itself as owner of the disk, and how the server maintains ownership of the disk are all implementation-specific.