Systems and method of implementing disk ownership in networked storage
First Claim
Patent Images
1. A method of claiming ownership of a plurality of disks by a network device of a plurality of network devices in a network storage system, comprising:
- writing ownership information to a predetermined area of each disk, wherein the predetermined area of the disk is sector 0 on the disk and the ownership information stored in sector 0 is definitive ownership data for determining ownership of the disk;
setting a small computer system interface (SCSI) reservation tag for each disk to a state of network device ownership to provide a two part indicia of ownership for each disk, where the two part indicia of ownership are both written to each disk;
creating a table on each network device in the network storage system;
identifying all disks owned by each network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag;
in response to identifying, storing entries in the table, wherein each entry identifies an owned disk of the network device storing the table;
identifying, by a second network device, all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk;
setting a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state; and
removing ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for disk ownership in a network storage system. Each disk has two ownership attributes set to show that a particular file server owns the disk. In a preferred embodiment the first ownership attribute is the serial number of the file server being written to a specific location on each disk and the second ownership attribute is setting a SCSI-3 persistent reservation. In a system utilizing this disk ownership method, multiple file servers can read data from a given disk, but only the file server that owns a particular disk can write data to the disk.
-
Citations
34 Claims
-
1. A method of claiming ownership of a plurality of disks by a network device of a plurality of network devices in a network storage system, comprising:
-
writing ownership information to a predetermined area of each disk, wherein the predetermined area of the disk is sector 0 on the disk and the ownership information stored in sector 0 is definitive ownership data for determining ownership of the disk; setting a small computer system interface (SCSI) reservation tag for each disk to a state of network device ownership to provide a two part indicia of ownership for each disk, where the two part indicia of ownership are both written to each disk; creating a table on each network device in the network storage system; identifying all disks owned by each network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag; in response to identifying, storing entries in the table, wherein each entry identifies an owned disk of the network device storing the table; identifying, by a second network device, all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk; setting a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state; and removing ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A network storage system comprising:
-
a plurality of network devices; one or more switches, each network device connected to at least one of the one or more switch; a plurality of disks having a first ownership attribute written to a predetermined area of each disk and a second ownership attribute in the form of a small computer system interface (SCSI) reservation tag, wherein the first and second ownership attribute are written to each disk, each disk connected to at least one of the plurality of switches, wherein the predetermined area of the disk is sector 0 on the disk and the ownership information stored in sector 0 is definitive ownership data for determining ownership of the disk; each network device of the plurality of network devices identifies all disks owned by that network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag and each network device is configured with a table and to store entries in a table, wherein each entry identifies an owned disk of the network device storing the table; and
a second network device configured to identify all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk, to set a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state, and to remove ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk to an unowned state. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A network storage system comprising:
-
a plurality of network devices; one or more switches; a plurality of disks; and means for writing ownership information to a predetermined area of each disk of the plurality of disks, wherein the predetermined area of the disk is sector 0 on the disk and the ownership information stored in sector 0 is definitive ownership data for determining ownership of the disk; means for setting a small computer system interface (SCSI) reservation tag of each disk to provide a two part indicia of ownership, where the two part indicia of ownership are written to each disk; means for creating a table on each network device in the network storage system; means for identifying all disks owned by each network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag;
in response to identifying, means for storing entries in the table, wherein each entry identifies an owned disk of the network device storing the table;
means for identifying, by a second network device, all disks owned by a first network device in reponse to a failure of the first network device, wherein each network device can read ownership information of each diskmeans for setting a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state; and means for removing ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state. - View Dependent Claims (14)
-
-
15. A network storage system comprising:
-
one or more switches interconnected to form a switching fabric; a plurality of disks, each of the disks connected to at least one of the switches, each disk storing a first ownership attribute to a predetermined area of a disk and each disk associated with a second ownership attribute in the form of a small computer system interface reservation, wherein the predetermined area of the disk stores definitive ownership data for determining ownership of the disk and the small computer system interface reservation allows other network devices to read the ownership attribute from the disks;
one or more network devices, interconnected with the switching fabric, each of the network devices being configured to own a predetermined set of disks of the plurality of disks though use of the first and second ownership attributes, wherein each network device identifies all disks owned by the network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag and each network device is configured with a table and to store entries in a table, wherein each entry identifies an owned disk of the network device storing the table; and
a second network device configured to identify all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk, to set a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state, and to remove ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A computer-readable storage medium containing executable program instructions executed by a processor, comprising:
-
program instructions that write ownership information to a predetermined area of a disk, wherein the predetermined area of the disk stores definitive ownership data for determining ownership of the disk; program instructions that set a small computer system interface reservation tag for the disk to a state of network device ownership to provide a two part indicia of ownership for the disk, where the two part indicia of ownership are both written to the disk and the small computer system interface reservation tag allows other network devices to read the ownership information from the disks; program instructions that create a table on each network device in the network storage system; program instructions that identify all disks owned by the network device using ownership information written to the predetermined area of each disk of the plurality disks and, for each identified disk, if a mismatch occurs between the ownership information on the predetermined area of the disk and the ownership defined by the SCSI reservation tag, then using the ownership information written to the predetermined area of the disk as definite ownership data without requiring the owned network device to send a second SCSI reservation tag; in response to identifying, program instructions that store entries in the table, wherein each entry identifies an owned disk of the network device storing the table; program instructions that identify, by a second network device, all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk; program instructions that set a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state; and program instructions that remove ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state.
-
-
21. A method for a network device to manage ownership of one or more storage devices in a network storage system, comprising:
-
reading ownership information from a predetermined area of each storage device, wherein the predetermined area of each storage device is sector 0 on the disk and the ownership information stored in sector 0 is definitive ownership data for determining ownership of the storage device; in response to reading the ownership information, creating an ownership table that stores entries where each entry identifies a storage device owned by the network device, wherein the ownership is stored within the network device; reading a small computer system interface (SCSI) reservation tag from each storage device, wherein the SCSI reservation tag allows other network devices to read the ownership information from each storage device; comparing the SCSI reservation tag to the ownership information of the same storage device and, if there is not a match, changing the SCSI reservation tag to match the ownership information; configuring the one or more storage devices identified in the ownership table into at least one volume for use by the network device; identifying, by a second network device, all storage devices owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each storage device; setting a SCSI release tag for each storage device owned by the first network device, in response to the failure of the first network device, to transfer the storage device to an unowned state; and removing ownership information stored in the predetermined area of each storage device owned by the first network device to complete transferring each storage device into the unowned state. - View Dependent Claims (22, 23, 24, 25, 26)
-
-
27. A network device for managing ownership of one or more storage devices in a network storage system, comprising:
-
means for reading ownership information from a predetermined area of each storage device, wherein the predetermined area of each storage device stores definitive ownership information for determining ownership of the storage device; in response to reading the ownership information, means for creating an ownership table that stores entries where each entry identifies a storage device owned by the network device, wherein the ownership is stored within the network device; means for reading a small computer system interface (SCSI) reservation tag from each storage device, wherein the SCSI reservation tag allows other network devices to read the ownership information from each storage device; means for comparing the SCSI reservation tag to the ownership information of the same storage device and, if there is not a match, changing the SCSI reservation tag to match the ownership information; means for configuring the one or more storage devices identified in the ownership table into at least one volume for use by the network device; means for identifying, by a second network device, all storage devices owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each storage device; means for setting a SCSI release tag for each storage device owned by the first network device, in response to the failure of the first network device, to transfer the storage device to an unowned state; and means for removing ownership information stored in the predetermined area of each storage device owned by the first network device to complete transferring each storage device into the unowned state.
-
-
28. A computer readable storage medium containing executable program instructions executed by a processor, comprising:
-
program instructions that read ownership information from a predetermined area of each storage device of one or more storage devices in a network storage system, wherein the predetermined area of each storage device stores definitive ownership information for determining ownership of the storage device; in response to reading the ownership information, program instructions that create an ownership table stores entries where each entry identifies a storage devices owned by the network device, wherein the ownership is stored within the network device; program instructions that read a small computer system interface (SCSI) reservation tag from each storage device, wherein the SCSI reservation tag allows other network devices to read the ownership information from each storage device; program instructions that compare the SCSI reservation tag to the ownership information of the same storage device and, if there is not a match, changing the SCSI reservation tag to match the ownership information; program instructions that configure the one or more storage devices identified in the ownership table into at least one volume for use by the network device; program instructions that identify, by a second network device, all storage devices owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each storage device; program instructions that set a SCSI release tag for each storage device owned by the first network device, in response to the failure of the first network device, to transfer the storage device to an unowned state; and program instructions that remove ownership information stored in the predetermined area of each storage device owned by the first network device to complete transferring each storage device into the unowned state.
-
-
29. A network storage system, comprising:
-
one or more storage devices, each storage device having a predetermined area for storing ownership information and each storage device having a small computer system interface (SCSI) reservation tag, wherein the predetermined area of each storage device stores definitive ownership information for determining ownership of the storage device, and the SCSI reservation tag allows other network devices to read the ownership information from each storage device; at least one network device having an ownership table constructed based upon the ownership information from each storage device, wherein the ownership is stored within the network device; the at least one network device having an ownership layer for comparing the SCSI reservation tag to the ownership information of the same storage device and, if there is not a match, changing the SCSI reservation tag to match the ownership information; and the at least one network device having a disk storage layer for configuring the one or more storage devices identified in the ownership table into at least one volume for use by the network device; and a second network device configured to identify all disks owned by a first network device in response to a failure of the first network device, wherein each network device can read ownership information of each disk, to set a SCSI release tag for each disk owned by the first network device, in response to the failure of the first network device, to transfer the disk to an unowned state, and to remove ownership information stored in the predetermined area of each disk owned by the first network device to complete transferring each disk into the unowned state. - View Dependent Claims (30, 31, 32, 33, 34)
-
Specification