US20120150807A1 - Technique for increasing the number of persistent consistency point images in a file system - Google Patents
Technique for increasing the number of persistent consistency point images in a file system Download PDFInfo
- Publication number
- US20120150807A1 US20120150807A1 US13/401,469 US201213401469A US2012150807A1 US 20120150807 A1 US20120150807 A1 US 20120150807A1 US 201213401469 A US201213401469 A US 201213401469A US 2012150807 A1 US2012150807 A1 US 2012150807A1
- Authority
- US
- United States
- Prior art keywords
- block
- fsinfo
- blocks
- file system
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99951—File or database maintenance
- Y10S707/99952—Coherency, e.g. same view to multiple users
- Y10S707/99953—Recoverability
Definitions
- the present invention relates to file systems and, more specifically, to a technique for increasing the number of persistent consistency point images of a file system.
- a storage system typically comprises one or more storage devices into which information may be entered, and from which information may be obtained, as desired.
- the storage system includes a storage operating system that functionally organizes the system by, inter alia, invoking storage operations in support of a storage service implemented by the system.
- the storage system may be implemented in accordance with a variety of storage architectures including, but not limited to, a network-attached storage environment, a storage area network and a disk assembly directly attached to a client or host computer.
- the storage devices are typically disk drives organized as a disk array, wherein the term “disk” commonly describes a self-contained rotating magnetic media storage device.
- the term disk in this context is synonymous with hard disk drive (HDD) or direct access storage device (DASD).
- Storage of information on the disk array is preferably implemented as one or more storage “volumes” of physical disks, defining an overall logical arrangement of disk space.
- the disks within a volume are typically organized as one or more groups, wherein each group may be operated as a Redundant Array of Independent (or Inexpensive) Disks (RAID).
- RAID Redundant Array of Independent (or Inexpensive) Disks
- Most RAID implementations enhance the reliability/integrity of data storage through the redundant writing of data “stripes” across a given number of physical disks in the RAID group, and the appropriate storing of redundant information (parity) with respect to the striped data.
- the physical disks of each RAID group may include disks configured to store striped data (i.e., data disks) and disks configured to store parity for the data (i.e., parity disks). The parity may thereafter be retrieved to enable recovery of data lost when a disk fails.
- RAID Redundant Arrays of Inexpensive Disks
- the storage operating system of the storage system may implement a high-level module, such as a file system, to logically organize the information stored on the disks as a hierarchical structure of directories, files and blocks.
- a high-level module such as a file system
- each “on-disk” file may be implemented as set of data structures, i.e., disk blocks, configured to store information, such as the actual data for the file.
- vbn volume block number
- the file system organizes the 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.
- a known type of file system is a write-anywhere file system that does not overwrite data on disks. If a data block is retrieved (read) from disk into a memory of the storage system and “dirtied” (i.e., updated or modified) with new data, the data block is thereafter stored (written) to a new location on disk to optimize write performance.
- a write-anywhere file system may initially assume an optimal layout such that the data is substantially contiguously arranged on disks. The optimal disk layout results in efficient access operations, particularly for sequential read operations, directed to the disks.
- An example of a write-anywhere file system that is configured to operate on a storage system is the Write Anywhere File Layout (WAFLTM) file system available from Network Appliance, Inc., Sunnyvale, Calif.
- WAFLTM Write Anywhere File Layout
- the storage operating system may further implement a storage module, such as a RAID system, that manages the storage and retrieval of the information to and from the disks in accordance with input/output (I/O) operations.
- a storage module such as a RAID system
- the RAID system is also responsible for parity operations in the storage system. Note that the file system only “sees” the data disks within its vbn space; the parity disks are “hidden” from the file system and, thus, are only visible to the RAID system.
- the RAID system typically organizes the RAID groups into one large “physical” disk (i.e., a physical volume), such that the disk blocks are concatenated across all disks of all RAID groups. The logical volume maintained by the file system is then “disposed over” the physical volume maintained by the RAID system.
- the storage system may be configured to operate according to a client/server model of information delivery to thereby allow many clients to access the directories, files and blocks stored on the system.
- the client may comprise an application, such as a database application, executing on a computer that “connects” to the storage system over a computer network, such as a point-to-point link, shared local area network, wide area network or virtual private network implemented over a public network, such as the Internet.
- Each client may request the services of the file system by issuing file system protocol messages (in the form of packets) to the storage system over the network.
- file system protocol messages in the form of packets
- the file system When accessing a block of a file in response to servicing a client request, the file system specifies a vbn that is translated at the file system/RAID system boundary into a disk block number (dbn) location on a particular disk (disk, dbn) within a RAID group of the physical volume.
- dbn disk block number
- Each block in the vbn space and in the dbn space is typically fixed, e.g., 4 k bytes (KB), in size; accordingly, there is typically a one-to-one mapping between the information stored on the disks in the dbn space and the information organized by the file system in the vbn space.
- the (disk, dbn) location specified by the RAID system is further translated by a disk driver system of the storage operating system into a sector (or similar granularity) on the specified disk.
- the requested block is then retrieved from disk and stored in a buffer cache of the memory as part of a buffer tree of the file.
- the buffer tree is an internal representation of blocks for a file stored in the buffer cache and maintained by the file system.
- the buffer tree has an inode at the root (top-level) of the file.
- An inode is a data structure used to store information, such as metadata, about a file, whereas the data blocks are structures used to store the actual data for the file.
- the information contained in an inode may include, e.g., ownership of the file, access permission for the file, size of the file, file type and references to locations on disk of the data blocks for the file.
- Each pointer may further reference indirect blocks that, in turn, reference the data blocks, depending upon the quantity of data in the file.
- Each pointer may be embodied as a vbn to facilitate efficiency among the file system and the RAID system when accessing the data on disks.
- the file system such as the write-anywhere file system, maintains information about the geometry of the underlying physical disks (e.g., the number of blocks in each disk) in the storage system.
- the RAID system provides the disk geometry information to the file system for use when creating and maintaining the vbn-to-disk, dbn mappings used to perform write allocation operations.
- the file system maintains block allocation data structures, such as an active map, a space map, a summary map and snapmaps. These mapping data structures describe which blocks are currently in use and which are available for use and are used by a write allocator of the file system as existing infrastructure for the logical volume.
- the snapmap denotes a bitmap file describing which blocks are used by a snapshot.
- the write-anywhere file system (such as the WAFL file system) has the capability to generate a snapshot of its active file system.
- An “active file system” is a file system to which data can be both written and read or, more generally, an active store that responds to both read and write I/O operations.
- “snapshot” is a trademark of Network Appliance, Inc. and is used for purposes of this patent to designate a persistent consistency point (CP) image.
- a persistent consistency point image (PCPI) is a space conservative, point-in-time read-only image of data accessible by name that provides a consistent image of that data (such as a storage system) at some previous time.
- a PCPI is a point-in-time representation of a storage element, such as an active file system, file or database, stored on a storage device (e.g., on disk) or other persistent memory and having a name or other identifier that distinguishes it from other PCPIs taken at other points in time.
- a PCPI can also include other information (metadata) about the active file system at the particular point in time for which the image is taken.
- metadata information
- the write-anywhere file system supports (maintains) multiple snapshots that are generally created on a regular schedule.
- Each snapshot refers to a copy of the file system that diverges from the active file system over time as the active file system is modified.
- Each snapshot is a restorable version of the storage element (e.g., the active file system) created at a predetermined point in time and, as noted, is “read-only” accessible and “space-conservative”. Space conservative denotes that common parts of the storage element in multiple snapshots share the same file system blocks. Only the differences among these various snapshots require extra storage blocks.
- the multiple snapshots of a storage element are not independent copies, each consuming disk space; therefore, creation of a snapshot on the file system is instantaneous, since no entity data needs to be copied.
- Read-only accessibility denotes that a snapshot cannot be modified because it is closely coupled to a single writable image in the active file system.
- the closely coupled association between a file in the active file system and the same file in a snapshot obviates the use of multiple “same” files.
- snapshots are described in TR 3002 File System Design for a NFS File Server Appliance by David Hitz et al., published by Network Appliance, Inc. and in U.S. Pat. No.
- the active map denotes a bitmap file describing which blocks are used by the active file system.
- a snapshot may contain metadata describing the file system as it existed at the point in time that the image was taken.
- a snapshot captures the active map as it existed at the time of snapshot creation; this file is also known as the snapmap for the snapshot.
- a snapmap denotes a bitmap file describing which blocks are used by a snapshot.
- the summary map denotes a file that is an inclusive logical OR bitmap of all snapmaps.
- the space map denotes a file including an array of numbers that describe the number of storage blocks used in a block allocation area.
- the space map is essentially a logical OR bitmap between the active and summary maps to provide a condensed version of available “free block” areas within the vbn space. Examples of snapshot and block allocation data structures, such as the active map, space map and summary map, are described in U.S. Patent Application Publication No. US2002/0083037 A1, titled Write Allocation Based on Storage System Map and Snap-shot, by Blake Lewis et al. and published on Jun. 27, 2002, and issued on Nov. 18, 2008, as U.S. Pat. No. 7,454,445 which application is hereby incorporated by reference.
- FIG. 1 is a schematic block diagram of an exemplary on-disk storage structure 100 of a logical volume of a storage system.
- a logical volume is typically associated with a file system and comprises data blocks organized within a vbn space.
- Each logical volume (hereinafter “volume”) has a file system information (fsinfo) block that is preferably stored at a fixed location within, e.g., a RAID group.
- Fsinfo block 105 is the root of the on-disk storage structure 100 , illustratively at vbns 1 and 2 . When loading the volume, the storage operating system accesses those vbns to acquire the fsinfo block 105 .
- the fsinfo block 105 includes a variety of metadata that describes the state of the file system; also included in the fsinfo block 105 is an inode for an inode file 110 . All inodes of the write-anywhere file system are organized into the inode file 111 . Like any other file, the inode of the inode file is the root of the buffer tree that describes the location of blocks o the file. As such, the inode of the inode file may directly reference (point to) data blocks 107 of the inode file 111 or may reference indirect blocks 106 of the inode file 111 that, in turn, reference data blocks of the inode file.
- the inode for the inode file 110 includes an exemplary buffer tree comprising a plurality of inode file indirect blocks 106 that, in turn, point to inode file data blocks 107 .
- inodes 112 Within each data block of the inode file are inodes 112 , each of which serves as the root of a file.
- there are inodes for special metadata files such as an active map 115 , a summary map 120 , a space map 125 , a root directory 140 and a metadata directory 145 . All user files in the file system are organized under the root directory 140 , while various metadata files associated with the file system are stored under the metadata directory 145 .
- the inode file may further include inodes that reference a plurality of snapshots 130 , 135 .
- These snapshot inodes are the root level inodes of snapshots (PCPIs) of the active file system.
- PCPIs root level inodes of snapshots
- Each volume has special reserved inode numbers within its vbn space; a plurality of those inode numbers (e.g., 31) is reserved for PCPIs.
- a PCPI is generated of the active file system
- a copy of the inode for the inode file is generated (hereinafter the “snapshot root”) and assigned one of the reserved PCPI inode numbers.
- the storage operating system accesses the appropriate snapshot root of the PCPI.
- a noted disadvantage of such an on-disk storage structure is a limitation on the number PCPIs (e.g., 31) that may be maintained with the file system.
- PCPIs e.g., 31
- a system administrator user
- PCPI creation and/or retention schedules to avoid exhausting the available number of maintainable PCPIs.
- This limitation may prove burdensome and, possibly, costly depending upon the need for additional PCPI capacity.
- the present invention is directed to alleviating this limitation.
- the present invention overcomes the disadvantages of the prior art by providing an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained for a volume of a storage system.
- the on-disk storage arrangement comprises a novel volume information (volinfo) block representing the root of the volume; the volinfo block is stored at predefined locations on disk and comprises various system wide configuration data.
- the volinfo block further comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by a file system executing on the storage system.
- the data structure may be organized as an array of pointers, wherein each pointer references a data block comprising a snapshot root, thereby enabling efficient access to each PCPI maintained by the file system.
- the volume comprises data blocks organized within a volume block number (vbn) space maintained by the file system.
- the array is embodied as a vbn lookup table having a plurality of entries, wherein each entry comprises a vbn pointer configured to point to (reference) a file system information (fsinfo) block within the volume.
- the fsinfo block contains information that specifies a layout of the file system.
- Each entry of the vbn lookup table is indexed by an identifier assigned to each PCPI; notably, entry zero holds a vbn pointer to the “active” file system.
- one of the fsinfo blocks referenced by the vbn lookup table is associated with the active file system, while the remaining fsinfo blocks are associated with PCPIs of the active file system.
- the novel vbn lookup table enables efficient access to information describing the active file system and, illustratively, 255 PCPIs.
- This feature of the invention permits an illustrative eight-fold increase in the number of PCPIs maintainable by the file system.
- Additional PCPIs may be maintained in the storage system by configuring the vbn lookup table to provide further levels of indirection.
- the entries of the vbn lookup table may be configured to reference indirect fsinfo blocks that, in turn, reference “direct” fsinfo blocks. Therefore by expanding the number of levels of indirection, any number of PCPIs may be maintained with the file system.
- FIG. 1 is a schematic block diagram of an on-disk storage structure of a volume of a storage system
- FIG. 2 is a schematic block diagram of an environment including a storage system that may be added advantageously used with a present invention
- FIG. 3 is a schematic block diagram of a storage operating system that be advantageously used with a present invention
- FIG. 4 is a schematic block diagram of an inode that may be advantageously used with the present
- FIG. 5 is a schematic block diagram of an on-disk storage arrangement of a volume in accordance with an illustrative embodiment of the present invention
- FIG. 6 is a schematic block diagram of an exemplary volume information block in accordance with the embodiment with the present information.
- FIG. 7 is a schematic block diagram of an on-disk storage arrangement of a volume in accordance with an alternate embodiment of the present invention.
- FIG. 2 is a schematic block diagram of an environment 200 including a storage system 220 that may be advantageously used with the present invention.
- the storage system is a computer that provides storage service relating to the organization of information on storage devices, such as disks 230 of a disk array 260 .
- the storage system 220 comprises a processor 222 , a memory 224 , a network adapter 226 and a storage adapter 228 interconnected by a system bus 225 .
- the storage system 220 also includes a storage operating system 300 that preferably implements a high-level module, such as a file system, to logically organize the information as a hierarchical structure of directories, files and special types of files called virtual disks (hereinafter “blocks”) on the disks.
- blocks virtual disks
- the memory 224 comprises storage locations that are addressable by the processor and adapters for storing software program code.
- a portion of the memory may be further organized as a “buffer cache” 270 for storing certain data structures associated with the present invention.
- the processor and adapters may, in turn, comprise processing elements and/or logic circuitry configured to execute the software code and manipulate the data structures.
- Storage operating system 300 portions of which are typically resident in memory and executed by the processing elements, functionally organizes the system 220 by, inter alia, invoking storage operations executed by the storage system. 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 inventive technique described herein.
- the network adapter 226 comprises the mechanical, electrical and signaling circuitry needed to connect the storage system 220 to a client 210 over a computer network 240 , which may comprise a point-to-point connection or a shared medium, such as a local area network.
- the computer network 240 may be embodied as an Ethernet network or a Fibre Channel (FC) network.
- the client 210 may communicate with the storage system over network 240 by exchanging discrete frames or packets of data according to pre-defined protocols, such as the Transmission Control Protocol/Internet Protocol (TCP/IP).
- TCP/IP Transmission Control Protocol/Internet Protocol
- the client 210 may be a general-purpose computer configured to execute applications 212 . Moreover, the client 210 may interact with the storage system 220 in accordance with a client/server model of information delivery. That is, the client may request the services of the storage system, and the system may return the results of the services requested by the client, by exchanging packets 250 over the network 240 .
- the clients may issue packets including file-based access protocols, such as the Common Internet File System (CIFS) protocol or Network File System (NFS) protocol, over TCP/IP when accessing information in the form of files and directories.
- CIFS Common Internet File System
- NFS Network File System
- the client may issue packets including block-based access protocols, such as the Small Computer Systems Interface (SCSI) protocol encapsulated over TCP (iSCSI) and SCSI encapsulated over Fibre Channel (FCP), when accessing information in the form of blocks.
- SCSI Small Computer Systems Interface
- iSCSI iSCSI
- FCP Fibre Channel
- the storage adapter 228 cooperates with the storage operating system 300 executing on the system 220 to access information requested by a user (or client).
- 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.
- the information is preferably stored on the disks 230 , such as HDD and/or DASD, of array 260 .
- the storage adapter includes input/output (I/O) interface circuitry that couples to the disks over an I/O interconnect arrangement, such as a conventional high-performance, FC serial link topology.
- Storage of information on array 260 is preferably implemented as one or more storage “volumes” that comprise a collection of physical storage disks 230 cooperating to define an overall logical arrangement of volume block number (vbn) space on the volume(s).
- Each logical volume is generally, although not necessarily, associated with its own file system.
- the disks within a logical volume/file system are typically organized as one or more groups, wherein each group may be operated as a Redundant Array of Independent (or Inexpensive) Disks (RAID).
- RAID Redundant Array of Independent
- RAID implementations such as a RAID-4 level implementation, enhance the reliability/integrity of data storage through the redundant writing of data “stripes” across a given number of physical disks in the RAID group, and the appropriate storing of parity information with respect to the striped data.
- An illustrative example of a RAID implementation is a RAID-4 level implementation, although it should be understood that other types and levels of RAID implementations may be used in accordance with the inventive principles described herein.
- the storage operating system 300 implements a write-anywhere file system that cooperates with virtualization modules to “virtualize” the storage space provided by disks 230 .
- the file system logically organizes the information as a hierarchical structure of named directories and files on the disks.
- Each “on-disk” file may be implemented as set of disk blocks configured to store information, such as data, whereas the directory may be implemented as a specially formatted file in which names and links to other files and directories are stored.
- the virtualization modules allow the file system to further logically organize information as a hierarchical structure of blocks on the disks that are exported as named logical unit numbers (luns).
- the storage operating system is preferably the NetApp® Data ONTAPTM operating system available from Network Appliance, Inc., Sunnyvale, Calif. that implements a Write Anywhere File Layout (WAFLTM) file system.
- WAFLTM Write Anywhere File Layout
- any appropriate storage operating system may be enhanced for use in accordance with the inventive principles described herein. As such, where the term “WAFL” is employed, it should be taken broadly to refer to any file system that is otherwise adaptable to the teachings of this invention.
- FIG. 3 is a schematic block diagram of the storage operating system 300 that may be advantageously used with the present invention.
- the storage operating system comprises a series of software layers organized to form an integrated network protocol stack or, more generally, a multi-protocol engine that provides data paths for clients to access information stored on the storage system using block and file access protocols.
- the protocol stack includes a media access layer 310 of network drivers (e.g., gigabit Ethernet drivers) that interfaces to network protocol layers, such as the IP layer 312 and its supporting transport mechanisms, the TCP layer 314 and the User Datagram Protocol (UDP) layer 316 .
- network drivers e.g., gigabit Ethernet drivers
- a file system protocol layer provides multi-protocol file access and, to that end, includes support for the Direct Access File System (DAFS) protocol 318 , the NFS protocol 320 , the CIFS protocol 322 and the Hypertext Transfer Protocol (HTTP) protocol 324 .
- DAFS Direct Access File System
- NFS NFS protocol
- CIFS CIFS protocol
- HTTP Hypertext Transfer Protocol
- a VI layer 326 implements the VI architecture to provide direct access transport (DAT) capabilities, such as RDMA, as required by the DAFS protocol 318 .
- DAT direct access transport
- An iSCSI driver layer 328 provides block protocol access over the TCP/IP network protocol layers, while a FC driver layer 330 receives and transmits block access requests and responses to and from the storage system.
- the FC and iSCSI drivers provide FC-specific and iSCSI-specific access control to the blocks and, thus, manage exports of luns to either iSCSI or FCP or, alternatively, to both iSCSI and FCP when accessing the blocks on the storage system.
- the storage operating system includes a storage module embodied as a RAID system 340 that manages the storage and retrieval of information to and from the volumes/disks in accordance with I/O operations, and a disk driver system 350 that implements a disk access protocol such as, e.g., the SCSI protocol.
- a storage module embodied as a RAID system 340 that manages the storage and retrieval of information to and from the volumes/disks in accordance with I/O operations
- a disk driver system 350 that implements a disk access protocol such as, e.g., the SCSI protocol.
- Bridging the disk software layers with the integrated network protocol stack layers is a virtualization system that is implemented by a file system 380 interacting with virtualization modules illustratively embodied as, e.g., vdisk module 390 and SCSI target is module 370 .
- the vdisk module 390 is layered on the file system 380 to enable access by administrative interfaces.
- the SCSI target module 370 is disposed between the FC and iSCSI drivers 328 , 330 and the file system 380 to provide a translation layer of the virtualization system between the block (lun) space and the file system space, where luns are represented as blocks.
- the file system is illustratively a message-based system that provides logical volume management capabilities for use in access to the information stored on the storage devices, such as disks. That is, in addition to providing file system semantics, the file system 380 provides functions normally associated with a volume manager. These functions include (i) aggregation of the disks, (ii) aggregation of storage bandwidth of the disks, and (iii) reliability guarantees, such as mirroring and/or parity (RAID).
- RAID mirroring and/or parity
- the file system 380 illustratively implements the WAFL file system (hereinafter generally the “write-anywhere file system”) having an on-disk format representation that is block-based using, e.g., 4 kilobyte (KB) blocks and using index nodes (“inodes”) to identify files and file attributes (such as creation time, access permissions, size and block location).
- the file system uses files to store metadata describing the layout of its file system; these metadata files include, among others, an inode file.
- a file handle i.e., an identifier that includes an inode number, is used to retrieve an inode from disk.
- each logical volume has a file system information (fsinfo) block specifies the layout of data in the file system and includes the inode of the “inode file,” the file contains all other inodes of the file system.
- the inode of the inode file may directly reference (point to) blocks of the inode file or may reference indirect blocks of the inode file that, in turn, reference direct blocks of the inode file.
- Within each direct block of the inode file are inodes, each of which serves as the root of a buffer tree of a file.
- a request from the client 210 is forwarded as a packet 250 over the computer network 240 and onto the storage system 220 where it is received at the network adapter 226 .
- a network driver (of layer 310 or layer 330 ) processes the packet and, if appropriate, passes it on to a network protocol and file access layer for additional processing prior to forwarding to the write-anywhere file system 380 .
- the file system generates operations to load (retrieve) the requested data from disk 230 if it is not resident “in core”, i.e., in the buffer cache 270 . If the information is not in the cache, the file system 380 indexes into the inode file using the inode number to access an appropriate entry and retrieve a logical vbn.
- the file system then passes a message structure including the logical vbn to the RAID system 340 ; the logical vbn is mapped to a disk identifier and disk block number (disk,dbn) and sent to an appropriate driver (e.g., SCSI) of the disk driver system 350 .
- the disk driver accesses the dbn from the specified disk 230 and loads the requested data block(s) in buffer cache 270 for processing by the storage system.
- the storage system (and operating system) returns a reply to the client 210 over the network 240 .
- a storage access request data path may be implemented as logic circuitry embodied within a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).
- FPGA field programmable gate array
- ASIC application specific integrated circuit
- This type of hardware implementation increases the performance of the storage service provided by storage system 220 in response to a request issued by client 210 .
- the processing elements of adapters 226 , 228 may be configured to offload some or all of the packet processing and storage access operations, respectively, from processor 222 , to thereby increase the performance of the storage service provided by the system. It is expressly contemplated that the various processes, architectures and procedures described herein can be implemented in hardware, firmware or software.
- the term “storage operating system” generally refers to the computer-executable code operable to perform a storage function in a storage system, e.g., that manages data access and may, in the case of a file server, implement file system semantics.
- the ONTAP software is an example of such a storage operating system implemented as a microkernel and including the WAFL layer to implement the WAFL file system semantics and manage data access.
- the storage operating system can also be implemented as an application program operating over a general-purpose operating system, such as UNIX® or Windows NT®, or as a general-purpose operating system with configurable functionality, which is configured for storage applications as described herein.
- inventive technique described herein may apply to any type of special-purpose (e.g., file server, filer or multi-protocol storage appliance) or general-purpose computer, including a standalone computer or portion thereof, embodied as or including a storage system 220 .
- An example of a multi-protocol storage appliance that may be advantageously used with the present invention is described in U.S. patent application Ser. No. 10/215,917, issued on Jan. 18, 2011, as U.S. Pat. No. 7,873,700, titled, Multi-Protocol Storage Appliance that Provides Integrated Support for File and Block Access Protocols, by Brian Pawlowski, et al.
- teachings of this invention 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 disk assembly directly-attached to a client or host computer.
- 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.
- FIG. 4 is a schematic block diagram of an inode 400 , which preferably includes a metadata section 410 and a data section 450 .
- the information stored in the metadata section 410 of each inode 400 describes the file and, as such, includes the type (e.g., regular, directory, virtual disk) 412 of file, the size 414 of the file, time stamps (e.g., access and/or modification) 416 for the file and ownership, i.e., user identifier (UID 418 ) and group ID (GID 420 ), of the file.
- type e.g., regular, directory, virtual disk
- time stamps e.g., access and/or modification
- UID 418 user identifier
- GID 420 group ID
- the data section 450 of an on-disk inode may contain file data or pointers, the latter referencing 4 KB data blocks on disk used to store the file data.
- Each pointer is preferably a logical vbn to facilitate efficiency among the file system and the RAID system 340 when accessing the data on disks.
- file data having a size that is less than or equal to 64 bytes is represented, in its entirety, within the data section of that inode.
- the data section of the inode (e.g., a first level inode) comprises up to 16 pointers, each of which references a 4 KB block of data on the disk.
- each pointer in the data section 450 of the inode references an indirect block (e.g., a first level block) that contains 1024 pointers, each of which references a 4 KB data block on disk.
- each pointer in the data section 450 of the inode e.g., a third level inode
- references a double-indirect block e.g., a second level block
- the indirect block contains 1024 pointers, each of which references a 4 KB data block on disk.
- the contents of the file data residing in the level zero data blocks of the file will be interpreted differently depending on the type of file (inode) defined within the type field 412 .
- the data blocks of a directory inode contains metadata that adhere to a structure defined by the file system to describe a directory, whereas the data blocks of a regular inode may simply contain the data associated with the file.
- an on-disk inode (or block) is loaded from disk 230 into buffer cache 270 , its corresponding in core structure embeds the on-disk structure.
- the dotted line surrounding the inode 400 ( FIG. 4 ) indicates the in core representation of the on-disk inode structure.
- the in core structure is a block of memory that stores the on-disk structure plus additional information needed to manage data in the memory (but not on disk).
- the additional information may include, e.g., a “dirty” bit 460 .
- the modified data is marked “dirty” using the dirty bit 460 so that the inode (block) can be subsequently “flushed” (stored) to disk.
- the in core and on-disk format structures of the WAFL file system including the inodes and inode file, are disclosed and described in the previously incorporated U.S. Pat. No. 5,819,292 titled Method for Maintaining Consistent States of a File System and for Creating User-Accessible Read-Only Copies of a File System by David Hitz et al., issued on Oct. 6, 1998.
- the present invention is directed to an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained by file system 380 for a volume of storage system 220 .
- the storage arrangement comprises a novel volume information (volinfo) block representing a root of the volume; the volinfo block is stored at predefined locations on disk 230 and comprises various system wide configuration data.
- the volinfo block contains appropriate fields so that software, including versions of the storage operating system, may recognize that the volinfo block is not a fsinfo block.
- the fsinfo block is typically located at vbns 1 and 2 ; as described herein, the on-disk storage arrangement of the present invention replaces the fsinfo block with the novel volinfo block at this predefined location.
- FIG. 5 is a schematic block diagram of an exemplary on-disk storage arrangement 500 of a file system according to an illustrative embodiment of the present invention.
- the on-disk storage arrangement 500 comprises a volinfo block 600 that contains pointers to various fsinfo blocks including fsinfo block 505 representing the active files system, as well as fsinfo blocks 510 and 515 representing various PCPIs associated with the active file system.
- the volinfo 600 is illustratively located at vbns 1 and 2 or, in alternate embodiments, at another predetermined location on disk.
- Each fsinfo block 505 , 510 , 515 is illustratively contained within an fsinfo file, the contents of which comprise the fsinfo block.
- the fsinfo block 505 for the active file system includes the inodes of the inode file for the active file system 520 .
- the inode file for the active file system 520 includes further inodes for an active map 525 , a summary map 530 , a space map 535 , a root directory 540 and a hidden metadata directory 545 .
- Each additional fsinfo block, for example, fsinfo blocks 510 and 515 , that is associated with a PCPI includes the inode of the inode file for the PCPI, which in turn includes appropriate inodes for active maps and the like (not shown) for the specific PCPI.
- FIG. 6 is a schematic block of an exemplary volinfo block 600 in accordance with an embodiment of the present invention.
- the volinfo block 600 includes an fsinfo magic field 605 , an fsinfo version field 610 , a file system creation time field 615 , a time of most recent CP 620 and a count of a number of CPs for file system field 625 .
- the block 600 also includes a volinfo magic field 630 , a volinfo version 635 , a file system options field 640 , a password field 645 , a legacy PCPIs field 650 and a list of PCPIs stored in block one of inode file field 655 .
- volinfo block includes a delete mask field 660 , a create mask field 665 , a first checksum field 670 , an vbn array field 680 and a second checksum field 675 . It should be noted that in alternate embodiments additional and/or differing fields may be included in the volinfo block 600 .
- the fsinfo magic field 605 stores an appropriate magic value for backward compatibility with earlier fsinfo block.
- the fsinfo version field 610 is needed for backwards compatibility, and is tagged with a version number that indicates that the block is a volinfo block, not an fsinfo block.
- the fsinfo creation time field 615 stores a value indicating the time that the file system was created.
- Field 620 identifies the time when a most recent consistency point (CP) was generated and field 625 stores a count of the number of CPs performed on the file system.
- the volinfo magic field 630 stores a magic number identifying the data structure 600 as a volinfo block, and the volinfo version field 635 stores the version of the volinfo block.
- the file system options field 640 includes a set of options for the file system and the password field 645 stores a password associated with the file system. The password may be utilized to limit certain administrative operations.
- the legacy PCPI field 650 identifies those PCPIs that were created with an older on-disk format which lacked certain important metadata files (e.g., the fsinfo file).
- the content of field 655 identifies those PCPIs whose snapshot roots are stored in block 1 of the inode file, i.e., PCPIs that were created on a file system prior to the present invention.
- the delete mask field 660 and create mask field 665 identify PCPIs that are currently being deleted or created.
- the first checksum field 670 stores a checksum calculated on the contents of fields 605 - 665
- the second checksum field 675 stores a checksum calculated for the entire volinfo block 600 .
- the volinfo block 600 comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by file system 380 .
- the data structure may be organized as an array of pointers, wherein each pointer references a block containing a snapshot root (i.e., inode for the inode file of a PCPI), thereby enabling efficient access to each PCPI maintained by the file system.
- the array of pointers is contained in the vbn array field 680 .
- the array is preferably embodied as a vbn lookup table 682 having a plurality of entries 684 , wherein each entry comprises a vbn pointer 686 configured to point to (reference) a fsinfo block within the volume.
- the fsinfo block contains information that specifies the layout of the file system.
- Each entry 684 of the vbn lookup table 682 is indexed by an identifier (ID) assigned to each PCPI; notably, entry zero holds a vbn pointer 686 to the “active” file system.
- ID identifier
- the novel vbn lookup table 682 in vbn array field 680 enables efficient access to information describing the active file system and, illustratively, 255 PCPIs.
- This feature of the invention permits an illustrative eight-fold increase in the number of PCPIs maintainable by the file system. Additional PCPIs may be maintainable in the storage system by configuring the vbn lookup table 682 to provide further levels of indirection.
- the entries of the vbn lookup table may be configured to reference indirect fsinfo blocks that, in turn, reference “direct” fsinfo blocks. Therefore by expanding the number of levels of indirection, any number of PCPIs may be maintained with the file system. It should be noted that in embodiments utilizing indirect blocks, all per-PCPI state fields, e.g., delete mask 660 and create mask 665 , would be located in the appropriate indirect blocks and not in the volinfo block.
- FIG. 7 is a schematic block diagram of such an on-disk storage arrangement 700 in accordance with an alternate embodiment of the present invention.
- the on-disk storage arrangement 700 has a volinfo block 600 representing a root of a volume and including pointers to indirect fsinfo block 705 and 715 .
- the pointers are illustratively vbns and are organized as an array in vbn array field 680 .
- Each indirect fsinfo block 705 , 715 includes a vbn lookup table 710 , 720 (similar to vbn lookup table 682 ) that maps PCPI IDs to appropriate fsinfo blocks.
- entry 0 of the vbn lookup table 710 is indexed by PCPI ID 0 and the resulting vbn references fsinfo block 725 for the active file system.
- entry 1 of the vbn lookup table 710 is indexed by PCPI ID 1 and the resulting vbn references fsinfo block 730 associated with PCPI 1 .
- the present invention is directed to an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained for a volume of a storage system.
- the novel volume information (volinfo) block represents a root of the volume and comprises various system wide configuration data.
- the volinfo block further comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by a file system executing on the storage system.
- the data structure may be organized as an array of pointers, wherein each pointer references a block containing a snapshot root, thereby enabling efficient access to each PCPI maintained by the file system.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
An on-disk storage arrangement increases the number of persistent consistency point images (PCPIs) that may be maintained for a volume of a storage system. The on-disk storage arrangement comprises a novel volume information (volinfo) block representing a root of the volume; the volinfo block is stored at predefined locations on disk and comprises various system wide configuration data. The volinfo block further comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by a file system executing on the storage system. To that end, the data structure may be organized as an array of pointers, wherein each pointer references a block containing a snapshot root, thereby enabling efficient access to each PCPI maintained by the file system.
Description
- The present application is a continuation of U.S. patent application Ser. No. 11/333,145, which was filed on Jan. 17, 2006, which is a continuation of commonly assigned U.S. patent application Ser. No. 10/777,979, which was filed on Feb. 12, 2004, and was issued on Dec. 25, 2007 as U.S. Pat. No. 7,313,720.
- The present invention relates to file systems and, more specifically, to a technique for increasing the number of persistent consistency point images of a file system.
- A storage system typically comprises one or more storage devices into which information may be entered, and from which information may be obtained, as desired. The storage system includes a storage operating system that functionally organizes the system by, inter alia, invoking storage operations in support of a storage service implemented by the system. The storage system may be implemented in accordance with a variety of storage architectures including, but not limited to, a network-attached storage environment, a storage area network and a disk assembly directly attached to a client or host computer. The storage devices are typically disk drives organized as a disk array, wherein the term “disk” commonly describes a self-contained rotating magnetic media storage device. The term disk in this context is synonymous with hard disk drive (HDD) or direct access storage device (DASD).
- Storage of information on the disk array is preferably implemented as one or more storage “volumes” of physical disks, defining an overall logical arrangement of disk space. The disks within a volume are typically organized as one or more groups, wherein each group may be operated as a Redundant Array of Independent (or Inexpensive) Disks (RAID). Most RAID implementations enhance the reliability/integrity of data storage through the redundant writing of data “stripes” across a given number of physical disks in the RAID group, and the appropriate storing of redundant information (parity) with respect to the striped data. The physical disks of each RAID group may include disks configured to store striped data (i.e., data disks) and disks configured to store parity for the data (i.e., parity disks). The parity may thereafter be retrieved to enable recovery of data lost when a disk fails. The term “RAID” and its various implementations are well-known and disclosed in A Case for Redundant Arrays of Inexpensive Disks (RAID), by D. A. Patterson, G. A. Gibson and R. H. Katz, Proceedings of the International Conference on Management of Data (SIGMOD), June 1988.
- The storage operating system of the storage system may implement a high-level module, such as a file system, to logically organize the information stored on the disks as a hierarchical structure of directories, files and blocks. For example, each “on-disk” file may be implemented as set of data structures, i.e., disk blocks, configured to store information, such as the actual data for the file. These data blocks are organized within a volume block number (vbn) space that is maintained by the file system. The file system organizes the 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.
- A known type of file system is a write-anywhere file system that does not overwrite data on disks. If a data block is retrieved (read) from disk into a memory of the storage system and “dirtied” (i.e., updated or modified) with new data, the data block is thereafter stored (written) to a new location on disk to optimize write performance. A write-anywhere file system may initially assume an optimal layout such that the data is substantially contiguously arranged on disks. The optimal disk layout results in efficient access operations, particularly for sequential read operations, directed to the disks. An example of a write-anywhere file system that is configured to operate on a storage system is the Write Anywhere File Layout (WAFL™) file system available from Network Appliance, Inc., Sunnyvale, Calif.
- The storage operating system may further implement a storage module, such as a RAID system, that manages the storage and retrieval of the information to and from the disks in accordance with input/output (I/O) operations. The RAID system is also responsible for parity operations in the storage system. Note that the file system only “sees” the data disks within its vbn space; the parity disks are “hidden” from the file system and, thus, are only visible to the RAID system. The RAID system typically organizes the RAID groups into one large “physical” disk (i.e., a physical volume), such that the disk blocks are concatenated across all disks of all RAID groups. The logical volume maintained by the file system is then “disposed over” the physical volume maintained by the RAID system.
- The storage system may be configured to operate according to a client/server model of information delivery to thereby allow many clients to access the directories, files and blocks stored on the system. In this model, the client may comprise an application, such as a database application, executing on a computer that “connects” to the storage system over a computer network, such as a point-to-point link, shared local area network, wide area network or virtual private network implemented over a public network, such as the Internet. Each client may request the services of the file system by issuing file system protocol messages (in the form of packets) to the storage system over the network. By supporting a plurality of file system protocols, such as the conventional Common Internet File System (CIFS) and the Network File System (NFS) protocols, the utility of the storage system is enhanced.
- When accessing a block of a file in response to servicing a client request, the file system specifies a vbn that is translated at the file system/RAID system boundary into a disk block number (dbn) location on a particular disk (disk, dbn) within a RAID group of the physical volume. Each block in the vbn space and in the dbn space is typically fixed, e.g., 4 k bytes (KB), in size; accordingly, there is typically a one-to-one mapping between the information stored on the disks in the dbn space and the information organized by the file system in the vbn space. The (disk, dbn) location specified by the RAID system is further translated by a disk driver system of the storage operating system into a sector (or similar granularity) on the specified disk.
- The requested block is then retrieved from disk and stored in a buffer cache of the memory as part of a buffer tree of the file. The buffer tree is an internal representation of blocks for a file stored in the buffer cache and maintained by the file system. Broadly stated, the buffer tree has an inode at the root (top-level) of the file. An inode is a data structure used to store information, such as metadata, about a file, whereas the data blocks are structures used to store the actual data for the file. The information contained in an inode may include, e.g., ownership of the file, access permission for the file, size of the file, file type and references to locations on disk of the data blocks for the file. The references to the locations of the file data are provided by pointers, which may further reference indirect blocks that, in turn, reference the data blocks, depending upon the quantity of data in the file. Each pointer may be embodied as a vbn to facilitate efficiency among the file system and the RAID system when accessing the data on disks.
- The file system, such as the write-anywhere file system, maintains information about the geometry of the underlying physical disks (e.g., the number of blocks in each disk) in the storage system. The RAID system provides the disk geometry information to the file system for use when creating and maintaining the vbn-to-disk, dbn mappings used to perform write allocation operations. The file system maintains block allocation data structures, such as an active map, a space map, a summary map and snapmaps. These mapping data structures describe which blocks are currently in use and which are available for use and are used by a write allocator of the file system as existing infrastructure for the logical volume.
- Specifically, the snapmap denotes a bitmap file describing which blocks are used by a snapshot. The write-anywhere file system (such as the WAFL file system) has the capability to generate a snapshot of its active file system. An “active file system” is a file system to which data can be both written and read or, more generally, an active store that responds to both read and write I/O operations. It should be noted that “snapshot” is a trademark of Network Appliance, Inc. and is used for purposes of this patent to designate a persistent consistency point (CP) image. A persistent consistency point image (PCPI) is a space conservative, point-in-time read-only image of data accessible by name that provides a consistent image of that data (such as a storage system) at some previous time. More particularly, a PCPI is a point-in-time representation of a storage element, such as an active file system, file or database, stored on a storage device (e.g., on disk) or other persistent memory and having a name or other identifier that distinguishes it from other PCPIs taken at other points in time. A PCPI can also include other information (metadata) about the active file system at the particular point in time for which the image is taken. The terms “PCPI” and “snapshot” may be used interchangeably through out this patent without derogation of Network Appliance's trademark rights.
- The write-anywhere file system supports (maintains) multiple snapshots that are generally created on a regular schedule. Each snapshot refers to a copy of the file system that diverges from the active file system over time as the active file system is modified. Each snapshot is a restorable version of the storage element (e.g., the active file system) created at a predetermined point in time and, as noted, is “read-only” accessible and “space-conservative”. Space conservative denotes that common parts of the storage element in multiple snapshots share the same file system blocks. Only the differences among these various snapshots require extra storage blocks. The multiple snapshots of a storage element are not independent copies, each consuming disk space; therefore, creation of a snapshot on the file system is instantaneous, since no entity data needs to be copied. Read-only accessibility denotes that a snapshot cannot be modified because it is closely coupled to a single writable image in the active file system. The closely coupled association between a file in the active file system and the same file in a snapshot obviates the use of multiple “same” files. In the example of a WAFL file system, snapshots are described in TR3002 File System Design for a NFS File Server Appliance by David Hitz et al., published by Network Appliance, Inc. and in U.S. Pat. No. 5,819,292 entitled Method for Maintaining Consistent States of a File System and For Creating User-Accessible Read-Only Copies of a File System, by David Hitz et al., each of which is hereby incorporated by reference as though full set forth herein.
- The active map denotes a bitmap file describing which blocks are used by the active file system. As described prior, a snapshot may contain metadata describing the file system as it existed at the point in time that the image was taken. In particular, a snapshot captures the active map as it existed at the time of snapshot creation; this file is also known as the snapmap for the snapshot. Note then that a snapmap denotes a bitmap file describing which blocks are used by a snapshot. The summary map denotes a file that is an inclusive logical OR bitmap of all snapmaps. By examining the active and summary maps, the file system can determine whether a block is in use by either the active file system or any snapshot. The space map denotes a file including an array of numbers that describe the number of storage blocks used in a block allocation area. In other words, the space map is essentially a logical OR bitmap between the active and summary maps to provide a condensed version of available “free block” areas within the vbn space. Examples of snapshot and block allocation data structures, such as the active map, space map and summary map, are described in U.S. Patent Application Publication No. US2002/0083037 A1, titled Write Allocation Based on Storage System Map and Snap-shot, by Blake Lewis et al. and published on Jun. 27, 2002, and issued on Nov. 18, 2008, as U.S. Pat. No. 7,454,445 which application is hereby incorporated by reference.
-
FIG. 1 is a schematic block diagram of an exemplary on-disk storage structure 100 of a logical volume of a storage system. As noted, a logical volume is typically associated with a file system and comprises data blocks organized within a vbn space. Each logical volume (hereinafter “volume”) has a file system information (fsinfo) block that is preferably stored at a fixed location within, e.g., a RAID group.Fsinfo block 105 is the root of the on-disk storage structure 100, illustratively atvbns fsinfo block 105. - The
fsinfo block 105 includes a variety of metadata that describes the state of the file system; also included in thefsinfo block 105 is an inode for aninode file 110. All inodes of the write-anywhere file system are organized into theinode file 111. Like any other file, the inode of the inode file is the root of the buffer tree that describes the location of blocks o the file. As such, the inode of the inode file may directly reference (point to) data blocks 107 of theinode file 111 or may referenceindirect blocks 106 of theinode file 111 that, in turn, reference data blocks of the inode file. In this example, the inode for theinode file 110 includes an exemplary buffer tree comprising a plurality of inode fileindirect blocks 106 that, in turn, point to inode file data blocks 107. Within each data block of the inode file areinodes 112, each of which serves as the root of a file. Among the inodes of theinode file 110, there are inodes for special metadata files, such as an active map 115, a summary map 120, aspace map 125, aroot directory 140 and a metadata directory 145. All user files in the file system are organized under theroot directory 140, while various metadata files associated with the file system are stored under the metadata directory 145. - The inode file may further include inodes that reference a plurality of snapshots 130, 135. These snapshot inodes are the root level inodes of snapshots (PCPIs) of the active file system. Each volume has special reserved inode numbers within its vbn space; a plurality of those inode numbers (e.g., 31) is reserved for PCPIs. When a PCPI is generated of the active file system, a copy of the inode for the inode file is generated (hereinafter the “snapshot root”) and assigned one of the reserved PCPI inode numbers. Thus, to access a PCPI at a particular point in time, the storage operating system accesses the appropriate snapshot root of the PCPI.
- A noted disadvantage of such an on-disk storage structure is a limitation on the number PCPIs (e.g., 31) that may be maintained with the file system. As a result, a system administrator (user) may be forced to modify PCPI creation and/or retention schedules to avoid exhausting the available number of maintainable PCPIs. This limitation may prove burdensome and, possibly, costly depending upon the need for additional PCPI capacity. The present invention is directed to alleviating this limitation.
- The present invention overcomes the disadvantages of the prior art by providing an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained for a volume of a storage system. The on-disk storage arrangement comprises a novel volume information (volinfo) block representing the root of the volume; the volinfo block is stored at predefined locations on disk and comprises various system wide configuration data. According to the invention, the volinfo block further comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by a file system executing on the storage system. To that end, the data structure may be organized as an array of pointers, wherein each pointer references a data block comprising a snapshot root, thereby enabling efficient access to each PCPI maintained by the file system.
- In the illustrative embodiment, the volume comprises data blocks organized within a volume block number (vbn) space maintained by the file system. The array is embodied as a vbn lookup table having a plurality of entries, wherein each entry comprises a vbn pointer configured to point to (reference) a file system information (fsinfo) block within the volume. The fsinfo block contains information that specifies a layout of the file system. Each entry of the vbn lookup table is indexed by an identifier assigned to each PCPI; notably, entry zero holds a vbn pointer to the “active” file system. Thus, one of the fsinfo blocks referenced by the vbn lookup table is associated with the active file system, while the remaining fsinfo blocks are associated with PCPIs of the active file system.
- Advantageously, the novel vbn lookup table enables efficient access to information describing the active file system and, illustratively, 255 PCPIs. This feature of the invention permits an illustrative eight-fold increase in the number of PCPIs maintainable by the file system. Additional PCPIs may be maintained in the storage system by configuring the vbn lookup table to provide further levels of indirection. For example, the entries of the vbn lookup table may be configured to reference indirect fsinfo blocks that, in turn, reference “direct” fsinfo blocks. Therefore by expanding the number of levels of indirection, any number of PCPIs may be maintained with the file system.
- The above and further advantages of the invention may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identical or functionally similar elements:
-
FIG. 1 , already described, is a schematic block diagram of an on-disk storage structure of a volume of a storage system; -
FIG. 2 is a schematic block diagram of an environment including a storage system that may be added advantageously used with a present invention; -
FIG. 3 is a schematic block diagram of a storage operating system that be advantageously used with a present invention; -
FIG. 4 is a schematic block diagram of an inode that may be advantageously used with the present; -
FIG. 5 is a schematic block diagram of an on-disk storage arrangement of a volume in accordance with an illustrative embodiment of the present invention; -
FIG. 6 is a schematic block diagram of an exemplary volume information block in accordance with the embodiment with the present information; and -
FIG. 7 is a schematic block diagram of an on-disk storage arrangement of a volume in accordance with an alternate embodiment of the present invention. - A. Storage System Environment
-
FIG. 2 is a schematic block diagram of anenvironment 200 including astorage system 220 that may be advantageously used with the present invention. The storage system is a computer that provides storage service relating to the organization of information on storage devices, such asdisks 230 of adisk array 260. Thestorage system 220 comprises aprocessor 222, amemory 224, anetwork adapter 226 and astorage adapter 228 interconnected by asystem bus 225. Thestorage system 220 also includes astorage operating system 300 that preferably implements a high-level module, such as a file system, to logically organize the information as a hierarchical structure of directories, files and special types of files called virtual disks (hereinafter “blocks”) on the disks. - In the illustrative embodiment, the
memory 224 comprises storage locations that are addressable by the processor and adapters for storing software program code. A portion of the memory may be further organized as a “buffer cache” 270 for storing certain data structures associated with the present invention. The processor and adapters may, in turn, comprise processing elements and/or logic circuitry configured to execute the software code and manipulate the data structures.Storage operating system 300, portions of which are typically resident in memory and executed by the processing elements, functionally organizes thesystem 220 by, inter alia, invoking storage operations executed by the storage system. 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 inventive technique described herein. - The
network adapter 226 comprises the mechanical, electrical and signaling circuitry needed to connect thestorage system 220 to aclient 210 over acomputer network 240, which may comprise a point-to-point connection or a shared medium, such as a local area network. Illustratively, thecomputer network 240 may be embodied as an Ethernet network or a Fibre Channel (FC) network. Theclient 210 may communicate with the storage system overnetwork 240 by exchanging discrete frames or packets of data according to pre-defined protocols, such as the Transmission Control Protocol/Internet Protocol (TCP/IP). - The
client 210 may be a general-purpose computer configured to executeapplications 212. Moreover, theclient 210 may interact with thestorage system 220 in accordance with a client/server model of information delivery. That is, the client may request the services of the storage system, and the system may return the results of the services requested by the client, by exchangingpackets 250 over thenetwork 240. The clients may issue packets including file-based access protocols, such as the Common Internet File System (CIFS) protocol or Network File System (NFS) protocol, over TCP/IP when accessing information in the form of files and directories. Alternatively, the client may issue packets including block-based access protocols, such as the Small Computer Systems Interface (SCSI) protocol encapsulated over TCP (iSCSI) and SCSI encapsulated over Fibre Channel (FCP), when accessing information in the form of blocks. - The
storage adapter 228 cooperates with thestorage operating system 300 executing on thesystem 220 to access information requested by a user (or client). 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 thedisks 230, such as HDD and/or DASD, ofarray 260. The storage adapter includes input/output (I/O) interface circuitry that couples to the disks over an I/O interconnect arrangement, such as a conventional high-performance, FC serial link topology. - Storage of information on
array 260 is preferably implemented as one or more storage “volumes” that comprise a collection ofphysical storage disks 230 cooperating to define an overall logical arrangement of volume block number (vbn) space on the volume(s). Each logical volume is generally, although not necessarily, associated with its own file system. The disks within a logical volume/file system are typically organized as one or more groups, wherein each group may be operated as a Redundant Array of Independent (or Inexpensive) Disks (RAID). Most RAID implementations, such as a RAID-4 level implementation, enhance the reliability/integrity of data storage through the redundant writing of data “stripes” across a given number of physical disks in the RAID group, and the appropriate storing of parity information with respect to the striped data. An illustrative example of a RAID implementation is a RAID-4 level implementation, although it should be understood that other types and levels of RAID implementations may be used in accordance with the inventive principles described herein. - B. Storage Operating System
- To facilitate access to the
disks 230, thestorage operating system 300 implements a write-anywhere file system that cooperates with virtualization modules to “virtualize” the storage space provided bydisks 230. The file system logically organizes the information as a hierarchical structure of named directories and files on the disks. Each “on-disk” file may be implemented as set of disk blocks configured to store information, such as data, whereas the directory may be implemented as a specially formatted file in which names and links to other files and directories are stored. The virtualization modules allow the file system to further logically organize information as a hierarchical structure of blocks on the disks that are exported as named logical unit numbers (luns). - In the illustrative embodiment, the storage operating system is preferably the NetApp® Data ONTAP™ operating system available from Network Appliance, Inc., Sunnyvale, Calif. that implements a Write Anywhere File Layout (WAFL™) file system. However, it is expressly contemplated that any appropriate storage operating system may be enhanced for use in accordance with the inventive principles described herein. As such, where the term “WAFL” is employed, it should be taken broadly to refer to any file system that is otherwise adaptable to the teachings of this invention.
-
FIG. 3 is a schematic block diagram of thestorage operating system 300 that may be advantageously used with the present invention. The storage operating system comprises a series of software layers organized to form an integrated network protocol stack or, more generally, a multi-protocol engine that provides data paths for clients to access information stored on the storage system using block and file access protocols. The protocol stack includes amedia access layer 310 of network drivers (e.g., gigabit Ethernet drivers) that interfaces to network protocol layers, such as theIP layer 312 and its supporting transport mechanisms, theTCP layer 314 and the User Datagram Protocol (UDP)layer 316. A file system protocol layer provides multi-protocol file access and, to that end, includes support for the Direct Access File System (DAFS)protocol 318, theNFS protocol 320, theCIFS protocol 322 and the Hypertext Transfer Protocol (HTTP)protocol 324. AVI layer 326 implements the VI architecture to provide direct access transport (DAT) capabilities, such as RDMA, as required by theDAFS protocol 318. - An
iSCSI driver layer 328 provides block protocol access over the TCP/IP network protocol layers, while aFC driver layer 330 receives and transmits block access requests and responses to and from the storage system. The FC and iSCSI drivers provide FC-specific and iSCSI-specific access control to the blocks and, thus, manage exports of luns to either iSCSI or FCP or, alternatively, to both iSCSI and FCP when accessing the blocks on the storage system. In addition, the storage operating system includes a storage module embodied as aRAID system 340 that manages the storage and retrieval of information to and from the volumes/disks in accordance with I/O operations, and adisk driver system 350 that implements a disk access protocol such as, e.g., the SCSI protocol. - Bridging the disk software layers with the integrated network protocol stack layers is a virtualization system that is implemented by a
file system 380 interacting with virtualization modules illustratively embodied as, e.g.,vdisk module 390 and SCSI target ismodule 370. Thevdisk module 390 is layered on thefile system 380 to enable access by administrative interfaces. TheSCSI target module 370 is disposed between the FC andiSCSI drivers file system 380 to provide a translation layer of the virtualization system between the block (lun) space and the file system space, where luns are represented as blocks. - The file system is illustratively a message-based system that provides logical volume management capabilities for use in access to the information stored on the storage devices, such as disks. That is, in addition to providing file system semantics, the
file system 380 provides functions normally associated with a volume manager. These functions include (i) aggregation of the disks, (ii) aggregation of storage bandwidth of the disks, and (iii) reliability guarantees, such as mirroring and/or parity (RAID). Thefile system 380 illustratively implements the WAFL file system (hereinafter generally the “write-anywhere file system”) having an on-disk format representation that is block-based using, e.g., 4 kilobyte (KB) blocks and using index nodes (“inodes”) to identify files and file attributes (such as creation time, access permissions, size and block location). The file system uses files to store metadata describing the layout of its file system; these metadata files include, among others, an inode file. A file handle, i.e., an identifier that includes an inode number, is used to retrieve an inode from disk. - Broadly stated, all inodes of the write-anywhere file system are organized into the inode file. Each logical volume (hereinafter “volume”) has a file system information (fsinfo) block specifies the layout of data in the file system and includes the inode of the “inode file,” the file contains all other inodes of the file system. The inode of the inode file may directly reference (point to) blocks of the inode file or may reference indirect blocks of the inode file that, in turn, reference direct blocks of the inode file. Within each direct block of the inode file are inodes, each of which serves as the root of a buffer tree of a file.
- Operationally, a request from the
client 210 is forwarded as apacket 250 over thecomputer network 240 and onto thestorage system 220 where it is received at thenetwork adapter 226. A network driver (oflayer 310 or layer 330) processes the packet and, if appropriate, passes it on to a network protocol and file access layer for additional processing prior to forwarding to the write-anywhere file system 380. Here, the file system generates operations to load (retrieve) the requested data fromdisk 230 if it is not resident “in core”, i.e., in thebuffer cache 270. If the information is not in the cache, thefile system 380 indexes into the inode file using the inode number to access an appropriate entry and retrieve a logical vbn. The file system then passes a message structure including the logical vbn to theRAID system 340; the logical vbn is mapped to a disk identifier and disk block number (disk,dbn) and sent to an appropriate driver (e.g., SCSI) of thedisk driver system 350. The disk driver accesses the dbn from the specifieddisk 230 and loads the requested data block(s) inbuffer cache 270 for processing by the storage system. Upon completion of the request, the storage system (and operating system) returns a reply to theclient 210 over thenetwork 240. - It should be noted that the software “path” through the storage operating system layers described above needed to perform data storage access for the client request received at the storage system may alternatively be implemented in hardware. That is, in an alternate embodiment of the invention, a storage access request data path may be implemented as logic circuitry embodied within a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). This type of hardware implementation increases the performance of the storage service provided by
storage system 220 in response to a request issued byclient 210. Moreover, in another alternate embodiment of the invention, the processing elements ofadapters processor 222, to thereby increase the performance of the storage service provided by the system. It is expressly contemplated that the various processes, architectures and procedures described herein can be implemented in hardware, firmware or software. - As used herein, the term “storage operating system” generally refers to the computer-executable code operable to perform a storage function in a storage system, e.g., that manages data access and may, in the case of a file server, implement file system semantics. In this sense, the ONTAP software is an example of such a storage operating system implemented as a microkernel and including the WAFL layer to implement the WAFL file system semantics and manage data access. The storage operating system can also be implemented as an application program operating over a general-purpose operating system, such as UNIX® or Windows NT®, or as a general-purpose operating system with configurable functionality, which is configured for storage applications as described herein.
- In addition, it will be understood to those skilled in the art that the inventive technique described herein may apply to any type of special-purpose (e.g., file server, filer or multi-protocol storage appliance) or general-purpose computer, including a standalone computer or portion thereof, embodied as or including a
storage system 220. An example of a multi-protocol storage appliance that may be advantageously used with the present invention is described in U.S. patent application Ser. No. 10/215,917, issued on Jan. 18, 2011, as U.S. Pat. No. 7,873,700, titled, Multi-Protocol Storage Appliance that Provides Integrated Support for File and Block Access Protocols, by Brian Pawlowski, et al. Moreover, the teachings of this invention 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 disk assembly 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. - In the illustrative embodiment, a file is represented in the write-anywhere file system by an inode data structure adapted for storage on the
disks 230.FIG. 4 is a schematic block diagram of aninode 400, which preferably includes ametadata section 410 and adata section 450. The information stored in themetadata section 410 of each inode 400 describes the file and, as such, includes the type (e.g., regular, directory, virtual disk) 412 of file, thesize 414 of the file, time stamps (e.g., access and/or modification) 416 for the file and ownership, i.e., user identifier (UID 418) and group ID (GID 420), of the file. - The
data section 450 of an on-disk inode may contain file data or pointers, the latter referencing 4 KB data blocks on disk used to store the file data. Each pointer is preferably a logical vbn to facilitate efficiency among the file system and theRAID system 340 when accessing the data on disks. Given the restricted size (e.g., 128 bytes) of the inode, file data having a size that is less than or equal to 64 bytes is represented, in its entirety, within the data section of that inode. However, if the file data is greater than 64 bytes but less than or equal to 64 KB, then the data section of the inode (e.g., a first level inode) comprises up to 16 pointers, each of which references a 4 KB block of data on the disk. - Moreover, if the size of the data is greater than 64 KB but less than or equal to 64 megabytes (MB), then each pointer in the
data section 450 of the inode (e.g., a second level inode) references an indirect block (e.g., a first level block) that contains 1024 pointers, each of which references a 4 KB data block on disk. For file data having a size greater than 64 MB, each pointer in thedata section 450 of the inode (e.g., a third level inode) references a double-indirect block (e.g., a second level block) that contains 1024 pointers, each referencing an indirect (e.g., a first level) block. The indirect block, in turn, contains 1024 pointers, each of which references a 4 KB data block on disk. When accessing a file, each block of the file may be loaded fromdisk 230 into thebuffer cache 270. - The contents of the file data residing in the level zero data blocks of the file will be interpreted differently depending on the type of file (inode) defined within the
type field 412. For example, the data blocks of a directory inode contains metadata that adhere to a structure defined by the file system to describe a directory, whereas the data blocks of a regular inode may simply contain the data associated with the file. - When an on-disk inode (or block) is loaded from
disk 230 intobuffer cache 270, its corresponding in core structure embeds the on-disk structure. For example, the dotted line surrounding the inode 400 (FIG. 4 ) indicates the in core representation of the on-disk inode structure. The in core structure is a block of memory that stores the on-disk structure plus additional information needed to manage data in the memory (but not on disk). The additional information may include, e.g., a “dirty”bit 460. After data in the inode (or block) is updated/modified as instructed by, e.g., a write operation, the modified data is marked “dirty” using thedirty bit 460 so that the inode (block) can be subsequently “flushed” (stored) to disk. The in core and on-disk format structures of the WAFL file system, including the inodes and inode file, are disclosed and described in the previously incorporated U.S. Pat. No. 5,819,292 titled Method for Maintaining Consistent States of a File System and for Creating User-Accessible Read-Only Copies of a File System by David Hitz et al., issued on Oct. 6, 1998. - C. Increasing the Number of PCPIs in a File System
- The present invention is directed to an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained by
file system 380 for a volume ofstorage system 220. The storage arrangement comprises a novel volume information (volinfo) block representing a root of the volume; the volinfo block is stored at predefined locations ondisk 230 and comprises various system wide configuration data. In particular, the volinfo block contains appropriate fields so that software, including versions of the storage operating system, may recognize that the volinfo block is not a fsinfo block. As noted above, the fsinfo block is typically located atvbns -
FIG. 5 is a schematic block diagram of an exemplary on-disk storage arrangement 500 of a file system according to an illustrative embodiment of the present invention. The on-disk storage arrangement 500 comprises avolinfo block 600 that contains pointers to various fsinfo blocks including fsinfo block 505 representing the active files system, as well as fsinfo blocks 510 and 515 representing various PCPIs associated with the active file system. Thevolinfo 600 is illustratively located atvbns - Each
fsinfo block fsinfo block 505 for the active file system includes the inodes of the inode file for theactive file system 520. The inode file for theactive file system 520 includes further inodes for anactive map 525, asummary map 530, aspace map 535, aroot directory 540 and ahidden metadata directory 545. Each additional fsinfo block, for example, fsinfo blocks 510 and 515, that is associated with a PCPI includes the inode of the inode file for the PCPI, which in turn includes appropriate inodes for active maps and the like (not shown) for the specific PCPI. -
FIG. 6 is a schematic block of anexemplary volinfo block 600 in accordance with an embodiment of the present invention. Thevolinfo block 600 includes an fsinfomagic field 605, anfsinfo version field 610, a file systemcreation time field 615, a time of mostrecent CP 620 and a count of a number of CPs forfile system field 625. Theblock 600 also includes a volinfomagic field 630, avolinfo version 635, a filesystem options field 640, apassword field 645, alegacy PCPIs field 650 and a list of PCPIs stored in block one ofinode file field 655. In addition, the volinfo block includes adelete mask field 660, a createmask field 665, afirst checksum field 670, anvbn array field 680 and asecond checksum field 675. It should be noted that in alternate embodiments additional and/or differing fields may be included in thevolinfo block 600. - The fsinfo
magic field 605 stores an appropriate magic value for backward compatibility with earlier fsinfo block. Similarly, thefsinfo version field 610 is needed for backwards compatibility, and is tagged with a version number that indicates that the block is a volinfo block, not an fsinfo block. The fsinfocreation time field 615 stores a value indicating the time that the file system was created.Field 620 identifies the time when a most recent consistency point (CP) was generated andfield 625 stores a count of the number of CPs performed on the file system. The volinfomagic field 630 stores a magic number identifying thedata structure 600 as a volinfo block, and thevolinfo version field 635 stores the version of the volinfo block. Note that the fsinfo block retains a version field, which continues to be the version that is updated to reflect any on-disk format change that is made to the file system. However, should a major change to the volinfo data structure occur, thevolinfo version field 635 would be updated as well. The filesystem options field 640 includes a set of options for the file system and thepassword field 645 stores a password associated with the file system. The password may be utilized to limit certain administrative operations. - The
legacy PCPI field 650 identifies those PCPIs that were created with an older on-disk format which lacked certain important metadata files (e.g., the fsinfo file). The content offield 655 identifies those PCPIs whose snapshot roots are stored inblock 1 of the inode file, i.e., PCPIs that were created on a file system prior to the present invention. Thedelete mask field 660 and createmask field 665 identify PCPIs that are currently being deleted or created. Thefirst checksum field 670 stores a checksum calculated on the contents of fields 605-665, whereas thesecond checksum field 675 stores a checksum calculated for theentire volinfo block 600. - According to the invention, the
volinfo block 600 comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable byfile system 380. To that end, the data structure may be organized as an array of pointers, wherein each pointer references a block containing a snapshot root (i.e., inode for the inode file of a PCPI), thereby enabling efficient access to each PCPI maintained by the file system. The array of pointers is contained in thevbn array field 680. - In the illustrative embodiment, the array is preferably embodied as a vbn lookup table 682 having a plurality of
entries 684, wherein each entry comprises avbn pointer 686 configured to point to (reference) a fsinfo block within the volume. As noted, the fsinfo block contains information that specifies the layout of the file system. Eachentry 684 of the vbn lookup table 682 is indexed by an identifier (ID) assigned to each PCPI; notably, entry zero holds avbn pointer 686 to the “active” file system. Thus, one of the fsinfo blocks referenced by the vbn lookup table 682 is associated with the active file system, while the remaining fsinfo blocks are associated with PCPIs of the active file system. - Advantageously, the novel vbn lookup table 682 in
vbn array field 680 enables efficient access to information describing the active file system and, illustratively, 255 PCPIs. This feature of the invention permits an illustrative eight-fold increase in the number of PCPIs maintainable by the file system. Additional PCPIs may be maintainable in the storage system by configuring the vbn lookup table 682 to provide further levels of indirection. For example, the entries of the vbn lookup table may be configured to reference indirect fsinfo blocks that, in turn, reference “direct” fsinfo blocks. Therefore by expanding the number of levels of indirection, any number of PCPIs may be maintained with the file system. It should be noted that in embodiments utilizing indirect blocks, all per-PCPI state fields, e.g., deletemask 660 and createmask 665, would be located in the appropriate indirect blocks and not in the volinfo block. -
FIG. 7 is a schematic block diagram of such an on-disk storage arrangement 700 in accordance with an alternate embodiment of the present invention. The on-disk storage arrangement 700 has avolinfo block 600 representing a root of a volume and including pointers toindirect fsinfo block vbn array field 680. Eachindirect fsinfo block entry 1 of the vbn lookup table 710 is indexed byPCPI ID 1 and the resulting vbn references fsinfo block 730 associated withPCPI 1. - To again summarize, the present invention is directed to an on-disk storage arrangement that increases the number of persistent consistency point images (PCPIs) that may be maintained for a volume of a storage system. The novel volume information (volinfo) block represents a root of the volume and comprises various system wide configuration data. The volinfo block further comprises a data structure configured to provide a level of indirection that increases the number of PCPIs maintainable by a file system executing on the storage system. To that end, the data structure may be organized as an array of pointers, wherein each pointer references a block containing a snapshot root, thereby enabling efficient access to each PCPI maintained by the file system.
- The foregoing description has been directed to specific embodiments of this invention. It will be apparent, however, that other variations and modifications may be made to the described embodiments, with the attainment of some or all of their advantages. For instance, it is expressly contemplated that the teachings of this invention can be implemented as software, including a computer-readable medium having program instructions executing on a computer, hardware, firmware, or a combination thereof. Accordingly this description is to be taken only by way of example and not to otherwise limit the scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.
Claims (20)
1. A system adapted to maintain an increased number of persistent consistency point images (PCPI), the system comprising:
at least one storage device adapted to store a volume information (volinfo) block, the volinfo block being a root of a tree of blocks, the volinfo block further comprising metadata describing a plurality of file systems;
wherein the tree of blocks comprises a plurality of direct file system information (fsinfo) block, each of the fsinfo blocks being associated with one of the plurality of file systems.
2. The system of claim 1 wherein the tree of blocks further comprises a plurality of indirect fsinfo blocks.
3. The system of claim 1 wherein a first direct fsinfo block of the plurality of direct fsinfo blocks is associated with an active file system.
4. A method for maintaining an increased number of persistent consistency point images (PCPIs) maintained for a volume of a storage system, the method comprising:
providing a file system information (fsinfo) block associated with an active file system executing on the storage system;
providing one or more PCPI fsinfo blocks, each PCPI fsinfo block associated with a PCPI;
providing a volume information (volinfo) block at a predetermined location within storage space associated with the storage system, the volinfo block comprising a plurality of pointers configured to reference the fsinfo and PCPI fsinfo blocks through one or more indirect fsinfo blocks.
5. The method of claim 4 wherein the plurality of pointers are indexed by an identifier and a predetermined identifier is associated with the fsinfo block associated with the active file system.
6. The system of claim 1 wherein the volinfo block comprises a plurality of pointers that reference the plurality of direct fsinfo blocks.
7. The system of claim 6 wherein the pointers comprise volume block numbers.
8. The system of claim 1 wherein the plurality of file systems comprises of an active file system and one or more persistent consistency point images (PCPIs).
9. The system of claim 8 wherein each PCPI is read only and space conservative.
10. The system of claim 2 wherein each indirect fsinfo block points to one or more of the plurality of direct fsinfo blocks.
11. The system of claim 10 wherein each indirect fsinfo block comprises an array of pointers.
12. The system of claim 11 wherein each entry in the array of pointers comprises a volume block number.
13. The system of claim 11 wherein the volinfo block comprises an array of pointers to the plurality of indirect fsinfo blocks.
14. The system of claim 13 wherein each entry of the array of pointers comprises a volume block number.
15. The method of claim 4 wherein each of the plurality of pointers comprises a volume block number.
16. The method of claim 4 further comprising providing a second volinfo block at a second predetermined location within the storage space associated with the storage system.
17. The method of claim 4 wherein each PCPI is read only and space conservative.
18. The method of claim 4 wherein each indirect fsinfo block comprises a plurality of pointers that reference one of the fsinfo and PCPI fsinfo blocks.
19. The method of claim 18 wherein the plurality of pointers that reference one of the fsinfo and PCPI fsinfo blocks are organized in an array within each indirect fsinfo block.
20. A non-transitory readable medium, having program instructions executing on a processor, the computer readable medium comprising:
program instructions that provide a file system information (fsinfo) block associated with an active file system executing on a storage system;
program instructions that provide one or more persistent consistency point images (PSPI) fsinfo blocks, each PCPI fsinfo black associated with a PCPI; and
program instructions that provide a first volume information (volinfo) block stored at a first predetermined location within storage space associated with the storage system and a second volinfo block stored at a second predetermined location within the storage space, the first and second volinfo blocks comprising a plurality of pointers configured to reference the fsinfo and PCPI fsinfo blocks through one or more indirect fsinfo blocks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/401,469 US9009168B2 (en) | 2004-02-12 | 2012-02-21 | Technique for increasing the number of persistent consistency point images in a file system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/777,979 US7313720B1 (en) | 2004-02-12 | 2004-02-12 | Technique for increasing the number of persistent consistency point images in a file system |
US11/333,145 US8122286B1 (en) | 2004-02-12 | 2006-01-17 | Technique for increasing the number of persistent consistency point images in a file system |
US13/401,469 US9009168B2 (en) | 2004-02-12 | 2012-02-21 | Technique for increasing the number of persistent consistency point images in a file system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/333,145 Continuation US8122286B1 (en) | 2004-02-12 | 2006-01-17 | Technique for increasing the number of persistent consistency point images in a file system |
Publications (2)
Publication Number | Publication Date |
---|---|
US20120150807A1 true US20120150807A1 (en) | 2012-06-14 |
US9009168B2 US9009168B2 (en) | 2015-04-14 |
Family
ID=38931063
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/777,979 Expired - Lifetime US7313720B1 (en) | 2004-02-12 | 2004-02-12 | Technique for increasing the number of persistent consistency point images in a file system |
US11/333,145 Expired - Lifetime US8122286B1 (en) | 2004-02-12 | 2006-01-17 | Technique for increasing the number of persistent consistency point images in a file system |
US13/401,469 Expired - Lifetime US9009168B2 (en) | 2004-02-12 | 2012-02-21 | Technique for increasing the number of persistent consistency point images in a file system |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/777,979 Expired - Lifetime US7313720B1 (en) | 2004-02-12 | 2004-02-12 | Technique for increasing the number of persistent consistency point images in a file system |
US11/333,145 Expired - Lifetime US8122286B1 (en) | 2004-02-12 | 2006-01-17 | Technique for increasing the number of persistent consistency point images in a file system |
Country Status (1)
Country | Link |
---|---|
US (3) | US7313720B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8832024B2 (en) * | 2012-10-26 | 2014-09-09 | Netapp, Inc. | Simplified copy offload |
US9015123B1 (en) * | 2013-01-16 | 2015-04-21 | Netapp, Inc. | Methods and systems for identifying changed data in an expandable storage volume |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7313720B1 (en) * | 2004-02-12 | 2007-12-25 | Network Appliance, Inc. | Technique for increasing the number of persistent consistency point images in a file system |
US7707165B1 (en) * | 2004-12-09 | 2010-04-27 | Netapp, Inc. | System and method for managing data versions in a file system |
US7613743B1 (en) * | 2005-06-10 | 2009-11-03 | Apple Inc. | Methods and apparatuses for data protection |
US7707193B2 (en) * | 2005-09-22 | 2010-04-27 | Netapp, Inc. | System and method for verifying and restoring the consistency of inode to pathname mappings in a filesystem |
US8549051B2 (en) * | 2005-11-04 | 2013-10-01 | Oracle America, Inc. | Unlimited file system snapshots and clones |
US8868495B2 (en) | 2007-02-21 | 2014-10-21 | Netapp, Inc. | System and method for indexing user data on storage systems |
JP4907605B2 (en) * | 2007-06-25 | 2012-04-04 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Inode allocation and deallocation method and computer program |
GB2453117B (en) * | 2007-09-25 | 2012-05-23 | Motorola Mobility Inc | Apparatus and method for encoding a multi channel audio signal |
US8219564B1 (en) | 2008-04-29 | 2012-07-10 | Netapp, Inc. | Two-dimensional indexes for quick multiple attribute search in a catalog system |
US7979735B2 (en) | 2008-08-15 | 2011-07-12 | International Business Machines Corporation | Data storage with snapshot-to-snapshot recovery |
ATE535867T1 (en) | 2008-10-30 | 2011-12-15 | Ibm | FLASHCOPY HANDLING |
US8266136B1 (en) | 2009-04-13 | 2012-09-11 | Netapp, Inc. | Mechanism for performing fast directory lookup in a server system |
US20110173601A1 (en) * | 2010-01-12 | 2011-07-14 | Google Inc. | Operating system auto-update procedure |
US9842026B2 (en) | 2013-12-31 | 2017-12-12 | Netapp, Inc. | Snapshot-protected consistency checking file systems |
US20160335198A1 (en) * | 2015-05-12 | 2016-11-17 | Apple Inc. | Methods and system for maintaining an indirection system for a mass storage device |
US12079515B2 (en) | 2022-01-20 | 2024-09-03 | Pure Storage, Inc. | Immutable nodes in a container system |
US12019522B2 (en) | 2022-01-20 | 2024-06-25 | Pure Storage, Inc. | Container recovery layer prioritization |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5457796A (en) * | 1990-07-11 | 1995-10-10 | At&T Ipm Corp. | File system with components shared between separately addressable versions |
US20030182317A1 (en) * | 2002-03-22 | 2003-09-25 | Kahn Andy C. | File folding technique |
US7769723B2 (en) * | 2006-04-28 | 2010-08-03 | Netapp, Inc. | System and method for providing continuous data protection |
Family Cites Families (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4570217A (en) | 1982-03-29 | 1986-02-11 | Allen Bruce S | Man machine interface |
US5202979A (en) | 1985-05-08 | 1993-04-13 | Thinking Machines Corporation | Storage system using multiple independently mechanically-driven storage units |
US4814971A (en) | 1985-09-11 | 1989-03-21 | Texas Instruments Incorporated | Virtual memory recovery system using persistent roots for selective garbage collection and sibling page timestamping for defining checkpoint state |
US5043871A (en) | 1986-03-26 | 1991-08-27 | Hitachi, Ltd. | Method and apparatus for database update/recovery |
JP2561696B2 (en) | 1988-03-31 | 1996-12-11 | 三菱電機株式会社 | Shared area management method in network system |
US5043876A (en) | 1988-05-27 | 1991-08-27 | International Business Machines Corporation | N-level file shadowing and recovery in a shared file system |
US5065354A (en) | 1988-09-16 | 1991-11-12 | Compaq Computer Corporation | Queued posted-write disk write method with improved error handling |
CA1323448C (en) | 1989-02-24 | 1993-10-19 | Terrence C. Miller | Method and apparatus for translucent file system |
US5182805A (en) | 1989-07-14 | 1993-01-26 | Ncr Corporation | Method and system for determining copy-on-write condition |
US5163131A (en) | 1989-09-08 | 1992-11-10 | Auspex Systems, Inc. | Parallel i/o network file server architecture |
US5218695A (en) | 1990-02-05 | 1993-06-08 | Epoch Systems, Inc. | File server system having high-speed write execution |
US5088026A (en) | 1990-02-09 | 1992-02-11 | International Business Machines Corporation | Method for managing a data cache using virtual external storage addresses as arguments |
US5201044A (en) | 1990-04-16 | 1993-04-06 | International Business Machines Corporation | Data processing method for file status recovery includes providing a log file of atomic transactions that may span both volatile and non volatile memory |
US5230047A (en) | 1990-04-16 | 1993-07-20 | International Business Machines Corporation | Method for balancing of distributed tree file structures in parallel computing systems to enable recovery after a failure |
JPH0540682A (en) | 1990-06-08 | 1993-02-19 | Internatl Business Mach Corp <Ibm> | High available trouble-resistant relocation of storage device having atomicity |
US5210866A (en) | 1990-09-12 | 1993-05-11 | Storage Technology Corporation | Incremental disk backup system for a dynamically mapped data storage subsystem |
US5155835A (en) | 1990-11-19 | 1992-10-13 | Storage Technology Corporation | Multilevel, hierarchical, dynamically mapped data storage subsystem |
US5278979A (en) | 1990-12-20 | 1994-01-11 | International Business Machines Corp. | Version management system using pointers shared by a plurality of versions for indicating active lines of a version |
US5287496A (en) | 1991-02-25 | 1994-02-15 | International Business Machines Corporation | Dynamic, finite versioning for concurrent transaction and query processing |
US5379391A (en) | 1991-03-01 | 1995-01-03 | Storage Technology Corporation | Method and apparatus to access data records in a cache memory by multiple virtual addresses |
US5369757A (en) | 1991-06-18 | 1994-11-29 | Digital Equipment Corporation | Recovery logging in the presence of snapshot files by ordering of buffer pool flushing |
US5410667A (en) | 1992-04-17 | 1995-04-25 | Storage Technology Corporation | Data record copy system for a disk drive array data storage subsystem |
US5469562A (en) | 1992-06-26 | 1995-11-21 | Digital Equipment Corporation | Durable atomic storage update manager |
US5403639A (en) | 1992-09-02 | 1995-04-04 | Storage Technology Corporation | File server having snapshot application data groups |
US5455946A (en) | 1993-05-21 | 1995-10-03 | International Business Machines Corporation | Method and means for archiving modifiable pages in a log based transaction management system |
US5963962A (en) * | 1995-05-31 | 1999-10-05 | Network Appliance, Inc. | Write anywhere file-system layout |
ATE195825T1 (en) | 1993-06-03 | 2000-09-15 | Network Appliance Inc | ARRANGEMENT OF A FILE SYSTEM FOR DESCRIBING ANY AREAS |
JP4128641B2 (en) * | 1997-10-13 | 2008-07-30 | 株式会社東芝 | Data backup method |
US6484186B1 (en) * | 2000-02-15 | 2002-11-19 | Novell, Inc. | Method for backing up consistent versions of open files |
US6708227B1 (en) * | 2000-04-24 | 2004-03-16 | Microsoft Corporation | Method and system for providing common coordination and administration of multiple snapshot providers |
US6728922B1 (en) * | 2000-08-18 | 2004-04-27 | Network Appliance, Inc. | Dynamic data space |
US7072916B1 (en) * | 2000-08-18 | 2006-07-04 | Network Appliance, Inc. | Instant snapshot |
US6636879B1 (en) * | 2000-08-18 | 2003-10-21 | Network Appliance, Inc. | Space allocation in a write anywhere file system |
US20020083072A1 (en) | 2000-12-22 | 2002-06-27 | Steuart Stacy Rhea | System, method and software application for incorporating data from unintegrated applications within a central database |
US6959313B2 (en) | 2003-07-08 | 2005-10-25 | Pillar Data Systems, Inc. | Snapshots of file systems in data storage systems |
US7313720B1 (en) * | 2004-02-12 | 2007-12-25 | Network Appliance, Inc. | Technique for increasing the number of persistent consistency point images in a file system |
-
2004
- 2004-02-12 US US10/777,979 patent/US7313720B1/en not_active Expired - Lifetime
-
2006
- 2006-01-17 US US11/333,145 patent/US8122286B1/en not_active Expired - Lifetime
-
2012
- 2012-02-21 US US13/401,469 patent/US9009168B2/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5457796A (en) * | 1990-07-11 | 1995-10-10 | At&T Ipm Corp. | File system with components shared between separately addressable versions |
US20030182317A1 (en) * | 2002-03-22 | 2003-09-25 | Kahn Andy C. | File folding technique |
US7769723B2 (en) * | 2006-04-28 | 2010-08-03 | Netapp, Inc. | System and method for providing continuous data protection |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8832024B2 (en) * | 2012-10-26 | 2014-09-09 | Netapp, Inc. | Simplified copy offload |
US9280425B2 (en) * | 2012-10-26 | 2016-03-08 | Netapp, Inc. | Simplified copy offload |
US9015123B1 (en) * | 2013-01-16 | 2015-04-21 | Netapp, Inc. | Methods and systems for identifying changed data in an expandable storage volume |
Also Published As
Publication number | Publication date |
---|---|
US8122286B1 (en) | 2012-02-21 |
US7313720B1 (en) | 2007-12-25 |
US9009168B2 (en) | 2015-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9009168B2 (en) | Technique for increasing the number of persistent consistency point images in a file system | |
US7739318B2 (en) | System and method for maintaining mappings from data containers to their parent directories | |
US7409511B2 (en) | Cloning technique for efficiently creating a copy of a volume in a storage system | |
US8126935B2 (en) | System and method for enabling a storage system to support multiple volume formats simultaneously | |
US7430571B2 (en) | Extension of write anywhere file layout write allocation | |
US7962528B1 (en) | System and method for quickly determining changed metadata using persistent consistency point image differencing | |
US7334095B1 (en) | Writable clone of read-only volume | |
US7707193B2 (en) | System and method for verifying and restoring the consistency of inode to pathname mappings in a filesystem | |
US7698289B2 (en) | Storage system architecture for striping data container content across volumes of a cluster | |
US7334094B2 (en) | Online clone volume splitting technique | |
US7321962B1 (en) | Technique for translating a hybrid virtual volume file system into a pure virtual file system data stream | |
US20140082281A1 (en) | Extension of write anywhere file system layout | |
US7243207B1 (en) | Technique for translating a pure virtual file system data stream into a hybrid virtual volume | |
US7926049B1 (en) | System and method for determining differences between software configurations | |
US7856423B1 (en) | System and method for generating a crash consistent persistent consistency point image set |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
CC | Certificate of correction | ||
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |