WO2020033093A1 - Methods and systems for protecting data of a persistent memory based file system - Google Patents

Methods and systems for protecting data of a persistent memory based file system Download PDF

Info

Publication number
WO2020033093A1
WO2020033093A1 PCT/US2019/041069 US2019041069W WO2020033093A1 WO 2020033093 A1 WO2020033093 A1 WO 2020033093A1 US 2019041069 W US2019041069 W US 2019041069W WO 2020033093 A1 WO2020033093 A1 WO 2020033093A1
Authority
WO
WIPO (PCT)
Prior art keywords
snapshot
storage
data units
file system
time
Prior art date
Application number
PCT/US2019/041069
Other languages
French (fr)
Inventor
Sriram Venketaraman
Amit Golander
Original Assignee
Netapp, Inc.
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netapp, Inc. filed Critical Netapp, Inc.
Publication of WO2020033093A1 publication Critical patent/WO2020033093A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1658Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit
    • G06F11/1662Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit the resynchronized component or unit being a persistent storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation

Definitions

  • the present disclosure relates to networked storage systems, and particularly, to providing computing technology for taking snapshots for data units of a persistent memory based file system executed by a computing device communicating with a storage system executing another file system for managing mass storage devices.
  • DAS direct attached storage
  • NAS network attached storage
  • SAN storage area networks
  • Network storage systems are commonly used for a variety of purposes, such as providing multiple users with access to shared data, backing up data and others.
  • a storage system typically includes at least one
  • the computing system executing a storage operating system with a file system for storing and retrieving data on behalf of one or more client computing systems ("clients") .
  • clients client computing systems
  • operating system stores and manages shared data containers in a set of mass storage devices.
  • PM non-volatile or persistent memory
  • CPU central processing unit
  • PM is characterized by low RAM-like latencies, and is typically substantially faster vis-a-vis flash-based SSD arrays (solid state devices) and HDDs (hard disk drive), respectively.
  • PM typically iimplemented using backed-up dynamic random access memory (DRAM, magneto-resistive random-access memory (MRAM) or spin-transfer torque magnetic random-access memory (STT-MRAM) technologies.
  • DRAM backed-up dynamic random access memory
  • MRAM magneto-resistive random-access memory
  • STT-MRAM spin-transfer torque magnetic random-access memory
  • Other emerging technologies such as resistive random-access memory (ReRAM and phase-change memory (PCM) which are very dense, may enable cheaper, though slower, PM
  • File systems are usually block-based and are architected towards using HDDs and/or SSDs, and as such, they do not store or cache user data on a PM, Typically, a separate software layer manages memory-based software caching. Emerging PM-aware file systems (e . g. EXT4-DAX) directly access PM, avoiding slow and cumbersome caching and/or memory map services of a virtual file system layer.
  • PM-aware file systems e . g. EXT4-DAX
  • PM based file systems executed out of host computing systems initially store data units at the PM.
  • the data units are later transferred to lower tier storage managed by a storage operating system of a storage system (or storage
  • Figure 1A shows an example of an operating environment for implementing the various aspects of the present disclosure
  • Figure IB shows a block diagram of a system with a persistent memory based file system, used according to one aspect of the present disclosure
  • Figure 1C shows an example of a process for taking snapshots, according to one aspect of the present disclosure
  • Figures 1D-1E illustrate the process blocks of Figure 1C, according to one aspect of the present disclosure
  • Figure IF shows an example of retaining a snapshot at a persistent memory, according to one aspect of the present disclosure ;
  • Figure 2A shows an example of a clustered storage system, used according to one aspect of the present disclosure
  • Figure 2B shows an example of a storage system node, used according to one aspect of the present disclosure
  • Figure 3 shows an example of a storage operating system, used according to one aspect of the present disclosure
  • Figure 4 shows an example of a processing system, used according to one aspect of the present disclosure.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • both an application running on a server and the server can be a component.
  • One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between two or more computers. Also, these components can execute from various non-transitory, computer readable media having various data structures stored thereon.
  • the components may communicate via local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or across a network such as the Internet with other systems via the signal) .
  • Computer executable components can be stored, for example, on non-transitory, computer readable media including, but not limited to, an ASIC (application specific integrated circuit) , CD (compact disc) , DVD (digital video disk) , ROM (read only memory) , floppy disk, hard disk, EEPROM (electrically erasable programmable read only memory) , memory stick or any other storage device type, in accordance with the claimed subject matter.
  • ASIC application specific integrated circuit
  • CD compact disc
  • DVD digital video disk
  • ROM read only memory
  • floppy disk floppy disk
  • hard disk hard disk
  • EEPROM electrically erasable programmable read only memory
  • FIG. 1A shows an example of a networked operating environment 100 (also referred to as system 100), for implementing the various adaptive aspects of the present
  • system 100 may include a plurality of computing systems 104A-104N (may also be referred to and shown as server system (or server systems) 104 or as host system (or host systems) 104) that may access one or more storage systems 108 via a connection system 116 such as a local area network (LAN), wide area network (WAN), the Internet and others.
  • the server systems 104 may communicate with each other via
  • connection system 116 for example, for working collectively to provide data-access service to user consoles (or computing devices) 102A-102N (may be referred to as user 102 or client system 102).
  • Server systems 104 may be computing devices configured to execute applications 106A-106N (may be referred to as application 106 or applications 106) over a variety of operating systems, including the UNIX® and Microsoft Windows® operating systems.
  • Applications 106 may utilize data services of storage system 108 to access, store, and manage data in a set of storage devices 110 that are described below in detail.
  • Applications 106 may include a database program, an email program or any other computer executable program.
  • the server systems may also execute a persistent memory-based file system that stores data in persistent memory of the server system, as described below in detail.
  • server systems 104 may also utilize file- based access protocols when accessing information (in the form of files and directories) over a network attached storage (NAS)- based network.
  • server systems 104 may use block- based access protocols, for example, the Small Computer Systems Interface (SCSI) protocol encapsulated over TCP (iSCSI) and SCSI encapsulated over Fibre Channel (FCP) to access storage via a storage area network (SAN) .
  • SCSI Small Computer Systems Interface
  • iSCSI SCSI protocol encapsulated over TCP
  • FCP Fibre Channel
  • server 104A executes a virtual machine environment 105, according to one aspect.
  • a physical resource is time-shared among a plurality of independently operating processor
  • VMs executable virtual machines
  • OS operating system
  • guest resources resources available within the VM
  • the guest software expects to operate as if it were running on a dedicated computer rather than in a VM. That is, the guest software expects to control various events and have access to hardware resources on a physical computing system (may also be referred to as a host platform) which may be referred to herein as "host hardware resources".
  • the host hardware resource may include one or more processors, resources resident on the processors (e.g., control registers, caches and others), memory (instructions residing in memory, e.g., descriptor tables), and other resources (e.g., input/output devices, host attached storage, network attached storage or other like storage) that reside in a physical machine or are coupled to the host
  • the virtual machine environment 105 includes a plurality of VMs 113A-113N that execute a plurality of guest OS 115A-115N (may also be referred to as guest OS 115) to share hardware resources 119.
  • hardware resources 119 may include CPU, memory, I/O devices, storage or any other hardware resource .
  • VMM virtual machine monitor
  • a virtual machine monitor (VMM) 121 for example, a processor executed hypervisor layer provided by VMWare Inc., Hyper-V layer provided by Microsoft Corporation (without
  • VMM 121 may include or interface with a
  • VIL virtualization layer
  • VIL 117 presents physical storage at storage devices 110 as virtual storage (for example, as a virtual hard drive (VHD) ) to VMs 113A-113N.
  • VHD virtual hard drive
  • the VMs use the VHDs to store information at storage devices 110.
  • VMM 121 is executed by server system 104A with VMs 113A-113N.
  • VMM 121 may be executed by a separate stand-alone computing system, often referred to as a hypervisor server or VMM server and VMs 113A-113N are
  • System 100 may also include a management system 118 for managing and configuring various elements of system 100.
  • Management system 118 may execute or include a management application 138 for coordinating snapshots (i.e. point in time copy) of data stored by the storage system 108.
  • storage system 108 is a shared storage system having access to a set of mass storage devices 110 (may be referred to as storage devices 110 or "L3 storage") within a storage subsystem 112.
  • storage devices 110 may be a part of a storage array within the storage sub-system 112.
  • Storage devices 110 are used by the storage system 108 for storing information.
  • the storage devices 110 may include writable storage device media such as magnetic disks, video tape,
  • the storage devices 110 may be organized as one or more groups of Redundant Array of Independent (or Inexpensive) Disks (RAID) .
  • RAID Redundant Array of Independent (or Inexpensive) Disks
  • a storage operating system of storage system 108 to facilitate access to storage devices 110, a storage operating system of storage system 108
  • the storage system 108 can present or export data stored at storage devices 110 to server systems 104 and VMM 121 as a storage volume or one or more qtree sub-volume units including logical unit numbers (LUNs) .
  • Each storage volume may be
  • each volume can appear to be a single disk drive. However, each volume can represent the storage space in one disk, an aggregate of some or all of the storage space in multiple disks, a RAID group, or any other suitable set of storage space.
  • disk as used herein is intended to mean any storage device/space and not to limit the adaptive aspects to any particular type of storage device, for example, hard disks.
  • the storage system 108 may be used to store and manage information at storage devices 110 based on a request generated by server system 104, management system 118, user 102 and/or a VM.
  • the request may be based on file-based access protocols, for example, the CIFS or the NFS protocol, over TCP/IP.
  • the request may use block-based access protocols, for example, iSCSI or FCP.
  • block-based access protocols for example, iSCSI or FCP.
  • server system 104 transmits one or more input/output (I/O) commands, such as an NFS or CIFS request, over connection system 116 to the storage system 108.
  • I/O input/output
  • Storage system 108 receives the request, issues one or more I/O commands to storage devices 110 to read or write the data on behalf of the server system 104, and issues an NFS or CIFS response containing the requested data over the connection system 116 to the respective server system 104.
  • storage system 108 may have a distributed architecture, for example, a cluster based system that may include a separate network module and storage module, described below in detail with respect to Figure 2A. Briefly, the network module is used to communicate with server systems 104 and management system 118, while the storage module is used to communicate with the storage devices 110.
  • Figure IB shows a block diagram of a system where a persistent memory (PM) based file system (FS1) 144 is executed out of a PM 142 of a host system 140.
  • the host system 140 may be similar to servers 104 described above and interfaces with the storage system 108 that executes a storage operating system 150 with a file system (may be referred to as a second file system) .
  • FS1 144 stores data units 146 at PM 142. The data units may be stored for client applications and other processes executed by host system 140.
  • a snapshot 148 is taken by FS1 144 and may be stored at PM 142, as described below in detail.
  • the term snapshot means a point-in time copy that captures a state of a file system at any given time. Snapshot 148 is a point in time copy of data units 146 stored at PM 142 by FS1 144.
  • the storage devices 110 managed by the storage operating system 150 store data units and associated metadata 152 using one or more LUNs/volumes .
  • the storage devices 110 also store snapshot 154 of the active FS1 144 of host system 140, as described below in detail.
  • the system of Figure IB uses two storage tiers; a memory addressable first tier (PM 142) and a block addressable second tier (storage devices 110) .
  • FS1 144 manages the first tier (i.e. PM 142) and the storage operating system 150 manages the second tier (i.e. storage devices 110) .
  • the data is first written to the first tier 142 as data units 146 and the write operation is acknowledged.
  • the data units are then written to the second tier 110, when space in the first tier reaches a certain threshold level, to prevent repeated overwrites from getting written to the second tier.
  • a first portion of file system data i.e. data units stored by FS1 144) (e.g. X%) may be present in the first tier and a second portion is stored at the second tier, managed by storage operating system 150.
  • a snapshot operation has to take a point in time copy of data units that span across both storage tiers. This involves writing data that is present in the first tier to the second tier and then taking a snapshot of the second tier. The amount of time it takes to flush data to the second tier is proportional to the size of the first tier and the bandwidth available to write the data to the second tier.
  • any I/O ( Input/output ) requests are fenced (or held) until a flush operation has been completed.
  • the systems and processes disclosed herein take a snapshot of the first tier and then unfences new and pending I/O requests i.e. application requests for reading and writing data are executed. Subsequently, only the data units present in the snapshot and not yet written to the second tier have to be written to the second tier. It is noteworthy that it is not enough to write the data blocks to second tier during the snapshot operation, metadata associated with the data blocks is also written.
  • the snapshot at the second tier includes the snapshot of the first tier with both data units and associated metadata.
  • the snapshot of the second tier can be used for different reasons, including, data protection, remote protection using SnapMirror (without derogation of any trademark rights), clones, and for restore operations.
  • a restore operation regenerates the first tier with metadata blocks included in the second tier snapshot and enables read/write access to data by FS1 144.
  • snapshots in the first tier can use limited PM 142 pages. To prevent excessive usage of PM pages in the first tier, snapshots of the first tier that have been written to the second tier may be deleted, as described below in detail .
  • Process Flow begins in block B158 when the host system 140 and the storage system 108 are initialized and operational. Before taking a FS1 144 based snapshot, an optional block B160 is executed. Block B160, reduces the number of data units that have a valid copy at
  • PM 142 also referred to as L2 storage of first tier storage
  • FS1 144 typically operates by writing to PM 142 and then acknowledging modifications to an application that
  • Block B160 the number of data units that are still at PM 142 are flushed to storage devices 110, which reduces the time to take a snapshot of PM 142 that stores data units 146. Block B160 is executed before a snapshot is taken of PM 142.
  • a snapshot (referred to as L2 snap-1 ( Figures 1D-1E) is taken by FS1 144.
  • any I/O request by one or more applications is fenced (i.e. held) to complete the snapshot operation by FS1 144.
  • the amount of time it takes to write data to the LUNs at storage devices 110 is proportional to the amount of data units at PM 142.
  • the metadata for the data units in L2 snapshot is encoded and written to storage devices 110.
  • the metadata includes timestamps, access rights, a unique identifier for the snapshot, storage location of the snapshot, size of the snapshot, number of data units or any other information (pointers, links and others) that may be needed to restore data units and metadata associated with the data units from the snapshot.
  • the metadata is encoded such that the metadata can be represented from a memory representation of PM 142 to a block representation at storage devices 110. This may be accomplished by encoding block numbers as offsets within the metadata. Metadata encoding details are also provided in US Patent No. 9, 678, 670, the disclosure of which is incorporated herein by reference in its entirety.
  • the data blocks that belong to the snapshot taken by FS1 144 are
  • the data units are written to a pre-determined offset at LUNs of storage devices 110, if the units were not written earlier in block B160. It is noteworthy that only incremental data units across different snapshots are written to the LUNs at storage devices 110.
  • the data units written to the LUNs are compressed, compacted and deduplicated. After writing the data blocks to the LUNs, the metadata blocks belonging to the snapshot are encoded in a similar fashion and written to the LUNs .
  • a snapshot of the LUNs at storage device 110 is taken.
  • This snapshot is referred to as L3 snap-1 ( Figures 1D-1E) .
  • the LUN based snapshot is taken after the data units and the metadata blocks of the PM-filesystem snapshot (L2 snap-1) have been flushed to the LUNs of storage devices 110.
  • the L3 snapshot is uniquely identified and indicates that the FS1 144 snapshot is included in it.
  • Each snapshot of the LUNs of storage device 110 may have multiple FS1 144 snapshots.
  • the FS1 144 based snapshot or its data units may be optionally deleted. This reclaims storage space at
  • block B172 optionally, reverse transform the snapshot data units within the L3 snap-1 to the FS1 144.
  • a writeable copy of the LUNs is created and the FS1 144 metadata stored at the LUNs is transformed to a new FS1 144 instance.
  • Figure ID shows an example of the process blocks of Figure 1C without the steps involved in block B170.
  • Figure IE shows an example of the process blocks of Figure 1C without the steps involved in block B172.
  • Figure IF shows an example, where snapshots are left at the host system. This allows for faster lookups in L2 snap-1, faster recovery to snap-1 and faster snapshot operation for a next snapshot.
  • Figure ID shows the various process blocks of Figure 1C between time tl and time t6.
  • the L2 active file system (AFS) 161 L2 AFS 161
  • L2 AFS 161 L2 AFS 161
  • Data unit 155 has been transferred to a LUN at storage device 110 managed by L3 AFS 167.
  • the L2 snap-1 159 has been taken.
  • the user has also written to block 165 with root node 163.
  • time t2 and t3 the metadata 151 and data units 153, 155 and 157 have been transferred to the LUNs at L3 storage.
  • a snapshot 169 of the L3 LUN is taken.
  • the L3 AFS still retains 151, 153, 155 and 157 blocks.
  • a delete process to delete the snapshot is initiated.
  • the L2 AFS uses root node 163 and blocks 165, 155 and 157.
  • the L3 AFS still retains 151, 153, 155 and 157 and hence use extra storage space at L3 storage.
  • Figure IE shows all the process blocks of Figure ID but also shows at time t6 that blocks 151 and 153 are released since they are no longer referenced by the L2 AFS and the L3 snap-1 has all the data units of L2 snap-1.
  • FIG. 1A depicts an illustrative aspect of a shared, storage environment 200 using the L3 storage described above.
  • the shared, storage environment 200 includes the management system 118, a plurality of server systems 204.1-204.2 (similar to server systems 104), a clustered storage system 202 and at least one computer network 206
  • the clustered storage system 202 includes a plurality of nodes 208.1-208.3, a cluster switching fabric 210, and a
  • Each of the plurality of nodes 208.1-208.3 is configured to include a network module, a storage module, and a management module, each of which can be implemented as a
  • node 208.1 includes a network module 214.1, a storage module 216.1, and a management module 218.1
  • node 208.2 includes a network module 214.2, a storage module 216.2, and a management module 218.2
  • node 208.3 includes a network module 214.3, a storage module 216.3, and a management module 218.3.
  • the network modules 214.1-214.3 include functionality that enables the respective nodes 208.1-208.3 to connect to one or more of the client systems 204.1-204.2 over the computer network 206, while the storage modules 216.1-216.3 connect to one or more of the storage devices 212.1-212.3.
  • the management modules 218.1-218.3 provide management functions for the clustered storage system 202. Accordingly, each of the plurality of server nodes 208.1-208.3 in the
  • clustered storage server arrangement provides the functionality of a storage server.
  • a switched virtualization layer including a plurality of virtual interfaces (VIFs) 220 is provided below the interface between the respective network modules 214.1-214.3 and the client systems 204.1-204.2, allowing storage 212.1-212.3
  • the switched virtualization layer may implement a virtual interface architecture.
  • Figure 2A depicts only the VIFs 220 at the interfaces to the network modules 214.1, 214.3 for clarity of illustration.
  • the clustered storage system 202 can be organized into any suitable number of virtual servers (VServer or storage virtual machines (SVM) ) 222A-222N, in which each virtual storage system represents a single storage system namespace with
  • Each virtual storage system has a user domain and a security domain that are separate from the user and security domains of other virtual storage systems.
  • Server systems 204 can access storage space via a VServer from any node of the clustered system 202.
  • Each of the nodes 208.1-208.3 may be defined as a computer adapted to provide application services to one or more of the client systems 204.1-204.2.
  • a SVM is an instance of an application service provided to a client system.
  • the nodes 208.1-208.3 are interconnected by the switching fabric 210, which, for example, may be embodied as a Gigabit Ethernet switch or any other switch type.
  • Figure 2A depicts three network modules 214.1-
  • any other suitable number of network modules, storage modules, and management modules may be
  • the clustered storage system 202 may include a
  • the server systems 204.1-204.2 of Figure 2A may be implemented as computing devices configured to interact with the respective nodes 208.1-208.3 in accordance with a client/server model of information delivery.
  • the interaction between the server systems 204.1-204.2 and the nodes 208.1-208.3 enable the provision of network data storage services.
  • each server system 204.1, 204.2 may request the services of one of the respective nodes 208.1, 208.2, 208.3, and that node may return the results of the services requested by the client system by exchanging packets over the computer network 206, which may be wire-based, optical fiber, wireless, or any other suitable combination thereof.
  • the server systems 204.1-204.2 may issue packets according to file- based access protocols, such as the NFS or CIFS protocol, when accessing information in the form of files and directories.
  • each VIF 220 within the clustered system 202 is a network endpoint having an associated IP address.
  • the server request typically includes a file handle for a data file stored in a specified volume on at storage
  • Figure 2B is a block diagram of a computing system 224, according to one aspect.
  • System 224 may be used by a stand-alone storage system 108 and/or a storage system node operating within a cluster based storage system described above with respect to Figure 2A.
  • System 224 may include a plurality of processors 226A and 226B, a memory 228, a network adapter 234, a cluster access adapter 238 (used for a cluster environment) , a storage adapter 240 and local storage 236 interconnected by a system bus 232.
  • the local storage 236 comprises one or more storage devices, such as disks, utilized by the processors to locally store configuration and other information.
  • the cluster access adapter 238 comprises a plurality of ports adapted to couple system 224 to other nodes of a cluster as described above with respect to Figure 2A.
  • Ethernet may be used as the clustering protocol and interconnect media, although it will be apparent to those skilled in the art that other types of protocols and interconnects may be utilized within the cluster architecture described herein.
  • System 224 is illustratively embodied as a dual processor storage system executing a storage operating system 230 (or 150, Figure IB) that preferably implements a high-level module, such as a file system, to logically organize information as a
  • 224 may alternatively comprise a single or more than two
  • processor systems Illustratively, one processor 226 executes the functions of a network module on a node, while the other processor 226B executes the functions of a storage module.
  • the memory 228 illustratively comprises storage locations that are addressable by the processors and adapters for storing programmable instructions and data structures.
  • the processor and adapters may, in turn, comprise processing elements and/or logic circuitry configured to execute the programmable
  • the storage operating system 230 portions of which is typically resident in memory and executed by the processing elements, functionally organizes the system 224 by, inter alia, invoking storage operations in support of the storage service provided by storage system 108.
  • An example of operating system 230 is the DATA ONTAP ® (Registered trademark of NetApp, Inc. operating system available from NetApp, Inc. that implements a Write Anywhere File Layout (WAFL® (Registered trademark of
  • the network adapter 234 comprises a plurality of ports adapted to couple the system 224 to one or more server systems over point-to-point links, wide area networks, virtual private networks implemented over a public network (Internet) or a shared local area network.
  • the network adapter 234 thus may comprise the mechanical, electrical and signaling circuitry needed to connect storage system 108 to the network.
  • the computer network may be embodied as an Ethernet network or a FC network.
  • the storage adapter 240 cooperates with the storage operating system 230 executing on the system 224 to access information requested by the server systems 104 and management system 118 ( Figure 1A) .
  • 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,
  • the storage adapter 240 comprises a plurality of ports having input/output (I/O) interface circuitry that couples to the disks over an I/O interconnect arrangement, such as a conventional high-performance, FC link topology.
  • I/O input/output
  • a converged adapter is used to process both network and storage traffic.
  • FIG. 3 illustrates a generic example of operating system 230 executed by storage system 108
  • Storage operating system 230 interfaces with the management system 118 and file system 144.
  • operating system 230 may include several modules, or "layers". These layers include a file system manager 303 (e.g. L3 AFS) that keeps track of a directory structure (hierarchy) of the data stored in storage devices and manages read/write operations, i.e. executes read/write
  • Operating system 230 may also include a protocol layer
  • Protocol layer 303 may implement one or more of various higher-level network protocols, such as NFS, CIFS, Hypertext Transfer Protocol
  • HTTP HyperText Transfer Protocol
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • Network access layer 305 may include one or more drivers, which implement one or more lower-level protocols to communicate over the network, such as Ethernet. Interactions between server systems 104 and mass storage devices 110/212 are illustrated schematically as a path, which illustrates the flow of data through operating system 230.
  • the operating system 230 may also include a storage access layer 307 and an associated storage driver layer 309 to communicate with a storage device.
  • the storage access layer 307 may implement a higher-level disk storage protocol, such as RAID (redundant array of inexpensive disks), while the storage driver layer 309 may implement a lower-level storage device access protocol, such as FC or SCSI.
  • the storage access request data path may be
  • storage operating system generally refers to the computer-executable code operable on a computer to perform a storage function that manages data access and may implement data access semantics of a general purpose operating system.
  • the storage operating system can also be implemented as a microkernel, an application program operating over a general-purpose operating system, such as UNIX® or as a general-purpose operating system with configurable
  • FIG. 4 is a high-level block diagram showing an example of the architecture of a processing system, at a high level, in which executable instructions as described above can be implemented.
  • the processing system 400 can
  • the processing system 400 includes one or more processors 402 and memory 404, coupled to a bus system 405.
  • the bus system includes one or more processors 402 and memory 404, coupled to a bus system 405.
  • the bus system 405 may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB) , or an Institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus (sometimes referred to as "Firewire”) .
  • PCI Peripheral Component Interconnect
  • ISA HyperTransport or industry standard architecture
  • SCSI small computer system interface
  • USB universal serial bus
  • IEEE Institute of Electrical and Electronics Engineers
  • the processors 402 are the central processing units
  • a processor 402 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices .
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • PLDs programmable logic devices
  • Memory 404 represents any form of random access memory (RAM) , read-only memory (ROM) , flash memory, or the like, or a combination of such devices.
  • Memory 404 includes the main memory of the processing system 400.
  • Instructions 406 which implements techniques introduced above may reside in and may be executed (by processors 402) from memory 404.
  • instructions 406 may include code for executing the process blocks of Figure 1C.
  • Memory 404 may be similar to PM 142 storing data units and FS 1 144.
  • A1so connected to the processors 402 through the bus system 405 are one or more internal mass storage devices 410, and a network adapter 412.
  • Internal mass storage devices 410 may be or may include any conventional medium for storing large volumes of data in a non-volatile manner, such as one or more magnetic or optical based disks.
  • the network adapter 412 provides the processing system 400 with the ability to
  • the processing system 400 also includes one or more input/output (I/O) devices 408 coupled to the bus system 405.
  • I/O devices 408 may include, for example, a display device, a keyboard, a mouse, etc.

Abstract

Methods and systems for a networked storage system is provided. One method includes creating a first snapshot for data units stored at a persistent memory of a computing device, the data units managed by a first file system; transferring metadata associated with the data units and the data units stored at the persistent memory to a storage device managed by a second file system using a logical object, the second file system executed by a storage system interfacing with the computing device; and generating a second snapshot of the logical object at the storage device, the second snapshot including data units and associated metadata of the first snapshot.

Description

METHODS AND SYSTEMS FOR PROTECTING DATA OF A PERSISTENT
MEMORY BASED FILE SYSTEM
[0001] Technical Field: The present disclosure relates to networked storage systems, and particularly, to providing computing technology for taking snapshots for data units of a persistent memory based file system executed by a computing device communicating with a storage system executing another file system for managing mass storage devices.
[0002] Background : Various forms of storage systems are used today. These forms include direct attached storage (DAS) network attached storage (NAS) systems, storage area networks (SANs), and others. Network storage systems are commonly used for a variety of purposes, such as providing multiple users with access to shared data, backing up data and others.
[0003] A storage system typically includes at least one
computing system executing a storage operating system with a file system for storing and retrieving data on behalf of one or more client computing systems ("clients") . The storage
operating system stores and manages shared data containers in a set of mass storage devices.
[0004] Newly emerging non-volatile or persistent memory (PM) technology may be implemented through a nonvolatile media attached to a central processing unit (CPU) of a computer. PM is characterized by low RAM-like latencies, and is typically substantially faster vis-a-vis flash-based SSD arrays (solid state devices) and HDDs (hard disk drive), respectively. PM
Figure imgf000004_0001
typically iimplemented using backed-up dynamic random access memory (DRAM, magneto-resistive random-access memory (MRAM) or spin-transfer torque magnetic random-access memory (STT-MRAM) technologies. Other emerging technologies, such as resistive random-access memory (ReRAM and phase-change memory (PCM) ) which are very dense, may enable cheaper, though slower, PM
components .
[ 0005 ] File systems are usually block-based and are architected towards using HDDs and/or SSDs, and as such, they do not store or cache user data on a PM, Typically, a separate software layer manages memory-based software caching. Emerging PM-aware file systems (e . g. EXT4-DAX) directly access PM, avoiding slow and cumbersome caching and/or memory map services of a virtual file system layer.
[ 0006 ] Typically, PM based file systems executed out of host computing systems initially store data units at the PM. The data units are later transferred to lower tier storage managed by a storage operating system of a storage system (or storage
controller) . Continuous efforts are being made to develop computing technology to efficiently protect data that is initially stored by the PM based file system and later moved to lower tier storage devices managed by a storage controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The foregoing features and other features will now be described with reference to the drawings of the various aspects. In the drawings, the same components have the same reference numerals. The illustrated aspects are intended to illustrate, but not to limit the present disclosure. The drawings include the following Figures:
[0008] Figure 1A shows an example of an operating environment for implementing the various aspects of the present disclosure;
[0009] Figure IB shows a block diagram of a system with a persistent memory based file system, used according to one aspect of the present disclosure;
[0010] Figure 1C shows an example of a process for taking snapshots, according to one aspect of the present disclosure;
[0011] Figures 1D-1E illustrate the process blocks of Figure 1C, according to one aspect of the present disclosure;
[0012] Figure IF shows an example of retaining a snapshot at a persistent memory, according to one aspect of the present disclosure ;
[0013] Figure 2A shows an example of a clustered storage system, used according to one aspect of the present disclosure;
[0014] Figure 2B shows an example of a storage system node, used according to one aspect of the present disclosure; [0015] Figure 3 shows an example of a storage operating system, used according to one aspect of the present disclosure; and
[0016] Figure 4 shows an example of a processing system, used according to one aspect of the present disclosure.
DETAILED DESCRIPTION
[0017] As preliminary note, the terms "component", "module", "system, " and the like as used herein are intended to refer to a computer-related entity, either software-executing general purpose processor, hardware, firmware and a combination thereof. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
[0018] By way of illustration, both an application running on a server and the server can be a component. One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between two or more computers. Also, these components can execute from various non-transitory, computer readable media having various data structures stored thereon. The components may communicate via local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or across a network such as the Internet with other systems via the signal) . [ 0019 ] Computer executable components can be stored, for example, on non-transitory, computer readable media including, but not limited to, an ASIC (application specific integrated circuit) , CD (compact disc) , DVD (digital video disk) , ROM (read only memory) , floppy disk, hard disk, EEPROM (electrically erasable programmable read only memory) , memory stick or any other storage device type, in accordance with the claimed subject matter.
[ 0020 ] System 100: Figure 1A shows an example of a networked operating environment 100 (also referred to as system 100), for implementing the various adaptive aspects of the present
disclosure. In one aspect, system 100 may include a plurality of computing systems 104A-104N (may also be referred to and shown as server system (or server systems) 104 or as host system (or host systems) 104) that may access one or more storage systems 108 via a connection system 116 such as a local area network (LAN), wide area network (WAN), the Internet and others. The server systems 104 may communicate with each other via
connection system 116, for example, for working collectively to provide data-access service to user consoles (or computing devices) 102A-102N (may be referred to as user 102 or client system 102).
[0021] Server systems 104 may be computing devices configured to execute applications 106A-106N (may be referred to as application 106 or applications 106) over a variety of operating systems, including the UNIX® and Microsoft Windows® operating systems. Applications 106 may utilize data services of storage system 108 to access, store, and manage data in a set of storage devices 110 that are described below in detail. Applications 106 may include a database program, an email program or any other computer executable program. The server systems may also execute a persistent memory-based file system that stores data in persistent memory of the server system, as described below in detail.
[0022] Some of the server systems 104 may also utilize file- based access protocols when accessing information (in the form of files and directories) over a network attached storage (NAS)- based network. Alternatively, server systems 104 may use block- based access protocols, for example, the Small Computer Systems Interface (SCSI) protocol encapsulated over TCP (iSCSI) and SCSI encapsulated over Fibre Channel (FCP) to access storage via a storage area network (SAN) .
[ 0023 ] As an example, server 104A executes a virtual machine environment 105, according to one aspect. In the virtual machine environment 105, a physical resource is time-shared among a plurality of independently operating processor
executable virtual machines (VMs) . Each VM may function as a self-contained platform, running its own operating system (OS) and computer executable, application software. The computer executable instructions running in a VM may be collectively referred to herein as "guest software". In addition, resources available within the VM may be referred to herein as "guest resources".
[ 0024 ] The guest software expects to operate as if it were running on a dedicated computer rather than in a VM. That is, the guest software expects to control various events and have access to hardware resources on a physical computing system (may also be referred to as a host platform) which may be referred to herein as "host hardware resources". The host hardware resource may include one or more processors, resources resident on the processors (e.g., control registers, caches and others), memory (instructions residing in memory, e.g., descriptor tables), and other resources (e.g., input/output devices, host attached storage, network attached storage or other like storage) that reside in a physical machine or are coupled to the host
platform.
[ 0025 ] The virtual machine environment 105 includes a plurality of VMs 113A-113N that execute a plurality of guest OS 115A-115N (may also be referred to as guest OS 115) to share hardware resources 119. As described above, hardware resources 119 may include CPU, memory, I/O devices, storage or any other hardware resource . [ 0026 ] A virtual machine monitor (VMM) 121, for example, a processor executed hypervisor layer provided by VMWare Inc., Hyper-V layer provided by Microsoft Corporation (without
derogation of any third party trademark rights) or any other virtualization layer type, presents and manages the plurality of guest OS 115. VMM 121 may include or interface with a
virtualization layer (VIL) 117 that provides one or more
virtualized hardware resource 119 to each guest OS. For example, VIL 117 presents physical storage at storage devices 110 as virtual storage (for example, as a virtual hard drive (VHD) ) to VMs 113A-113N. The VMs use the VHDs to store information at storage devices 110.
[ 0027 ] In one aspect, VMM 121 is executed by server system 104A with VMs 113A-113N. In another aspect, VMM 121 may be executed by a separate stand-alone computing system, often referred to as a hypervisor server or VMM server and VMs 113A-113N are
presented via another computer system. It is noteworthy that various vendors provide virtualization environments, for
example, VMware Corporation, Microsoft Corporation (without derogation of any third party trademark rights) and others. The generic virtualization environment described above with respect to Figure 1A may be customized depending on the virtual
environment provider. [0028] System 100 may also include a management system 118 for managing and configuring various elements of system 100.
Management system 118 may execute or include a management application 138 for coordinating snapshots (i.e. point in time copy) of data stored by the storage system 108.
[0029] In one aspect, storage system 108 is a shared storage system having access to a set of mass storage devices 110 (may be referred to as storage devices 110 or "L3 storage") within a storage subsystem 112. As an example, storage devices 110 may be a part of a storage array within the storage sub-system 112.
Storage devices 110 are used by the storage system 108 for storing information. The storage devices 110 may include writable storage device media such as magnetic disks, video tape,
optical, DVD, magnetic tape, non-volatile memory devices for example, self-encrypting drives, flash memory devices and any other similar media adapted to store information. The storage devices 110 may be organized as one or more groups of Redundant Array of Independent (or Inexpensive) Disks (RAID) . The various aspects disclosed herein are not limited to any particular storage device or storage device configuration.
[0030] In one aspect, to facilitate access to storage devices 110, a storage operating system of storage system 108
"virtualizes" the storage space provided by storage devices 110.
The storage system 108 can present or export data stored at storage devices 110 to server systems 104 and VMM 121 as a storage volume or one or more qtree sub-volume units including logical unit numbers (LUNs) . Each storage volume may be
configured to store data files (or data containers or data units), scripts, word processing documents, executable programs, and any other type of structured or unstructured data. From the perspective of the VMS/server systems, each volume can appear to be a single disk drive. However, each volume can represent the storage space in one disk, an aggregate of some or all of the storage space in multiple disks, a RAID group, or any other suitable set of storage space.
[ 0031 ] It is noteworthy that the term "disk" as used herein is intended to mean any storage device/space and not to limit the adaptive aspects to any particular type of storage device, for example, hard disks.
[ 0032 ] The storage system 108 may be used to store and manage information at storage devices 110 based on a request generated by server system 104, management system 118, user 102 and/or a VM. The request may be based on file-based access protocols, for example, the CIFS or the NFS protocol, over TCP/IP.
Alternatively, the request may use block-based access protocols, for example, iSCSI or FCP.
[ 0033 ] As an example, in a typical mode of operation, server system 104 (or VMs 113A-113N) transmits one or more input/output (I/O) commands, such as an NFS or CIFS request, over connection system 116 to the storage system 108. Storage system 108 receives the request, issues one or more I/O commands to storage devices 110 to read or write the data on behalf of the server system 104, and issues an NFS or CIFS response containing the requested data over the connection system 116 to the respective server system 104.
[ 0034 ] In one aspect, storage system 108 may have a distributed architecture, for example, a cluster based system that may include a separate network module and storage module, described below in detail with respect to Figure 2A. Briefly, the network module is used to communicate with server systems 104 and management system 118, while the storage module is used to communicate with the storage devices 110.
[ 0035 ] Persistent Memory Based File System: Figure IB shows a block diagram of a system where a persistent memory (PM) based file system (FS1) 144 is executed out of a PM 142 of a host system 140. The host system 140 may be similar to servers 104 described above and interfaces with the storage system 108 that executes a storage operating system 150 with a file system (may be referred to as a second file system) . FS1 144 stores data units 146 at PM 142. The data units may be stored for client applications and other processes executed by host system 140. A snapshot 148 is taken by FS1 144 and may be stored at PM 142, as described below in detail. The term snapshot means a point-in time copy that captures a state of a file system at any given time. Snapshot 148 is a point in time copy of data units 146 stored at PM 142 by FS1 144.
[0036] The storage devices 110 managed by the storage operating system 150 store data units and associated metadata 152 using one or more LUNs/volumes . The storage devices 110 also store snapshot 154 of the active FS1 144 of host system 140, as described below in detail.
[0037] In one aspect, the system of Figure IB uses two storage tiers; a memory addressable first tier (PM 142) and a block addressable second tier (storage devices 110) . FS1 144 manages the first tier (i.e. PM 142) and the storage operating system 150 manages the second tier (i.e. storage devices 110) .
[0038] When an application writes data, the data is first written to the first tier 142 as data units 146 and the write operation is acknowledged. The data units are then written to the second tier 110, when space in the first tier reaches a certain threshold level, to prevent repeated overwrites from getting written to the second tier.
[0039] At any given time, a first portion of file system data (i.e. data units stored by FS1 144) (e.g. X%) may be present in the first tier and a second portion is stored at the second tier, managed by storage operating system 150. To take a snapshot of all the data units, a snapshot operation has to take a point in time copy of data units that span across both storage tiers. This involves writing data that is present in the first tier to the second tier and then taking a snapshot of the second tier. The amount of time it takes to flush data to the second tier is proportional to the size of the first tier and the bandwidth available to write the data to the second tier. To flush the data units from the first tier to the second tier, any I/O ( Input/output ) requests are fenced (or held) until a flush operation has been completed.
[0040] To reduce the amount of time application I/O requests are fenced, the systems and processes disclosed herein take a snapshot of the first tier and then unfences new and pending I/O requests i.e. application requests for reading and writing data are executed. Subsequently, only the data units present in the snapshot and not yet written to the second tier have to be written to the second tier. It is noteworthy that it is not enough to write the data blocks to second tier during the snapshot operation, metadata associated with the data blocks is also written.
[0041] The snapshot at the second tier includes the snapshot of the first tier with both data units and associated metadata. The snapshot of the second tier can be used for different reasons, including, data protection, remote protection using SnapMirror (without derogation of any trademark rights), clones, and for restore operations. A restore operation regenerates the first tier with metadata blocks included in the second tier snapshot and enables read/write access to data by FS1 144.
[0042] It is noteworthy that snapshots in the first tier can use limited PM 142 pages. To prevent excessive usage of PM pages in the first tier, snapshots of the first tier that have been written to the second tier may be deleted, as described below in detail .
[0043] Process Flow: Figure 1C shows a process flow 156, according to one aspect of the present disclosure. Process 156 begins in block B158 when the host system 140 and the storage system 108 are initialized and operational. Before taking a FS1 144 based snapshot, an optional block B160 is executed. Block B160, reduces the number of data units that have a valid copy at
PM 142 (also referred to as L2 storage of first tier storage) but have not been transferred or flushed to a LUN at storage devices 110 (also referred to as L3 storage or second tier storage) . FS1 144 typically operates by writing to PM 142 and then acknowledging modifications to an application that
initiates write operations. The data unit that is written by FS1 144 is not immediately written out to storage device 110 for performance reasons. In block B160, the number of data units that are still at PM 142 are flushed to storage devices 110, which reduces the time to take a snapshot of PM 142 that stores data units 146. Block B160 is executed before a snapshot is taken of PM 142.
[ 0044 ] In block B162, a snapshot (referred to as L2 snap-1 (Figures 1D-1E) is taken by FS1 144. In one aspect, before taking the snapshot, any I/O request by one or more applications is fenced (i.e. held) to complete the snapshot operation by FS1 144. The amount of time it takes to write data to the LUNs at storage devices 110 is proportional to the amount of data units at PM 142. By taking an instantaneous snapshot in the PM-based filesystem, I/Os can be unfenced quickly.
[ 0045 ] After the snapshot is taken, in block B164, the metadata for the data units in L2 snapshot is encoded and written to storage devices 110. The metadata includes timestamps, access rights, a unique identifier for the snapshot, storage location of the snapshot, size of the snapshot, number of data units or any other information (pointers, links and others) that may be needed to restore data units and metadata associated with the data units from the snapshot. The metadata is encoded such that the metadata can be represented from a memory representation of PM 142 to a block representation at storage devices 110. This may be accomplished by encoding block numbers as offsets within the metadata. Metadata encoding details are also provided in US Patent No. 9, 678, 670, the disclosure of which is incorporated herein by reference in its entirety. In one aspect, the data blocks that belong to the snapshot taken by FS1 144 are
identified. The data units are written to a pre-determined offset at LUNs of storage devices 110, if the units were not written earlier in block B160. It is noteworthy that only incremental data units across different snapshots are written to the LUNs at storage devices 110. The data units written to the LUNs are compressed, compacted and deduplicated. After writing the data blocks to the LUNs, the metadata blocks belonging to the snapshot are encoded in a similar fashion and written to the LUNs .
[0046] In block B166, a snapshot of the LUNs at storage device 110 is taken. This snapshot is referred to as L3 snap-1 (Figures 1D-1E) . In one aspect, the LUN based snapshot is taken after the data units and the metadata blocks of the PM-filesystem snapshot (L2 snap-1) have been flushed to the LUNs of storage devices 110. The L3 snapshot is uniquely identified and indicates that the FS1 144 snapshot is included in it. Each snapshot of the LUNs of storage device 110 may have multiple FS1 144 snapshots. The FS1 144 snapshots metadata links the valid PM-filesystem snapshots in a L3 snapshot.
[0047] In block B168, the FS1 144 based snapshot or its data units may be optionally deleted. This reclaims storage space at
PM 142. [0048] In block B170, storage blocks for LUNs at the storage devices 110 are released if they are no longer referenced by the deleted snapshot.
[0049] In block B172, optionally, reverse transform the snapshot data units within the L3 snap-1 to the FS1 144. To access (read and write) the data units stored at storage devices 110, a writeable copy of the LUNs is created and the FS1 144 metadata stored at the LUNs is transformed to a new FS1 144 instance.
[0050] Figure ID shows an example of the process blocks of Figure 1C without the steps involved in block B170. Figure IE shows an example of the process blocks of Figure 1C without the steps involved in block B172.
[0051] Figure IF shows an example, where snapshots are left at the host system. This allows for faster lookups in L2 snap-1, faster recovery to snap-1 and faster snapshot operation for a next snapshot.
[0052] Figure ID shows the various process blocks of Figure 1C between time tl and time t6. At time tl, the L2 active file system (AFS) 161 (L2 AFS 161) has a metadata node 151 and data units 153, 155 and 157. Data unit 155 has been transferred to a LUN at storage device 110 managed by L3 AFS 167. Between time tl and t2, the L2 snap-1 159 has been taken. The user has also written to block 165 with root node 163. Between time t2 and t3, the metadata 151 and data units 153, 155 and 157 have been transferred to the LUNs at L3 storage.
[ 0053 ] Between t3 and t4, a snapshot 169 of the L3 LUN is taken. The L3 AFS still retains 151, 153, 155 and 157 blocks. Between t4 and t5, a delete process to delete the snapshot is initiated. Between t5 and t6, the L2 AFS uses root node 163 and blocks 165, 155 and 157. The L3 AFS still retains 151, 153, 155 and 157 and hence use extra storage space at L3 storage.
[ 0054 ] Figure IE shows all the process blocks of Figure ID but also shows at time t6 that blocks 151 and 153 are released since they are no longer referenced by the L2 AFS and the L3 snap-1 has all the data units of L2 snap-1.
[ 0055 ] In one aspect, methods and systems for a networked storage system is provided. One method includes creating a first snapshot for data units stored at a persistent memory of a computing device, the data units managed by a first file system; transferring metadata associated with the data units and the data units stored at the persistent memory to a storage device managed by a second file system using a logical object, the second file system executed by a storage system interfacing with the computing device; and generating a second snapshot of the logical object at the storage device, the second snapshot including data units and associated metadata of the first snapshot . [ 0056 ] Clustered Storage System: Figure 2A depicts an illustrative aspect of a shared, storage environment 200 using the L3 storage described above. The shared, storage environment 200 includes the management system 118, a plurality of server systems 204.1-204.2 (similar to server systems 104), a clustered storage system 202 and at least one computer network 206
communicably connecting the server systems 204.1-204.2 and the clustered storage system 202.
[ 0057 ] The clustered storage system 202 includes a plurality of nodes 208.1-208.3, a cluster switching fabric 210, and a
plurality of mass storage devices 212.1-212.3 (similar to 110, Figure 1A) . Each of the plurality of nodes 208.1-208.3 is configured to include a network module, a storage module, and a management module, each of which can be implemented as a
separate processor executable or machine implemented module.
Specifically, node 208.1 includes a network module 214.1, a storage module 216.1, and a management module 218.1, node 208.2 includes a network module 214.2, a storage module 216.2, and a management module 218.2, and node 208.3 includes a network module 214.3, a storage module 216.3, and a management module 218.3.
[ 0058 ] The network modules 214.1-214.3 include functionality that enables the respective nodes 208.1-208.3 to connect to one or more of the client systems 204.1-204.2 over the computer network 206, while the storage modules 216.1-216.3 connect to one or more of the storage devices 212.1-212.3.
[0059] The management modules 218.1-218.3 provide management functions for the clustered storage system 202. Accordingly, each of the plurality of server nodes 208.1-208.3 in the
clustered storage server arrangement provides the functionality of a storage server.
[0060] A switched virtualization layer including a plurality of virtual interfaces (VIFs) 220 is provided below the interface between the respective network modules 214.1-214.3 and the client systems 204.1-204.2, allowing storage 212.1-212.3
associated with the nodes 208.1-208.3 to be presented to the client systems 204.1-204.2 as a single shared storage pool. For example, the switched virtualization layer may implement a virtual interface architecture. Figure 2A depicts only the VIFs 220 at the interfaces to the network modules 214.1, 214.3 for clarity of illustration.
[0061] The clustered storage system 202 can be organized into any suitable number of virtual servers (VServer or storage virtual machines (SVM) ) 222A-222N, in which each virtual storage system represents a single storage system namespace with
separate network access. Each virtual storage system has a user domain and a security domain that are separate from the user and security domains of other virtual storage systems. Server systems 204 can access storage space via a VServer from any node of the clustered system 202.
[0062] Each of the nodes 208.1-208.3 may be defined as a computer adapted to provide application services to one or more of the client systems 204.1-204.2. In this context, a SVM is an instance of an application service provided to a client system. The nodes 208.1-208.3 are interconnected by the switching fabric 210, which, for example, may be embodied as a Gigabit Ethernet switch or any other switch type.
[0063] Although Figure 2A depicts three network modules 214.1-
214.3, the storage modules 216.1-216.3, and the management modules 218.1-218.3, any other suitable number of network modules, storage modules, and management modules may be
provided. There may also be different numbers of network modules, storage modules, and/or management modules within the clustered storage system 202. For example, in alternative aspects, the clustered storage system 202 may include a
plurality of network modules and a plurality of storage modules interconnected in a configuration that does not reflect a one- to-one correspondence between the network modules and storage modules .
[0064] The server systems 204.1-204.2 of Figure 2A may be implemented as computing devices configured to interact with the respective nodes 208.1-208.3 in accordance with a client/server model of information delivery. In the presently disclosed aspect, the interaction between the server systems 204.1-204.2 and the nodes 208.1-208.3 enable the provision of network data storage services. Specifically, each server system 204.1, 204.2 may request the services of one of the respective nodes 208.1, 208.2, 208.3, and that node may return the results of the services requested by the client system by exchanging packets over the computer network 206, which may be wire-based, optical fiber, wireless, or any other suitable combination thereof. The server systems 204.1-204.2 may issue packets according to file- based access protocols, such as the NFS or CIFS protocol, when accessing information in the form of files and directories.
[ 0065 ] In a typical mode of operation, one of the server systems
204.1-204.2 transmits an NFS or CIFS request for data to one of the nodes 208.1-208.3 within the clustered storage system 202, and the VIF 220 associated with the respective node receives the client request. It is noted that each VIF 220 within the clustered system 202 is a network endpoint having an associated IP address. The server request typically includes a file handle for a data file stored in a specified volume on at storage
212.1-212.3.
[ 0066 ] Storage System Node: Figure 2B is a block diagram of a computing system 224, according to one aspect. System 224 may be used by a stand-alone storage system 108 and/or a storage system node operating within a cluster based storage system described above with respect to Figure 2A.
[0067] System 224 may include a plurality of processors 226A and 226B, a memory 228, a network adapter 234, a cluster access adapter 238 (used for a cluster environment) , a storage adapter 240 and local storage 236 interconnected by a system bus 232.
The local storage 236 comprises one or more storage devices, such as disks, utilized by the processors to locally store configuration and other information.
[0068] The cluster access adapter 238 comprises a plurality of ports adapted to couple system 224 to other nodes of a cluster as described above with respect to Figure 2A. In the
illustrative aspect, Ethernet may be used as the clustering protocol and interconnect media, although it will be apparent to those skilled in the art that other types of protocols and interconnects may be utilized within the cluster architecture described herein.
[0069] System 224 is illustratively embodied as a dual processor storage system executing a storage operating system 230 (or 150, Figure IB) that preferably implements a high-level module, such as a file system, to logically organize information as a
hierarchical structure of named directories, files and special types of files called virtual disks (hereinafter generally
"blocks") on storage devices 110/212. However, it will be apparent to those of ordinary skill in the art that the system
224 may alternatively comprise a single or more than two
processor systems. Illustratively, one processor 226 executes the functions of a network module on a node, while the other processor 226B executes the functions of a storage module.
[ 0070 ] The memory 228 illustratively comprises storage locations that are addressable by the processors and adapters for storing programmable instructions and data structures. The processor and adapters may, in turn, comprise processing elements and/or logic circuitry configured to execute the programmable
instructions and manipulate the data structures. It will be apparent to those skilled in the art that other processing and memory means, including various computer readable media, may be used for storing and executing program instructions described herein.
[ 0071 ] The storage operating system 230, portions of which is typically resident in memory and executed by the processing elements, functionally organizes the system 224 by, inter alia, invoking storage operations in support of the storage service provided by storage system 108. An example of operating system 230 is the DATA ONTAP ® (Registered trademark of NetApp, Inc. operating system available from NetApp, Inc. that implements a Write Anywhere File Layout (WAFL® (Registered trademark of
NetApp, Inc.)) 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 "ONTAP" is employed, it should be taken broadly to refer to any storage operating system that is otherwise adaptable to the teachings of this invention .
[ 0072 ] The network adapter 234 comprises a plurality of ports adapted to couple the system 224 to one or more server systems over point-to-point links, wide area networks, virtual private networks implemented over a public network (Internet) or a shared local area network. The network adapter 234 thus may comprise the mechanical, electrical and signaling circuitry needed to connect storage system 108 to the network.
Illustratively, the computer network may be embodied as an Ethernet network or a FC network.
[ 0073 ] The storage adapter 240 cooperates with the storage operating system 230 executing on the system 224 to access information requested by the server systems 104 and management system 118 (Figure 1A) . 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, flash memory devices, micro electro mechanical and any other similar media adapted to store information, including data and parity information. [0074] The storage adapter 240 comprises a plurality of ports having input/output (I/O) interface circuitry that couples to the disks over an I/O interconnect arrangement, such as a conventional high-performance, FC link topology.
[0075] In another aspect, instead of using a separate network and storage adapter, a converged adapter is used to process both network and storage traffic.
[0076] Operating System: Figure 3 illustrates a generic example of operating system 230 executed by storage system 108,
according to one aspect of the present disclosure. Storage operating system 230 interfaces with the management system 118 and file system 144.
[0077] As an example, operating system 230 may include several modules, or "layers". These layers include a file system manager 303 (e.g. L3 AFS) that keeps track of a directory structure (hierarchy) of the data stored in storage devices and manages read/write operations, i.e. executes read/write
operations on disks in response to server system 104/140 (Figure IB) requests.
[0078] Operating system 230 may also include a protocol layer
303 and an associated network access layer 305, to allow system 200 to communicate over a network with other systems, such as server system 104 and management system 118. Protocol layer 303 may implement one or more of various higher-level network protocols, such as NFS, CIFS, Hypertext Transfer Protocol
(HTTP) , TCP/IP and others, as described below.
[ 0079 ] Network access layer 305 may include one or more drivers, which implement one or more lower-level protocols to communicate over the network, such as Ethernet. Interactions between server systems 104 and mass storage devices 110/212 are illustrated schematically as a path, which illustrates the flow of data through operating system 230.
[ 0080 ] The operating system 230 may also include a storage access layer 307 and an associated storage driver layer 309 to communicate with a storage device. The storage access layer 307 may implement a higher-level disk storage protocol, such as RAID (redundant array of inexpensive disks), while the storage driver layer 309 may implement a lower-level storage device access protocol, such as FC or SCSI.
[ 0081 ] It should be noted that the software "path" through the operating system layers described above needed to perform data storage access for a client request may alternatively be
implemented in hardware. That is, in an alternate aspect of the disclosure, the storage access request data path may be
implemented as logic circuitry embodied within a field
programmable gate array (FPGA) or an ASIC. This type of hardware implementation increases the performance of the file service provided by storage system 108. [ 0082 ] As used herein, the term "storage operating system" generally refers to the computer-executable code operable on a computer to perform a storage function that manages data access and may implement data access semantics of a general purpose operating system. The storage operating system can also be implemented as a microkernel, an application program operating over a general-purpose operating system, such as UNIX® or as a general-purpose operating system with configurable
functionality, which is configured for storage applications as described herein.
[ 0083 ] In addition, it will be understood to those skilled in the art that the invention described herein may apply to any type of special-purpose (e.g., file server, filer or storage serving appliance) or general-purpose computer, including a standalone computer or portion thereof, embodied as or including a storage system. Moreover, the teachings of this disclosure can be adapted to a variety of storage system architectures including, but not limited to, a network-attached storage environment, a storage area network and a 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. [0084] Processing System: Figure 4 is a high-level block diagram showing an example of the architecture of a processing system, at a high level, in which executable instructions as described above can be implemented. The processing system 400 can
represent modules of host system 140, management system 118, user console 102, server systems 104, and others. Note that certain standard and well-known components which are not germane to the present invention are not shown in Figure 4.
[0085] The processing system 400 includes one or more processors 402 and memory 404, coupled to a bus system 405. The bus system
405 shown in Figure 4 is an abstraction that represents any one or more separate physical buses and/or point-to-point
connections, connected by appropriate bridges, adapters and/or controllers. The bus system 405, therefore, may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB) , or an Institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus (sometimes referred to as "Firewire") .
[0086] The processors 402 are the central processing units
(CPUs) of the processing system 400 and, thus, control its overall operation. In certain aspects, the processors 402 accomplish this by executing programmable instructions stored in memory 404. A processor 402 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices .
[ 0087 ] Memory 404 represents any form of random access memory (RAM) , read-only memory (ROM) , flash memory, or the like, or a combination of such devices. Memory 404 includes the main memory of the processing system 400. Instructions 406 which implements techniques introduced above may reside in and may be executed (by processors 402) from memory 404. For example, instructions 406 may include code for executing the process blocks of Figure 1C. Memory 404 may be similar to PM 142 storing data units and FS 1 144.
[ 0088 ] A1so connected to the processors 402 through the bus system 405 are one or more internal mass storage devices 410, and a network adapter 412. Internal mass storage devices 410 may be or may include any conventional medium for storing large volumes of data in a non-volatile manner, such as one or more magnetic or optical based disks. The network adapter 412 provides the processing system 400 with the ability to
communicate with remote devices (e.g., storage servers) over a network and may be, for example, an Ethernet adapter, a FC adapter, or the like. The processing system 400 also includes one or more input/output (I/O) devices 408 coupled to the bus system 405. The I/O devices 408 may include, for example, a display device, a keyboard, a mouse, etc.
[ 0089 ] Thus, methods and systems for protecting data have been described. Note that references throughout this specification to "one aspect" or "an aspect" mean that a particular feature, structure or characteristic described in connection with the aspect is included in at least one aspect of the present
invention. Therefore, it is emphasized and should be appreciated that two or more references to "an aspect" or "one aspect" or "an alternative aspect" in various portions of this
specification are not necessarily all referring to the same aspect. Furthermore, the particular features, structures or characteristics being referred to may be combined as suitable in one or more aspects of the present disclosure, as will be recognized by those of ordinary skill in the art.
[ 0090 ] While the present disclosure is described above with respect to what is currently considered its preferred aspects, it is to be understood that the disclosure is not limited to that described above. To the contrary, the disclosure is
intended to cover various modifications and equivalent
arrangements within the spirit and scope of the appended claims.

Claims

What is Claimed is:
1. A method, comprising;
transferring at a first time via a network connection, valid data units stored at a persistent memory of a computing device managed by a first file system to a storage device of a storage system managed by a second file system;
generating by the first file system, at a second time, a first snapshot of data units remaining at the persistent memory after the first time;
transferring at a third time, metadata for data units in the first snapshot, metadata associated with data units remaining at the persistent memory between the second and third time, and the data units remaining at the persistent memory between the second and third time;
generating a second snapshot of a logical object at the storage device by the second file system, the second snapshot including the transferred metadata and data units transferred at the first time and the third time; and
deleting the first snapshot at the computing device, after the second snapshot is generated and releasing storage blocks from the persistent memory associated with the first snapshot.
2. The method of Claim 1, further comprising:
using the second snapshot for restoring data units and the associated metadata for use by the first file system.
3. The method of Claim 1, wherein after the second snapshot and upon deleting the first snapshot, data blocks at the storage device associated with data units of the first snapshot are released.
4. The method of Claim 1, wherein the metadata for the first snapshot is encoded before being transferred to the second storage device.
5. The method of Claim 1, wherein the first snapshot is retained at the first snapshot and a subsequent snapshot taken by the first file system after the second snapshot is deleted.
6. The method of Claim 1, wherein the storage system is a clustered system having a network component interfacing with the computing device and a storage component that manages the storage device.
7. The method of Claim 1, wherein a request for a data unit associated with the first snapshot is held while the first snapshot is being taken by the first file system.
8. A non-transitory machine readable storage medium having stored thereon instructions for performing a method, comprising machine executable code which when executed by at least one machine, causes the machine to: transfer at a first time via a network connection, valid data units stored at a persistent memory of a computing device managed by a first file system to a storage device of a storage system managed by a second file system;
generate by the first file system, at a second time, a first snapshot of data units remaining at the persistent memory after the first time;
transfer at a third time, metadata for data units in the first snapshot, metadata associated with data units remaining at the persistent memory between the second and third time, and the data units remaining at the persistent memory between the second and third time;
generate a second snapshot of a logical object at the storage device by the second file system, the second snapshot including the transferred metadata and data units transferred at the first time and the third time; and
delete the first snapshot at the computing device, after the second snapshot is generated and releasing storage blocks from the persistent memory associated with the first snapshot.
9. The non-transitory machine readable storage medium of Claim 8, wherein the second snapshot is used for restoring data units and the associated metadata for use by the first file system.
10. The non-transitory machine readable storage medium of Claim 8, wherein after the second snapshot and upon deleting the first snapshot, data blocks at the storage device associated with data units of the first snapshot are released.
11. The non-transitory machine readable storage medium of Claim 8, wherein the metadata for the first snapshot is encoded before being transferred to the second storage device .
12. The non-transitory machine readable storage medium of Claim 8, wherein the first snapshot is retained at the first snapshot and a subsequent snapshot taken by the first file system after the second snapshot is deleted.
13. The non-transitory machine readable storage medium of Claim 8, wherein the storage system is a clustered system having a network component interfacing with the computing device and a storage component that manages the storage device .
14. The non-transitory machine readable storage medium of Claim 8, wherein a request for a data unit associated with the first snapshot is held while the first snapshot is being taken by the first file system.
15. A system comprising:
a memory containing machine readable medium comprising machine executable code having stored thereon instructions; and a processor module coupled to the memory to execute the machine executable code to:
transfer at a first time via a network connection, valid data units stored at a persistent memory of a computing device managed by a first file system to a storage device of a storage system managed by a second file system;
generate by the first file system, at a second time, a first snapshot of data units remaining at the persistent memory after the first time;
transfer at a third time, metadata for data units in the first snapshot, metadata associated with data units remaining at the persistent memory between the second and third time, and the data units remaining at the persistent memory between the second and third time;
generate a second snapshot of a logical object at the storage device by the second file system, the second snapshot including the transferred metadata and data units transferred at the first time and the third time; and
delete the first snapshot at the computing device, after the second snapshot is generated and releasing storage blocks from the persistent memory associated with the first snapshot.
16. The system of Claim 15, wherein the second snapshot is used for restoring data units and the associated metadata for use by the first file system.
17. The system of Claim 15, wherein after the second snapshot and upon deleting the first snapshot, data blocks at the storage device associated with data units of the first snapshot are released.
18. The system of Claim 15, wherein the metadata for the first snapshot is encoded before being transferred to the second storage device.
19. The system of Claim 15, wherein the first snapshot is retained at the first snapshot and a subsequent snapshot taken by the first file system after the second snapshot is deleted.
20. The system of Claim 15, wherein a request for a data unit associated with the first snapshot is held while the first snapshot is being taken by the first file system.
PCT/US2019/041069 2018-08-09 2019-07-09 Methods and systems for protecting data of a persistent memory based file system WO2020033093A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862716846P 2018-08-09 2018-08-09
US62/716,846 2018-08-09
US16/193,414 US11010335B2 (en) 2018-08-09 2018-11-16 Methods and systems for protecting data of a persistent memory based file system
US16/193,414 2018-11-16

Publications (1)

Publication Number Publication Date
WO2020033093A1 true WO2020033093A1 (en) 2020-02-13

Family

ID=69405977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2019/041069 WO2020033093A1 (en) 2018-08-09 2019-07-09 Methods and systems for protecting data of a persistent memory based file system

Country Status (2)

Country Link
US (1) US11010335B2 (en)
WO (1) WO2020033093A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112685360B (en) * 2020-12-29 2023-09-22 湖北华中电力科技开发有限责任公司 Method and device for persistence of memory data, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030158862A1 (en) * 2002-02-15 2003-08-21 International Business Machines Corporation Standby file system with snapshot feature
US20130275674A1 (en) * 2010-02-25 2013-10-17 Netapp, Inc. Method and system for performing recovery in a storage system
US9678670B2 (en) 2014-06-29 2017-06-13 Plexistor Ltd. Method for compute element state replication

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249356B1 (en) * 1999-04-29 2007-07-24 Fisher-Rosemount Systems, Inc. Methods and structure for batch processing event history processing and viewing
US6934822B2 (en) 2002-08-06 2005-08-23 Emc Corporation Organization of multiple snapshot copies in a data storage system
US6928526B1 (en) * 2002-12-20 2005-08-09 Datadomain, Inc. Efficient data storage system
US7529782B2 (en) * 2003-11-13 2009-05-05 Commvault Systems, Inc. System and method for performing a snapshot and for restoring data
WO2010114933A1 (en) * 2009-03-31 2010-10-07 Napera Networks Using in-the-cloud storage for computer health data
US8364920B1 (en) 2009-04-06 2013-01-29 Network Appliance, Inc. System and method for transferring and backing up luns and lun clones on primary and secondary servers
US8484164B1 (en) * 2009-10-23 2013-07-09 Netapp, Inc. Method and system for providing substantially constant-time execution of a copy operation
US8396833B2 (en) * 2010-09-10 2013-03-12 International Business Machines Corporation Inode management in redirect-on-write file system
US8370300B2 (en) 2011-05-05 2013-02-05 Hitachi, Ltd. Method and apparatus of data protection
US8977602B2 (en) * 2012-06-05 2015-03-10 Oracle International Corporation Offline verification of replicated file system
US9928246B1 (en) 2014-03-31 2018-03-27 EMC IP Holding Company LLC Managing snapshots of data
US9892041B1 (en) * 2014-09-30 2018-02-13 Veritas Technologies Llc Cache consistency optimization
US10678651B1 (en) * 2014-12-30 2020-06-09 Acronis International Gmbh Backing up a virtual machine using a snapshot with memory
US10152493B1 (en) * 2015-06-30 2018-12-11 EMC IP Holding Company LLC Dynamic ephemeral point-in-time snapshots for consistent reads to HDFS clients
US10606803B2 (en) 2016-06-28 2020-03-31 Netapp, Inc. Data cloning in memory-based file systems
US10649856B2 (en) * 2017-09-01 2020-05-12 International Business Machines Corporation Concurrent writing to a file during backup of the file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030158862A1 (en) * 2002-02-15 2003-08-21 International Business Machines Corporation Standby file system with snapshot feature
US20130275674A1 (en) * 2010-02-25 2013-10-17 Netapp, Inc. Method and system for performing recovery in a storage system
US9678670B2 (en) 2014-06-29 2017-06-13 Plexistor Ltd. Method for compute element state replication

Also Published As

Publication number Publication date
US20200050681A1 (en) 2020-02-13
US11010335B2 (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US20230171195A1 (en) Methods and systems for managing quality of service in a networked storage environment
EP4053702A1 (en) Methods and systems for raid protection in zoned solid-state drives
US10558531B2 (en) Systems and methods for backup and restore of master-less distributed database clusters
US9483402B2 (en) Methods and systems for dynamically controlled caching
US8966476B2 (en) Providing object-level input/output requests between virtual machines to access a storage subsystem
US8954789B2 (en) Method and system for performing recovery in a storage system
US9575792B2 (en) Method and system for replicating virtual machines
US8869145B1 (en) Method and system for managing storage for virtual machines
US8954718B1 (en) Caching system and methods thereof for initializing virtual machines
US9965195B2 (en) Methods and systems for efficiently storing data at a plurality of storage tiers using a transfer data structure
US11816359B2 (en) Scalable solid-state storage system and methods thereof
US9729660B2 (en) Method and system for detecting virtual machine migration
US11593229B2 (en) Data protection methods and systems for a networked storage environment
US20230376392A1 (en) Network Storage Failover Systems and Associated Methods
US11010335B2 (en) Methods and systems for protecting data of a persistent memory based file system
US11216350B2 (en) Network storage failover systems and associated methods
US11269744B2 (en) Network storage failover systems and associated methods
US11714731B2 (en) Failover methods and system in a networked storage environment
US20240028262A1 (en) Scalable Solid-State Storage System and Methods Thereof
US11886714B2 (en) Hierarchical consistency group for storage and associated methods thereof
US20200334165A1 (en) Methods and systems for managing storage device space
WO2023113944A1 (en) Scalable solid-state storage system and methods thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19749039

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19749039

Country of ref document: EP

Kind code of ref document: A1