End-to-end data protection supporting multiple crc algorithms
Abstract
A method for providing end-to-end data protection while supporting multiple cyclic-redundancy-check (CRC) algorithms is disclosed. In one embodiment, such a method includes receiving, from a first host device, a data block protected by a first CRC. The first CRC is generated using a first CRC algorithm. The method checks the integrity of the data block using the first CRC and the first CRC algorithm. The method then computes a second CRC for the data block using a second CRC algorithm different from the first CRC algorithm. The method then stores the data block, the first CRC, and the second CRC on a storage medium, such as magnetic tape. A corresponding apparatus is also disclosed.
Claims
exact text as granted — not AI-modified1 - 12 . (canceled)
13 . An apparatus for providing end-to-end data protection while supporting multiple cyclic-redundancy-check (CRC) algorithms, the apparatus comprising:
a storage device to receive, from a first host device, a data block protected by a first CRC, the first CRC generated by a first CRC algorithm; the storage device further configured to check the integrity of the data block using the first CRC and the first CRC algorithm; the storage device further configured to compute a second CRC for the data block using a second CRC algorithm different from the first CRC algorithm; and the storage device further configured to store the data block, the first CRC, and the second CRC on a storage medium.
14 . The apparatus of claim 13 , wherein the storage device is further configured to receive an indication from the first host device that the first CRC was generated using the first CRC algorithm.
15 . The apparatus of claim 13 , wherein the storage device is further configured to receive, from a second host device, a request for the data block on the magnetic tape medium.
16 . The apparatus of claim 15 , wherein the storage device is further configured to receive, from the second host device, an indication of which of the first and second CRC algorithms the second host device is using.
17 . The apparatus of claim 16 , wherein the storage device is further configured to:
check the integrity of the data block using the first CRC if the second host device is using the first CRC algorithm; and check the integrity of the data block using the second CRC if the second host device is using the second CRC algorithm.
18 . The apparatus of claim 17 , wherein the storage device is further configured to:
additionally check the integrity of the data block using the second CRC if the second host device is using the first CRC algorithm; and additionally check the integrity of the data block using the first CRC if the second host device is using the second CRC algorithm.
19 . The apparatus of claim 16 , wherein the storage device is further configured to:
return, to the second host device, the first CRC with the data block if the second host device is using the first CRC algorithm; and return, to the second host device, the second CRC with the data block if the second host device is using the second CRC algorithm.
20 . The apparatus of claim 13 , wherein the storage device is further configured to store a CRC algorithm identifier with the data block identifying the CRC algorithm the first host device is using.
21 . The apparatus of claim 20 , wherein the storage device is further configured to compute the second CRC to protect both the data block and the CRC algorithm identifier together.
22 . The apparatus of claim 21 , wherein the storage device is further configured to, in the event a second host device requests the data block with the second CRC, recompute the second CRC to protect the data block only, and return the data block and the recomputed second CRC to the second host device.
23 . The apparatus of claim 13 , wherein the first and second CRCs are stored on the storage medium in a consistent order.
24 . The apparatus of claim 13 , wherein the storage device is a tape drive.
25 . The apparatus of claim 13 , wherein the storage medium is magnetic tape.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.