Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHODS AND SYSTEMS FOR SECURING STORED INFORMATION
Document Type and Number:
WIPO Patent Application WO/2016/114906
Kind Code:
A1
Abstract:
Methods and systems for securing information are provided. The method includes generating a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt a block of data of a data container to secure and store the data container; generating cipher text for the block of data encrypted with the hash key; using an encryption key to encrypt the hash key for the block of data; providing the cipher text and the encrypted hash key by the I/O processing module to a storage system for storage; where the I/O processing module segregates the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and storing the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

Inventors:
SHAH PETER D (US)
SO WON (US)
Application Number:
PCT/US2015/067020
Publication Date:
July 21, 2016
Filing Date:
December 21, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NETAPP INC (US)
International Classes:
H04L9/08
Foreign References:
US8266430B12012-09-11
US8397083B12013-03-12
US8782441B12014-07-15
US20120072713A12012-03-22
Other References:
None
Attorney, Agent or Firm:
SINGH, Tejinder et al. (O'Neill & Singh LLP,16755 Von Karman Avenue, Suite 27, Irvine CA, US)
Download PDF:
Claims:
What is claimed is:

1 . A machine implemented method, comprising:

generating a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt a block of data of a data container to secure and store the data container;

generating cipher text for the block of data encrypted with the hash key; using an encryption key to encrypt the hash key for the block of data;

providing the cipher text and the encrypted hash key by the I/O processing module to a storage system for storage, wherein the I/O processing module segregates the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and

storing the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

2. The method of Claim 1 , wherein cipher text for a plurality of data blocks is maintained within a segment with metadata for each of the plurality of data blocks stored within the segment,

3. The method of Claim 2, wherein the segment is implemented as a circular log data structure having extra memory slots for storing the encrypted hash key.

4. The method of any preceding Claim, wherein the I/O processing module modifies the hash key with another encryption key to generate the cipher text.

5. The method of any preceding Claim, wherein the metadata is stored as part of a data stream of the data container.

6. The method of any preceding Claim, further comprising:

obtaining metadata for stored cipher text in response to a read request; using the encryption key to decrypt the hash key for each data block; and using the hash key to decrypt cipher text for providing data in response to the read request.

7. The method of any preceding Claim, wherein the metadata is for a portion of the data container and segregated from data of the data container.

8. A non-transitory, machine readable storage medium having stored thereon instructions for performing a method, comprising machine executable code which when executed by at least one machine, causes the machine to:

generate a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt a block of data of a data container to secure and store the data container;

generate cipher text for the block of data encrypted with the hash key; use an encryption key to encrypt the hash key for the block of data;

provide the cipher text and the encrypted hash key by the I/O processing module to a storage system for storage, wherein the I/O processing module segregates the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and

store the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

9. The non-transitory, storage medium of Claim 8, wherein cipher text for a plurality of data blocks is maintained within a segment with metadata for each of the plurality of blocks stored within the segment.

10. The non-transitory, storage medium of Claim 9, wherein the segment is implemented as a circular log data structure having extra memory slots for storing the encrypted hash key.

1 1 . The non-transitory, storage medium of any of Claims 8 to 10, wherein the I/O processing module modifies the hash key with another encryption key to generate the cipher text.

12. The non-transitory, storage medium of any of Claims 8 to 1 1 , wherein the metadata is stored as part of a data stream of the data container. 13, The non-transitory, storage medium of any of Claims 8 to 12, wherein the executable code further causes the machine to:

obtain metadata for stored cipher text in response to a read request;

use the encryption key to decrypt the hash key for each data block; and use the hash key to decrypt cipher text for providing data in response to the read request.

14, The non-transitory, storage medium of any of Claims 8 to 13, wherein the metadata is for a portion of the data container and segregated from data of the data container.

15. A system comprising:

a memory containing a machine readable medium comprising machine executable code; and a processor module coupled to the memory, the processor module configured to execute the machine executable code to: generate a hash key to encrypt a block of data of a data container to secure and store the data container;

generate cipher text for the block of data encrypted with the hash key; use an encryption key to encrypt the hash key for the block of data;

provide the cipher text and the encrypted hash key to a storage system for storage, wherein the encrypted hash key is segregated from the cipher text and maintained as part of metadata for the cipher text; and

store the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

16, The system of Claim 15, wherein cipher text for a plurality of data blocks is maintained within a segment with metadata for each of the plurality of blocks stored within the segment.

17. The system of Claim 16, wherein the segment is implemented as a circular log data structure having extra memory slots for storing the encrypted hash key,

18. The system of any of Claims 15 to 1 7, wherein the hash key is modified with another encryption key to generate the cipher text. 19, The system of any of Claims 15 to 1 8, wherein the metadata is stored as part of a data stream of the data container.

20. The system of any of Claims 1 5 to 1 9, wherein the processor module further executes the machine executable code to:

obtain metadata for stored cipher text in response to a read request;

use the encryption key to decrypt the hash key for each data block; and use the hash key to decrypt cipher text for providing data in response to the read request.

Description:
METHODS AND SYSTEMS FOR SECURING STORED INFORMATION

TECHNICAL FIELD

[0001] The present disclosure relates to storage systems and more particularly, to securing stored information.

BACKGROUND

[0002] Various forms of storage systems are used today. These forms include direct attached storage, network attached storage (NAS) systems, storage area networks (SANs), and others. Storage systems are commonly used for a variety of purposes, such as providing multiple users with access to shared data, backing up data and others.

[0003] A storage system typically includes at least one computing system (may also be referred to as a "server" or "storage server"), which is a processing system configured to store and retrieve data on behalf of one or more host computing systems ("hosts"). The storage system may be presented to a host system for storing information.

[0004] Information stored by storage systems today should preferably be secured, it is desirable to secure information closest to an application that is generating the information. It is also preferable to efficiently store the secured data by the storage system, using techniques like de-duplication. Continuous efforts are being made to efficiently secure and store data.

SUMMARY

[0005] In one aspect, a machine implemented method is provided. The method includes generating a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt a block of data of a data container to secure and store the data container; generating cipher text for the block of data encrypted with the hash key; using an encryption key to encrypt the hash key for the block of data; providing the cipher text and the encrypted hash key by the I/O processing module to a storage system for storage; where the I/O processing module segregates the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and storing the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

[0006] In another aspect, a non-transitory, machine readable storage medium having stored thereon instructions for performing a method is provided. The machine executable code which when executed by at least one machine, causes the machine to: generate a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt a block of data of a data container to secure and store the data container; generate cipher text for the block of data encrypted with the hash key; use an encryption key to encrypt the hash key for the block of data; provide the cipher text and the encrypted hash key by the I/O processing module to a storage system for storage; where the I/O processing module segregates the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and store the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

[0007] In yet another aspect, a system having a memory containing machine readable medium with machine executable code having stored thereon instructions is provided. A processor module coupled to the memory is configured to execute the machine executable code to: generate a hash key to encrypt a block of data of a data container to secure and store the data container; generate cipher text for the block of data encrypted with the hash key; use an encryption key to encrypt the hash key for the block of data; provide the cipher text and the encrypted hash key to a storage system for storage, where the encrypted hash key from the cipher text and maintains the encrypted hash key as part of metadata for the cipher text; and store the cipher text with the encrypted hash key as the metadata for the cipher text for the block of data.

[0008] This brief summary has been provided so that the nature of this disclosure may be understood quickly. A more complete understanding of the disclosure can be obtained by reference to the following detailed description of the various aspects thereof in connection with the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The various features of the present disclosure will now be described with reference to the drawings of the various aspects of the present disclosure. In the drawings, the same components may have the same reference numerals. The illustrated aspects are intended to illustrate, but not to limit the present disclosure. The drawings include the following Figures:

[0010] Figure 1 A shows an example of a non-cluster based storage environment, used according to one aspect of the present disclosure;

[0011] Figure 1 B shows an example of an input/output (I/O) processing layer, according to one aspect of the present disclosure;

[0012] Figures 1 G-1 E show examples of data storage layout formats, according to one aspect of the present disclosure;

[0013] Figures 1 F shows a process flow diagram for a write operation, according to one aspect of the present disclosure;

[0014] Figures 1 G shows a process flow diagram for a read operation, according to one aspect of the present disclosure;

[0015] Figure 1 H shows an example of a portion if a write operation using a log structure;

[0016] Figure 1 1 shows an illustration of process blocks of Figure 1 H;

[0017] Figure 2 shows a block diagram of a cluster based storage system, used according to one aspect of the present disclosure;

[0018] Figure 3 shows an example of a node used in a cluster based storage system, used according to one aspect of the present disclosure of the present disclosure;

[0019] Figure 4 shows a block diagram of an operating system, used according to one aspect of the present disclosure; and

[0020] Figure 5 shows an example of a processing system used according to one aspect of the present disclosure.

DETAILED DESCRIPTION

[0021] As a preliminary note, as used in this disclosure, the terms "component" "module", "system," and the like are intended to refer to a computer-related entity, either software-executing general purpose processor, hardware, firmware and a combination thereof. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computing device. By way of illustration, both an application running on a server and the server can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers. Also, these components can execute from various computer readable media having various data structures stored thereon.

[0022] The components may communicate via local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or across a network such as the Internet with other systems via the signal).

[0023] Computer executable components can be stored, for example, at non- transitory, computer readable media including, but not limited to, an ASIC (application specific integrated circuit), CD (compact disc), DVD (digital video disk), ROM (read only memory), floppy disk, hard disk, EEPROM (electrically erasable programmable read only memory), memory stick, non-transitory storage media or any other storage device type, in accordance with the claimed subject matter.

[0024] In one aspect, as described below in detail, methods and systems for efficiently storing and securing information are provided. As an example, one of the methods include generating a hash key by an input/output (I/O) processing module interfacing with a processor executable application to encrypt each block of data for a write request; generating cipher text for each block of data encrypted with the hash key using an encryption key to encrypt the hash key for each block of data; providing the cipher text and the encrypted hash key by the I/O processing module to a storage system; and storing the cipher text with the encrypted hash key as metadata for the cipher text for each block of data by the storage system.

[0025] in another aspect, methods and systems are provided where cryptographic metadata is stored in a data container's data stream that improves overall performance for storing and managing data containers (for example, a file, structured or unstructured data and used interchangeably throughout the specification). The metadata is associated with portions of the data containers and segregated from the actual data of the data container. This aliows a storage system to efficiently perform content-based operations, for example, de- duplication, as described below in detail

[0026] Non-Clustered Storage Environment 1 00: Figure 1 A depicts an illustrative aspect of a non-clustered storage environment 1 00, including a plurality of host compuiing systems/devices 104.1 -1 04, N (may also be referred to as host system (or client) and host systems (or clients) 104), storage systems 108A-108N (may also be referred to as storage system 108 or storage systems 108), a management console 120 and at least one interconnect system (or network) 106 communicably connecting host systems 104.1 -1 04.N, storage systems 108 and management console 120.

[0027] In one aspect, each host system 04 executes a processor executable application 1 16 and an input/output (I/O) processing module 1 18. Application 1 16 may generate and secure information that is then stored by the storage system 108. Details regarding application 1 16 and I/O processing module 1 18 are provided below.

[0028] Each storage system 108 may include or interface with a storage subsystem 1 14 (shown as 1 14A-1 14N) having multiple mass storage devices 1 12A-1 1 2N (may also be referred to as storage device or storage devices 1 12). The mass storage devices 1 12 may be, for example, conventional magnetic disks, optical disks such as CD-ROM or DVD based storage, magneto-optical (MO) storage, or any other type of non-volatile storage devices suitable for storing structured or unstructured data.

[0029] The storage system 1 08 executes a storage operating system 109 for managing storage space within storage subsystem 1 14 and presenting storage space to host systems 1 04. As an example, storage operating system 109 may be the DATA ONTAP® storage operating system, available from NetApp®, Inc., that implements a Write Anywhere File Layout (WAFL®) storage system, or any other suitable storage operating system.

[0030] Storage operating system 109 and applications 1 16 running on the host systems 104.1 -104.N communicate according to well-known protocols, such as the NFS protocol or the G!FS protocol, to make data stored on storage device 1 1 2 appear to users and/or application programs as though the data were stored locally on the host systems 104.1 -104.N. G!FS means the Common internet File System Protocol, an access protocol that host systems use to request file access services from storage systems over a network. NFS means a Network File System, a protocol that allows a user to access storage over a network.

[0031] Storage operating system 109 can present or export data stored at storage devices 1 12 as a volume (may also be referred to as a storage volume), or one or more qtree sub-volume units, to each of the host systems 104.1 -104. N. in one aspect, a volume is a logical data set which is an abstraction of physical storage, combining one or more physical mass storage devices or parts thereof into a single logical storage object. From the perspective of a host system 104, each volume can appear to be a single storage drive. However, each volume can represent the storage space in one storage device, an aggregate of some or all of the storage space in multiple storage devices, a RAID group, or any other suitable set of storage space. Each volume may be configured to store data containers, for example, data files, scripts, word processing documents, executable programs, structured and unstructured data and the like. Specifically, each volume can include a number of individually addressable files,

[0032] The storage operating system 109 may implement a high-level module, such as a file system, to logically organize the information stored at storage devices 1 12 as a hierarchical structure of directories, files, blocks, structured and un-structured data (may be referred to as data containers). For example, each "on-disk" data container may be implemented as set of data structures, i.e., blocks, configured to store information, such as the actual data for storage volumes. These data blocks are organized within a logical volume block number (vbn) space that is maintained by the file system. The file system organizes the storage data blocks within the vbn space as a "logical volume"; each logical volume may be, although is not necessarily, associated with its own file system. The file system typically consists of a contiguous range of vbns from zero to n, for a file system of size n~1 blocks.

[0033] in one aspect, the storage operating system 109 manages stored data blocks by using content-based operations, for example, de-duplication. De- duplication is a technique used for eliminating storage of duplicate copies of data that is stored by the storage system 108. One common de-duplication implementation involves comparing data blocks and determining a hash function. When data is the same, the comparison results in a same hash function. In that situation, the storage system 108 only stores one copy of the data, which saves storage space.

[0034] In a typical mode of operation, one of the host systems 104, 1 -104. N transmits one or more I/O (input/output) commands, such as an NFS or GIFS request, over network 106 to the storage system 108 to read or write information. The storage system 108 issues one or more I/O commands to storage device 1 12 to read or write the data on behalf of the host system. The storage system 108 also issues an NFS or CIFS response containing the requested data over network 108 to the host system.

[0035] in some instances, operating system 109 may present storage system 108 to host systems as virtual storage systems (may also be referred to as a "vserver" and also referred to as virtual storage system). The virtual storage system is addressable by the host systems and handles input/output commands, just like storage system 108. This allows one to present a physical storage system as multiple virtual storage systems to various hosts.

[0036] The management console 120 may be, for example, a conventional PC, workstation, or the like. The storage management application 1 18 can be a software application, typically used by a storage network administrator to manage a pool of storage devices and other modules of system 100.

[0037] Communication between the storage management application 1 18 and storage system 08 may be accomplished using any of the various conventional communication protocols and/or application programming interfaces (APIs), the details of which are not germane to the technique being introduced here. This communication may be enabled by network 1 06 or via a direct link (not shown) between the management console 120 and one or more of the storage systems.

[0038] Conventional encryption systems that use standard encryption techniques for securing information have shortcomings. For example, traditional techniques may use random initialization vectors for encryption. This generates different cipher text blocks for identical plain text blocks. This makes it difficult for storage systems to efficiently perform content-based operations, for example, de- duplication because a storage system performing de-duplication will not be able to easily de-crypt stored encrypted data containers

[0039] Convergent encryption (CE) including message-locked convergent encryption (MLE) techniques have been proposed to address the foregoing challenges of conventional encryption systems. CE is based on a premise that encryption of two identical pieces of data will produce identical cipher texts. MLE involves encrypting a hash key by an encryption key.

[0040] Existing conventional systems that may use CE and MLE techniques also have shortcomings. For example, most existing CE systems use convergent keys to secure arbitrarily sized files or objects. This makes it difficult for a storage system to efficiently perform content-based operations, for example, de- duplication. Furthermore, when existing CE systems use a hash key to encrypt block level data, they typically use a dedicated metadata server for managing the metadata and keys for the stored data. This of course results in higher cost and complexity for storing and accessing data.

[0041] Other conventional systems use complex key generation protocols with application servers and key servers. These solutions are also complex, and the encryption operation itself may use multiple network operations that affect overall performance. The various aspects described herein overcome conventional system short comings as described below in detail.

[0042] Host System 1 04.1 : Figure 1 B shows a block diagram of host system 104. Host system 104 executes application 1 1 6 for performing one or more functions within an operating system context. The operating system may be based on Linux, Windows ®, Unix or any other type. Application 1 16 may be an email application (Exchange Server), a database application (including Oracle® database application, SQL and others), word-processing and or any other application type. The adaptive aspects disclosed herein are not limited to any specific application.

[0043] To read or write data at storage system 108, application 1 16 generates an I/O request. When the I/O request is to write data, the request also includes the data that needs to be written. For retrieving data, the I/O request, provides a logical block address (LBA) and a LUN (or volume identifier).

[0044] The I/O request is provided to or intercepted by the I/O processing module 1 18 that may have a plurality of modules. As an example, a receive module 20 of the I/O processing module receives the write request with the data that needs to be written, in one aspect, the receive module 120 may include a driver (not shown) that is used to interface with the I/O processing module 1 18 used by the host system 104.1 to transmit I/O requests. The driver in that case interfaces between the application and other components of the I/O processing module 1 18.

[0045] The data 125 for the I/O request is provided to a hashing module 122 that generates a converged key (or a hash key) 124. The hash key 1 24 varies depending on the data. The hash key is provided to an encryption module 1 26 that also receives the data 125 that needs to be written. The encryption module 1 26 encrypts the data 125 using the hash key 124. The hash key 1 24 is also encrypted by using an encryption key obtained from a key store 28. It is noteworthy that the key store 128 may be external to the I/O processing module 1 18 or to host system 104.1 . As an example, the encryption key may be a 256-bit key complying with the Advanced Encryption Standard (AES). Of course the adaptive aspects described herein are not limited to any specific encryption key type.

[0048] The encryption module 126 generates cipher text 132 and the encrypted hash key 130. Both the cipher text 132 and the encrypted hash key are provided to the storage system 108 for storage. The encrypted hash key 1 30 is stored as metadata for the cipher text 132. As an example, each block of data is stored as cipher text with the associated metadata as described below with respect to Figures 1 C and 1 D.

[0047] To retrieve stored data, I/O processing module 1 1 8 retrieves the metadata for a block, retrieves the encryption key that is used to encrypt the hash key and then uses the hash key to decrypt the data. Neither the application 16 nor storage system 108 need to make any changes in order to write or read client data.

[0048] To perform content-based operations, like de-duplication, the storage system 08 stores the cipher text once.

[0049] File layout/Segment Layout: Figure 1 C shows an example of a layout 136 used to secure data according to one aspect of the present disclosure. File layout 136 may include a plurality of segments 138A-138N, where, as an example, each segment may be of fixed size, for example, 512k. Each segment is associated with a physical offset and a logical offset shown as 146 in Figure 1 C. The logical offset is associated with the logical block address and the physical offset is associated with the actual storage device, it is noteworthy that the segmentation and the internal file structure is handled by the I/O processing layer 1 1 8 and the storage system 108 is unaware of the segmentation. [0050] Each segment has a consistent layout 140. As an example, each segment may include certain number of fixed size storage blocks, for example, 4k. It is noteworthy that the storage block size may be variable to implement the various aspects of the present disclosure. As an example, the first block is used as a "key block" 142A, while blocks 144A-144N are used to store data blocks i.e. cipher text encrypted by a hash key. Details of segment layout 140 are shown as an example, in Figure 1 D.

[0051] Key block 142A includes metadata for each segment. The first section of key block 142A includes generic metadata information (shown as "meta") 1 50, while the remaining portions 152A-1 52N store the encrypted hash key 130 for each data block. The metadata 150 includes a logical size of the file that is stored, shown as 150A, a block IV 150B and a reserved section 50C. Block IV 150B is an initialization vector, a randomized binary string used by the encryption module 126 for encrypting the metadata key block. Details of using the I/O processing module 1 8 and the segment layout 140 are provided below with respect to Figures I F and 1 G. It is noteworthy that although Figure 1 D shows metadata 150 and keys 152A-152N as part of per-segment metadata 148, the encryption keys and metadata 1 50 are considered as part of the overall metadata for the segment.

[0052] In one aspect, the order of blocks may be shuffled within a segment so that the internal structure of a file can be hidden. In such an implementation, even if a hacker can determine the number of blocks within a file, the hacker may not be able to determine which parts of an encrypted file correspond to those blocks.

[0053] in another aspect, the metadata described above may be maintained within a log structure. The log structure may include a table of hash keys with a plurality of fields. One of the field's is the hash key itself and the associated block number. Each time a data block is written, the hash key is written to the key block. If there is an older version of the hash key, it is not overwritten, instead the new key is written to an unused entry. This allows the system to store both versions of the key. The new version of the cipher text is written replacing the older version, without replacing the hash key. This provides crash tolerance in a situation where if the system crashes while a key block is being updated, both possible hash keys are saved in the key block and one of hash keys can be used to retrieve the associated data. The empty slots of the log structure are purged, for example, after the data blocks are persistently stored. [0054] Figure 1 E shows an example of using the log structure, according to one aspect of the present disclosure. In this aspect, metadata segment has slots 0-n (151 A-151 N) that are used to store encrypted hash keys with the associated block number, however, the hash keys don't necessarily have to be in order, For example, slot 0 does not need to store the encrypted hash key for data block 0 and instead may store an encrypted hash key for another block.

[0055] Meta 1 50 includes the logical file size 1 50A and the block initialization vector 150, described above with respect to Figure 1 D. Meta 150 also includes a log head pointer 153 that points to a log-structure described above. The log head pointer 153 may be part of the reserved space 1 50C. As an example, the log structure maybe implemented as a circular log and the pointer 153 points to a last written slot (151 A-151 N) (also shown in Figure 1 1).

[0058] In one aspect, the log structure may be over-provisioned so that there are extra key slots in each segment's metadata block. This allows the system to store multiple encrypted hash keys for a subset of the blocks within a segment. Details and examples of using the log structure are provided below.

[0057] Process Flow: Figure 1 E shows a process 1 52 for writing data using I/O processing module 1 1 8, according to one aspect of the present disclosure. The process begins in block B154, when host system 104.1 with application 1 16 and I/O processing module 1 18 is initialized and operational. Storage system 108 and storage operating system 09 are also operational.

[0058] in block B156, application 1 16 generates a write request to write data using storage system 108. The data may be written as a file. The write request includes a file name, a byte offset into the file, size of the data payload and the data itself. The write request may include other information that are not germane to the innovative aspects and hence are not being described. The I/O processing module 1 18 receives or intercepts the write request. The hashing module 122 takes the data payload and splits the data payload into fixed size blocks. As an example, the block size is the same as the block size used by the storage system 108 to store data. For each block of data, a hashing key 124 is generated. The hashing module 122 may use any standard hashing technique (for example, the secure hash algorithm (SHA-256, SHA-1 or any other technique)) or a proprietary technique to generate the hashing key 124. [0059] In block B160, the encryption module 126 encrypts each data block by a hash key that is generated based on the data for each block. In one aspect, the encryption module 126 uses an encryption key to modify the hash key. The modified hash key is them used to encrypt the data block. The encrypted data block results in cipher text 132. Each hash key {or the modified hash key) is also encrypted by an encryption key (for example, a 256-bit, AES key). It is noteworthy that when the hash key is modified, then at least two encryption keys are used, one for generating the modified hash key to generate the cipher text and a second encryption key to protect the modified hash key. An example of block B1 60, using the log structure described above with respect to Figure 1 E is described below with respect to Figure 1 H.

[0060] Based on the cipher text 132 and the encrypted hash key, in block B162, the I/O processing module 1 18 generates a new I/O request to write the cipher text and encrypted hash key at storage devices 1 12. Thereafter, in block B164, the I/O processing module 1 18, provides the cipher text and the encrypted key to the storage system 108. The storage system 1 08 simply stores the cipher text and the encrypted hash key as shown on Figure 1 D above. The write request is then completed in block B166. A response is sent to the application 1 1 6 and the process ends.

[0061] Figure 1 F shows a process 1 68 to read stored data, according to one aspect. The process begins in block B1 70, when the host system 1 04.1 and the storage system 1 08 are operational. The process assumes that some data for one or more data containers is stored at the storage devices. To read the data, application 1 16 issues a read request, providing a file name and a file offset.

[0062] in block B172, read request is received or intercepted by the I/O processing module 1 18. in block B174, the I/O processing module 1 18 obtains the cipher text and the associated metadata with the encrypted hash key from the storage system 108. In block B1 76, the I/O processing module 1 18 obtains the encryption key for each encrypted hash key. As an example, the encryption key may be stored at the key store 128. The hash key is first decrypted and then the hash key is used to decrypt the cipher text, in one aspect, when the log structure described above with respect to Figure 1 E is used, then the process uses a block number to search for the encrypted hash key. if there is more than one key for the same block number, then the most recent key is used for executing process block B176. The unencrypted data is then provided to the application in block B1 78 and the process ends.

[0063] Figure 1 H shows an example of executing process block B 160 of Figure 1 F, according to one aspect of the present disclosure. An example of the Figure 1 H process is provided in Figure 1 1 where a segment for a log having eight blocks is shown as 191 . In this structure there are 8 slots that are already full and there is an extra slot labelled as "Empty".

[0064] Referring now to Figure 1 H, in block B1 60A, the process determines if there is new empty slot available within a segment to store a key for a previous block that has been written (for example, GEKeyS and the updated encrypted hash key is shown as CEKeyS' shown in Figure 1 1). When an empty slot is available, then the updated encrypted hash key is written in block B 60B. This is shown as 193 in Figure 1 E, where CEKey3' is written at the empty slot.

[0065] if an empty slot is not available, then the process searches the segment to see if a duplicate encrypted hash key exists for a block. When a duplicate location is found, then the encrypted hash key is written at the oldest slot in block B160C. This is shown as 1 95 in Figure 1 1, where the old CEKeyS is replaced by CEKEY5', an updated version for CEKeyS. Thereafter, the log head pointer is updated in block B1 80D. This is shown as 197 in Figure 1 1, where the pointer points to the latest slot that was written.

[0066] As described above, data is stored securely and efficiently in a crash- tolerant manner. Content-based operations by the storage system 108 are not affected because the storage system 108 stores the cipher text and the metadata together, just like regular, unsecured data.

[0067] Clustered Storage Environment 200: The adaptive aspects described herein can be implemented in a cluster based system that has a distributed architecture. Figure 2 depicts an illustrative aspect of a clustered storage environment 200 including a plurality of host systems 204.1 -204.2 (similar to hosts 104.1 -104. N), a clustered storage system 202 and at least one computer network 208 communicabiy connecting the host systems 204.1 -204.2 and the clustered storage system 202. The clustered storage system 202 includes a plurality of nodes 208.1 -208.3, a cluster switching fabric 21 0, and a plurality of mass storage devices 212.1 -212.3 for storing cipher text and the associated metadata, as described above. [0068] Each of the plurality of nodes 208,1 -208.3 may be configured to operate as a storage system. Each node may include an N-moduie, a D-module, and an M-host, each of which can be implemented as a separate processor executable or machine implemented module. Specifically, node 208.1 includes an N-moduie

214.1 , a D-module 21 6.1 , and an M-host 218.1 , node 208.2 includes an N-module

214.2, a D-module 216.2, and an M-host 218,2, and node 208.3 includes an N- module 214.3, a D-module 21 6.3, and an M-host 21 8.3.

[0069] The N-modules 214,1 -214.3 include functionality that enables the respective nodes 208.1 -208.3 to connect to one or more of the host systems 204.1 -204.2 over the computer network 206, while the D-modules 216,1 -216.3 connect to one or more of the storage devices 212.1 -212.3.

[0070] The M-hosts 218.1 -21 8.3 provide management functions for the clustered storage system 202. Accordingly, each of the plurality of server nodes 208.1 -208,3 in the clustered storage server arrangement provides the functionality of a storage server.

[0071] A switched virtualization layer including a plurality of virtual interfaces (VIFs) 220 is provided below the interface between the respective N-moduies 214.1 -214.3 and the host systems 204.1 -204.2, allowing storage 212, 1 -21 2.3 associated with the nodes 208.1 -208.3 to be presented to the host systems 204.1 - 204.2 as a single shared storage pool. For example, the switched virtualization layer may implement a virtual interface architecture. Figure 2 depicts only the VIFs 220 at the interfaces to the N-moduies 214.1 , 214.3 for clarity of illustration.

[0072] The clustered storage system 202 can be organized into any suitable number of vservers, in which each virtual storage system represents a single storage system namespace with separate network access. Each vserver has a user domain and a security domain that are separate from the user and security domains of other virtual storage systems. Host systems can access storage space via a VServer from any node of the clustered system 202.

[0073] Each of the nodes 208.1 -208.3 may be defined as a computer adapted to provide application services to one or more of the host systems 204.1 -204,2, The nodes 208.1 -208.3 are interconnected by the switching fabric 210, which, for example, may be embodied as a Gigabit Ethernet switch or any other interconnect type. [0074] Although Figure 2 depicts three N-modules 214.1 -214.3, the D-modules 21 6.1 -216.3, and the M-Hosts 218.1 -218.3, any other suitable number of N- modules, D-modules, and M-Hosts may be provided. There may also be different numbers of N-modules, D-modules, and/or M-Hosts within the clustered storage system 202. For example, in alternative aspects, the clustered storage system 202 may include a plurality of N-moduies and a plurality of D-modules interconnected in a configuration that does not reflect a one-to-one correspondence between the N-moduies and D-modules.

[0075] The host systems 204.1 -204.2 of Figure 2 may be implemented as general-purpose computers configured to interact with the respective nodes 208.1 - 208.3 in accordance with a client/server model of information delivery. In the presently disclosed aspect, the interaction between the host systems 204.1 -204.2 and the nodes 208.1 -208,3 enable the provision of network data storage services.

[0076] Specifically, each host system 204.1 , 204.2 may request the services of one of the respective nodes 208.1 , 208.2, 208.3, and that node may return the results of the services requested by the host system by exchanging packets over the computer network 206, which may be wire-based, optical fiber, wireless, or any other suitable combination thereof. The host systems 204.1 -204.2 may issue packets according to file-based access protocols, such as the NFS or CIFS protocol, when accessing information in the form of files and directories.

[0077] Storage System Node 208.1 : Figure 3 is a block diagram of a node 208.1 that is illustratively embodied as a storage system comprising of a plurality of processors 302A and 302B, a memory 304, a network adapter 310, a cluster access adapter 31 2, a storage adapter 31 6 and local storage 3 3 interconnected by a system bus 308. The local storage 313 comprises one or more storage devices utilized by the node to locally store configuration information {e.g., in a configuration data structure 314).

[0078] The cluster access adapter 3 2 comprises a plurality of ports adapted to couple node 208.1 to other nodes of cluster 100. In the illustrative aspect, Ethernet (or any other protocol) may be used as the clustering protocol and interconnect media, although it will be apparent to those skilled in the art that other types of protocols and interconnects may be utilized within the cluster architecture described herein, in alternate aspects where the N-moduies and D-modules are implemented on separate storage systems or computers, the cluster access adapter 312 is utilized by the N/D-module for communicating with other N/D- modules in the cluster 100.

[0079] Each node 208,1 is illustratively embodied as a dual processor storage system executing a storage operating system 306 (similar to 109, Figure 1 ) that preferably implements a high-level module, such as a file system, to logically organize the information as a hierarchical structure of named directories and files on storage 212.1 . However, it will be apparent to those of ordinary skill in the art that the node 208.1 may alternatively comprise a single or more than two processor systems. Illustratively, one processor 302A executes the functions of the N-moduie 104 on the node, while the other processor 302B executes the functions of the D~modu!e 106.

[0080] The memory 304 illustratively comprises storage locations that are addressable by the processors and adapters for storing programmable instructions and data structures. The processor and adapters may, in turn, comprise processing elements and/or logic circuitry configured to execute the programmable instructions and manipulate the data structures. It will be apparent to those skilled in the art that other processing and memory means, including various computer readable media, may be used for storing and executing program instructions pertaining to the present disclosure.

[0081] The storage operating system 306, portions of which is typically resident in memory and executed by the processing elements, functionally organizes the node 208.1 by, inter alia, invoking storage operations in support of the storage service implemented by the node.

[0082] The network adapter 310 comprises a plurality of ports adapted to couple the node 208.1 to one or more hosts 204.1 /204.2 over point-to-point links, wide area networks, virtual private networks implemented over a public network (Internet) or a shared local area network. The network adapter 310 thus may comprise the mechanical, electrical and signaling circuitry needed to connect the node to the network. Illustratively, the computer network 206 may be embodied as an Ethernet network, a Fibre Channel network or any other network type. Each host 204.1 /204.2 may communicate with the node over network 206 by exchanging discrete frames or packets of data according to pre-defined protocols, such as TCP/IP. [0083] The storage adapter 316 cooperates with the storage operating system 306 executing at node 208.1 to write and access information requested by the hosts as described above. The information may be stored on any type of attached array of writable storage device media such as video tape, optical, DVD, magnetic tape, bubble memory, electronic random access memory, micro-electro mechanical and any other similar media adapted to store information, including data and parity information. However, as illustratively described herein, the information is preferably stored on storage device 212.1 . The storage adapter 316 comprises a plurality of ports having input/output (I/O) interface circuitry that couples to the storage devices over an I/O interconnect arrangement, such as a conventional high-performance, FC link topology.

[0084] Operating System: Figure 4 illustrates a generic example of storage operating system 308 executed by node 208.1 , according to one aspect of the present disclosure. The storage operating system 306 manages all the storage volumes and conducts read and write operations and interfaces with the I/O processing module 1 18 described above in detail.

[0085] in one example, storage operating system 306 may include several modules, or "layers" executed by one or both of N-Module 214 and D-Module 216, These layers include a file system manager 400 that keeps track of a directory structure (hierarchy) of the data stored in storage devices and manages read/write operations, i.e. executes read/write operations on storage in response to host system 204.1 /204.2 requests, as described above.

[0086] Operating system 306 may also include a protocol layer 402 and an associated network access layer 406, to allow node 208.1 to communicate over a network with other systems, such as host systems 204.1 /204.2. Protocol layer 402 may implement one or more of various higher-level network protocols, such as NFS, CIFS, Hypertext Transfer Protocol (HTTP), TCP/IP and others, as described below.

[0087] Network access layer 406 may include one or more drivers, which implement one or more lower-level protocols to communicate over the network, such as Ethernet. Interactions between host systems' 204.1 /204.2 and mass storage devices 21 2.1 are illustrated schematically as a path, which illustrates the flow of data through operating system 306. [0088] The operating system 308 may also include a storage access layer 404 and an associated storage driver layer 408 to allow D-module 216 to communicate with a storage device. The storage access layer 404 may implement a higher- level storage protocol, such as RAID, while the storage driver layer 408 may implement a lower-level storage device access protocol, such as FC or SCSI.

[0089] As used herein, the term "storage operating system" generally refers to the computer-executable code operable on a computer to perform a storage function that manages data access and may, in the case of a node 208.1 , implement data access semantics of a general purpose operating system. The storage operating system can also be implemented as a microkernel, an application program operating over a general-purpose operating system, such as UNIX® or Windows XP@, or as a general-purpose operating system with configurable functionality, which is configured for storage applications as described herein.

[0090] in addition, it will be understood to those skilled in the art that the various inventive aspects described herein may apply to any type of special- purpose (e.g., file server, filer or storage serving appliance) or general-purpose computer, including a standalone computer or portion thereof, embodied as or including a storage system. Moreover, the teachings of this disclosure can be adapted to a variety of storage system architectures including, but not limited to, a network-attached storage environment, a storage area network and a storage device directly-attached to a client or host computer. The term "storage system" should therefore be taken broadly to include such arrangements in addition to any subsystems configured to perform a storage function and associated with other equipment or systems, it should be noted that while this description is written in terms of a write any where file system, the teachings of the present disclosure may be utilized with any suitable file system, including a write in place file system.

[0091] Processing System: Figure 5 is a high-level block diagram showing an example of the architecture of a processing system that may be used according to one aspect. The processing system 500 can represent host 104, 204 or storage system 108, for example. Note that certain standard and well-known components which are not germane to the present disclosure are not shown in Figure 5.

[0092] The processing system 500 includes one or more processor(s) 502 and memory 504, coupled to a bus system 505. The bus system 505 shown in Figure 5 is an abstraction that represents any one or more separate physical buses and/or point-to-point connections, connected by appropriate bridges, adapters and/or controllers. The bus system 505, therefore, may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), or an institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus (sometimes referred to as "Firewire").

[0093] The processor(s) 502 are the central processing units (CPUs) of the processing system 500 and, thus, control its overall operation, in certain aspects, the processors 502 accomplish this by executing software stored in memory 504. A processor 502 may be, or may include, one or more programmable general- purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices.

[0094] Memory 504 represents any form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices. Memory 504 includes the main memory of the processing system 500. Instructions 506 which implement the process steps described above with respect to Figures 1 E and 1 F may reside in and execute (by processors 502) from memory 504.

[0095] Also connected to the processors 502 through the bus system 505 are one or more internal mass storage devices 510, and a network adapter 512. Internal mass storage devices 510 may be or include any conventional medium for storing large volumes of data in a non-volatile manner, such as one or more magnetic or optical based disks. The network adapter 512 provides the processing system 500 with the ability to communicate with remote devices (e.g., storage servers 20) over a network and may be, for example, an Ethernet adapter, a Fibre Channel adapter, or the like.

[0096] The processing system 500 also includes one or more input/output (I/O) devices 508 coupled to the bus system 63. The I/O devices 508 may include, for example, a display device, a keyboard, a mouse, etc.

[0097] Cloud Computing: The system and techniques described above are applicable and useful in the upcoming cloud computing environment. Cloud computing means computing capability that provides an abstraction between the computing resource and its underlying technical architecture (e.g., servers, storage, networks), enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction. The term "cloud" is intended to refer to the Internet and cloud computing allows shared resources, for example, software and information to be available, on-demand, like a public utility.

[0098] Typical cloud computing providers deliver common business applications online which are accessed from another web service or software like a web browser, while the software and data are stored remotely on servers. The cloud computing architecture uses a layered approach for providing application services. A first layer is an application layer that is executed at host system computers. After the application layer, is a cloud platform and cloud infrastructure, followed by a "server" layer that includes hardware and computer software designed for cloud specific services. In this example, a source storage system and a destination storage system may be presented in a cloud for storing information.

[0099] Thus, a method and apparatus for securing stored data have been described. Note that references throughout this specification to "one aspect" or "an aspect" mean that a particular feature, structure or characteristic described in connection with the aspect is included in at least one aspect of the present disclosure. Therefore, it is emphasized and should be appreciated that two or more references to "an aspect" or "one aspect" or "an alternative aspect" in various portions of this specification are not necessarily ail referring to the same aspect. Furthermore, the particular features, structures or characteristics being referred to may be combined as suitable in one or more aspects of the present disclosure, as will be recognized by those of ordinary skill in the art.

[0100] While the present disclosure is described above with respect to what is currently considered its preferred aspects, it is to be understood that the disclosure is not limited to that described above. To the contrary, the disclosure is intended to cover various modifications and equivalent arrangements within the spirit and scope of the appended claims.