US20080222223A1 - Storage allocation in a distributed segmented file system - Google Patents

Storage allocation in a distributed segmented file system Download PDF

Info

Publication number
US20080222223A1
US20080222223A1 US12/125,713 US12571308A US2008222223A1 US 20080222223 A1 US20080222223 A1 US 20080222223A1 US 12571308 A US12571308 A US 12571308A US 2008222223 A1 US2008222223 A1 US 2008222223A1
Authority
US
United States
Prior art keywords
file
server
data
file system
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/125,713
Inventor
Sudhir Srinivasan
Steven A. Orszag
Philip Eric Jackson
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HP Inc
Hewlett Packard Development Co LP
Original Assignee
Ibrix 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
Priority claimed from US09/950,555 external-priority patent/US6782389B1/en
Application filed by Ibrix Inc filed Critical Ibrix Inc
Priority to US12/125,713 priority Critical patent/US20080222223A1/en
Publication of US20080222223A1 publication Critical patent/US20080222223A1/en
Assigned to IBRIX, INC. reassignment IBRIX, INC. MERGER (SEE DOCUMENT FOR DETAILS). Assignors: INDIA ACQUISITION CORPORATION
Assigned to HEWLETT-PACKARD COMPANY reassignment HEWLETT-PACKARD COMPANY MERGER (SEE DOCUMENT FOR DETAILS). Assignors: IBRIX, INC.
Assigned to HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. reassignment HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HEWLETT-PACKARD COMPANY
Assigned to HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. reassignment HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. CORRECTIVE ASSIGNMENT PREVIUOSLY RECORDED ON REEL 027329 FRAME 0001 AND 0044. Assignors: HEWLETT-PACKARD COMPANY
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability

Definitions

  • the present invention concerns computer storage and file systems. More specifically, the present invention concerns techniques for managing and using a distributed storage system.
  • file systems Data generated by, and for use by, computers is stored in file systems.
  • the design of file systems has evolved in the last two decades, basically from a server-centric model (which can be thought of as a local file system), to a storage-centric model (which can be thought of as a networked file system).
  • SAS server attached storage
  • NAS network attached storage
  • NFS network file system protocol
  • Network file systems like NFS and CIFS are layered protocols that allow a client to request a particular file from a pre-designated server.
  • the client's operating system translates a file access request to the NFS or DFS format and forwards it to the server.
  • the server processes the request and in turn translates it to a local file system call that accesses the information on magnetic disks or other storage media.
  • the disadvantage of this technology is that a file system cannot expand beyond the limits of single NAS machine. Consequently, administering and maintaining more than a few NAS units, and consequently more than a few file systems, becomes difficult.
  • NASs can be thought of as a server-centric file system model.
  • SANs Storage area networks
  • SANs provide a simple technology for managing a cluster or group of disk-storage units, effectively pooling such units.
  • SANs use a front-end system, which can be a NAS or a traditional server.
  • SANs are (i) easy to expand, (ii) permit centralized management and administration of the pool of disk storage units, and (iii) allow the pool of disk storage units to be shared among a set of front-end server systems.
  • SANs enable various data protection/availability functions such as multi-unit mirroring with failover for example. Unfortunately, however, SANs are expensive.
  • SANs permit space to be shared among front-end server systems, they do not permit multiple SANs environments to use the same file system.
  • SANs pool storage, they basically behave as a server-centric file system. That is, a SAN behaves like a fancy (e.g., with advanced data protection and availability functions) disk drive on a system. Also, various incompatible versions of SANs have emerged.
  • the present invention may provide methods, apparatus and data structures for providing a file system which meets various needs.
  • a distributed file system in which files are distributed across more than one file server and in which each file server has physical storage media may be provided.
  • the present invention can determine a particular file server to which a file system call pertains by (a) accepting a file system call including a file identifier, (b) determining a contiguous unit of the physical storage media of the file servers of the distributed file system based on the file identifier, (c) determining the file server having the physical storage media that contains the determined contiguous unit, and (d) forwarding a request, based on the file system call accepted, to the file server determined to have the physical storage media that contains the determined contiguous unit.
  • the file identifier may be an Inode number and the contiguous unit may be a segment.
  • the file server having the physical storage media that contains the determined contiguous unit may be determined by a table, administered globally across the file system, that maps the contiguous unit to (the (e.g., IP) address of) the file server.
  • the invention provides a method of associating data with a file server from among a plurality of file servers in a distributed-file system, the method including receiving a communication at a first file server among the plurality of file servers in the distributed-file system, the communication pertaining to data to be stored in the distributed-file system, the data being associated with a file-system portion of the distributed-file system controlled by a second file server, and storing the data under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features.
  • the second server is separate from the first server.
  • the third file server is the first file server.
  • the method further includes notifying the second server of a storage location of the portion of data.
  • the method further includes choosing the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
  • the method further includes choosing a location for storing the data dependent upon amounts of free storage space and free data identifiers.
  • the method further includes choosing a location for storing the data dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server.
  • the method further includes choosing a location for storing the data dependent upon at least one affinity group associating a client with a preferred segment.
  • the method further includes choosing the third file server at least one of randomly and following a pre-determined pattern, the choosing being from one of all the file servers and a subset of the file servers.
  • Implementations of the invention may also include one or more of the following features.
  • the storing is performed in accordance with at least one of a plurality of available non-hierarchical storage policies.
  • the method further includes selecting a policy for the storing from the plurality of available storage policies. The selecting is performed on at least one of a per file, per request, and a per directory basis.
  • the method further includes altering the plurality of available storage policies.
  • the plurality of available storage policies includes storing data dependent upon at least two of (1) amounts of free storage space and free data identifiers, (2) relative amounts of free storage space and free data identifiers on a base file server and a possible controlling server, (3) at least one afficinity group associating an application with a preferred segment, and (4) a random selection.
  • the invention provides an apparatus for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the apparatus being disposed in a first file server of the plurality of file servers and comprising a memory that stores computer-readable, computer-executable instructions, and a processor coupled to the memory and configured to read and execute the instructions to: determine that a communication is received pertaining to data to be stored in the distributed-file system, and that the data are associated with a file-system portion of the distributed-file system controlled by a second file server; and cause the data to be stored under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features.
  • the second server is separate from the first server.
  • the third file server is the first file server.
  • the processor is configured to notify the second server of a storage location of the portion of data.
  • the processor is configured to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
  • the processor is configured to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
  • Implementations of the invention may also include one or more of the following features.
  • the processor is configured to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies.
  • the processor is configured to select a storage policy from the plurality of available storage policies.
  • the processor is configured to select the storage policy on at least one of a per file, per request, and a per directory basis.
  • the processor is configured to alter the plurality of available storage policies.
  • the processor is configured to cause the data to be stored hierarchically.
  • the invention provides a computer program product residing on a computer-readable medium, the computer program product for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the computer program product for use in a first file server of the plurality of file servers and including computer-readable, computer-executable instructions for causing a computer to: determine that a communication is received pertaining to data to be stored in the distributed-file system, and that the data are associated with a file-system portion of the distributed-file system controlled by a second file server; and cause the data to be stored under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features.
  • the second server is separate from the first server.
  • the third file server is the first file server.
  • the computer program product further includes instructions for causing the computer to notify the second server of a storage location of the portion of data.
  • the computer program product further includes instructions for causing the computer to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
  • the computer program product further includes instructions for causing the computer to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
  • Implementations of the invention may also include one or more of the following features.
  • the computer program product further includes instructions for causing the computer to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies.
  • the computer program product further includes instructions for causing the computer to select a storage policy from the plurality of available storage policies.
  • the computer program product further includes instructions for causing the computer to select the storage policy on at least one of a per file, per request, and a per directory basis.
  • the computer program product further includes instructions for causing the computer to alter the plurality of available storage policies.
  • the computer program product further includes instructions for causing the computer to cause the data to be stored hierarchically.
  • the invention provides a first file server for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the first file server including a communication interface configured to communicate with a second file server of the plurality of servers, and a processor coupled to the communication interface.
  • the processor is configured to: determine that an incoming file system communication is associated with a first portion of the distributed-file system associated with a second file server of the plurality of servers; send a first authorization request to the second file server to request authorization to directly access the first portion of the distributed-file system; analyze a first authorization response from the second file server to determine at least one storage location associated with the first portion of the distributed-file system; determine that an incoming second authorization request received from a third file server from the plurality of file servers by the interface is associated with a second portion of the distributed-file system associated with the first file server; obtain data indicative of the second portion of the distributed-file system; and send a second authorization response that includes the data.
  • the invention provides a method of managing segments in a distributed-file system implemented by a plurality of file servers, the method including determining a segment of the distributed-file system controlled by a first file server for which control is to be migrated, selecting a second file server, that is different from the first file server, to take control of the segment, and moving control of the segment from the first file server to the second file server.
  • Embodiments of the invention may provide one or more of the following advantages.
  • storage capacity can be added easily, data sharing may be permitted, and effective performance may be provided with very large storage capacity and client loads.
  • a file server may be combined with other computational elements, as in what is called a cluster computing environment and in what is called a grid computing environment by those practiced in the art.
  • the invention allows additional computational elements to be added while providing data sharing and effective data I/O performance with very large storage capacity and numbers of computational elements in a cluster and in a grid.
  • FIG. 1 is a block diagram of an exemplary environment in which various aspects of the present invention may take place.
  • FIG. 2 is a process bubble diagram of operations that may be carried out by various exemplary apparatus used in the environment of FIG. 1 .
  • FIG. 3 is a block diagram of an exemplary data structure of a storage medium, such as a disk based storage medium.
  • FIG. 4 is a block diagram of an exemplary table data structure that may be used to map segment numbers to an identifier (e.g., an address) of a file server storing the segment.
  • an identifier e.g., an address
  • FIG. 5 is a flow diagram of an exemplary method that may be used to effect a file system call translation operation.
  • FIG. 6 is a flow diagram of an exemplary method that may be used to effect a transaction routing operation.
  • FIG. 7 is a flow diagram of an exemplary method that may be used to effect a network interface operation.
  • FIG. 8 is a flow diagram of an exemplary method that may be used to effect local file operations.
  • FIG. 9 is a block diagram of apparatus on which various operations of the present invention may be effected, and on which various data structures and files may be stored.
  • FIG. 10 is a messaging diagram that illustrates a read operation in an exemplary embodiment of the present invention.
  • FIG. 11 is a messaging diagram that illustrates a write operation in an exemplary embodiment of the present invention.
  • FIG. 12 is a simplified block diagram of a distributed-file system.
  • FIG. 13 is a block flow diagram of a process using a file server to access and read a file controlled by another file server, using the system shown in FIG. 12 .
  • FIG. 14 is a simplified block diagram of communication flow in the system shown in FIG. 12 for an example of the process shown in FIG. 13 .
  • FIG. 15 is a block flow diagram of a process using the system shown in FIG. 12 to migrate ownership of a file segment.
  • FIG. 16 is a block flow diagram of a process of using a file server to write a new file associated with a folder of another file server using the system shown in FIG. 12 .
  • FIG. 17 is a simplified block diagram of communication flow in the system shown in FIG. 12 for an example of the process shown in FIG. 16 .
  • FIG. 18 is a simplified block diagram of communication flow in a system similar to the system shown in FIG. 12 with local, instead of remote, clients.
  • the present invention involves novel methods, apparatus and data structures for providing advanced data storage.
  • the following description is presented to enable one skilled in the art to make and use the invention, and is provided in the context of particular applications and their requirements.
  • Various modifications to the disclosed embodiments will be apparent to those skilled in the art, and the general principles set forth below may be applied to other embodiments and applications.
  • the present invention is not limited to the embodiments shown and the invention includes the following disclosed methods, apparatus, articles of manufacture, and data structures and equivalents thereof.
  • FIG. 1 is a block diagram of an environment 100 in which the present invention may be used.
  • Various components are coupled with (i.e., can communicate with) a network(s) 110 , such as an Internet protocol (“IP”) based network.
  • IP Internet protocol
  • a file system 120 ( 1 ), 120 ( 2 ) may include one or more file servers 122 .
  • One or more portal units 130 permit one or more clients 140 to use the file system(s).
  • the clients 140 may or may not be provided with special front-end software or application. From the perspective of a client 140 , the file system 120 ( 1 ), 120 ( 2 ) is a virtual single storage device residing on the portal 130 .
  • Combined file server and portal units 150 are possible.
  • Administration 160 of the file servers 122 and portals 130 , or combination 150 may be centralized. Administrative information may be collected from the units 122 , 130 , 150 and distributed to such units 122 , 130 , 150 in a point-to-point or hierarchical manner. As shown, the environment 100 can support multiple file systems 120 ( 1 ), 120 ( 2 ) if desired. As illustrated, a single file server 122 b may belong to/support more than one file system.
  • the present invention may (i) permit storage capacity to be added easily (as is the case with NASs), (ii) permit file systems to be expanded beyond a given unit (as is the case with SANs), (iii) provide a file system that is easy to administer and manage, (iv) permit data sharing, and (v) provide all this functionality in a way that remains efficient at very large capacities and client loads.
  • the present invention may do so by (e.g., automatically) disseminating (e.g., state) information from a newly added unit to central administration and management operations, and by (e.g., automatically) disseminating (e.g., configuration and control) information from such operations back down to the newly added units, as well as existing units.
  • a file system can span both local storage devices (like disk drives) and networked computational devices transparently to clients.
  • state and configuration and control information can include information regarding globally managed segments that are the building blocks of the file system, and a fixed mapping of globally unique file identifiers (e.g., Inode numbers) and/or ranges thereof, to such segments.
  • exemplary operations that may be performed by the present invention, and exemplary data structures that may be used by the present invention, are introduced in ⁇ V.C.1. with reference to FIGS. 2-4 .
  • exemplary methods for effecting such operations are described in ⁇ V.C.2 with reference to FIGS. 5-8 .
  • exemplary apparatus that may be used to effect the exemplary processes and store the exemplary data structures are described in ⁇ V.C.3 with reference to FIG. 9 .
  • FIG. 2 is a process bubble diagram of operations that may be carried out by various exemplary apparatus used in the environment of FIG. 1 .
  • the apparatus include a portal 230 , a file server 222 , and/or a combined file server and portal 250 .
  • Each of these units may be coupled with one or more networks 210 that facilitate communications among the units.
  • One or more file system administration units 240 may be used to gather information about components of a file system, and disseminate system control information to components (e.g., supporting portal functions) of a file system. Such information gathering and dissemination may take place over the network(s) 210 , or some other network.
  • the local file operation(s) 226 a represents the typical core functionality of a file system including reading and writing files, inserting and deleting directory entries, locking, etc. The details of the implementation of this file system are not important outside of the characteristics and behavior specified here.
  • the local file operation(s) 226 a translates given requests into input/output (“I/O”) requests that are then submitted to a peripheral storage interface operation(s) 228 a .
  • the peripheral storage interface operation(s) 228 a processes all the I/O requests to the local storage sub-system 229 a .
  • the storage sub-system 229 a can be used to store data such as files.
  • the peripheral storage interface operation(s) 228 a may be used to provide data transfer capability, error recovery and status updates.
  • the peripheral storage interface operation(s) 228 a may involve any type of protocol for communication with the storage sub-system 229 a , such as a network protocol for example.
  • File operation requests access the local file operation(s) 226 a , and responses to such requests are provided to the network(s) 210 , via network interface operation(s) 224 a.
  • a client can access the file system of the present invention via an access point 238 a in a file system call translation operation(s).
  • a system call which will typically be operating system specific and file system related.
  • the file system call translation operation(s) 232 a can be used to convert a file system request to one or more atomic file operations, where an atomic file operation accesses or modifies only one file object.
  • Such atomic file operations may be expressed as commands contained in a transaction object.
  • the file system call translation operation(s) 232 a may also be used to determine a physical part of a storage medium of the file system corresponding to the transaction (e.g., a segment number) from a (globally) unique file identifier (e.g., Inode number).
  • the file system call translation operation(s) 232 a may include a single stage or multiple stages.
  • This file system call translation operations may also contain local cache 233 a .
  • This local cache 233 a may include a local data cache, a cache of file locks and other information that may be frequently needed by a client, or by a program servicing a client.
  • the file system translation operation(s) 232 a may forward the transaction object containing atomic file operation commands to the transaction routing operation(s) 234 a . Similar functionality is provided in, and similar operations may be performed by, the combined portal and file server 250 .
  • the transaction routing operation(s) 234 b uses the (globally) unique file identifier (e.g., Inode number) associated with each atomic file operation command, or the physical part of a file system (e.g., the segment number) derived therefrom, to determine the location (e.g., the IP address) of a file server 222 / 250 that is in charge of the uniquely identified file.
  • This file server can be local (i.e., for the unit 250 acting as both a portal and a file server, that received the request) or remote.
  • the transaction routing operation(s) 234 b simply passes the file operation to the local file operation(s) 226 b which, in turn, passes an appropriate command(s) to the peripheral storage interface operation(s) 228 b for accessing the storage medium 229 b .
  • the file server is remote, the network(s) 210 is used to communicate this operation.
  • the system is independent of any particular networking hardware, protocols or software. All networking requests are handed over to a network interface operation(s) 224 b , 236 b.
  • the network interface operation(s) 224 / 236 services networking requests regardless of the underlying hardware or protocol, and is used to forward the transaction towards the appropriate file server 222 , 250 (i.e., that controls a particular file system segment associated with the request).
  • the network interface operation(s) 224 / 236 may provide data transfer, error recovery and status updates on the network(s) 210 .
  • a virtual storage 310 that stores file system data.
  • the storage 310 is a logical volume of storage and as shown may be a disk-based storage, although this is not required.
  • a logical volume manager (LVM) aggregates the storage.
  • an exemplary embodiment of the present invention employs a smaller unit, referred to as a “segment” 340 .
  • a segment 340 is a contiguous range of disk (or other storage medium) memory with a predetermined maximum size (e.g., 64 gigabytes (“GB”) in one exemplary embodiment).
  • the actual target size for a segment is configurable. In one exemplary embodiment, the target size is four (4) GB. In such an embodiment, a typical single disk drive with a capacity of, for example, 50 GB, would contain between one and a dozen segments.
  • the actual sizes of segments can vary from disk (or other storage medium) to disk (or other storage medium).
  • a superblock 330 is added at a fixed address.
  • This superblock 330 contains a map of all the segments 340 residing on this disk (or some other storage medium). Such a map may list the blocks 350 where the segments start.
  • the superblock 330 may also associate the file system(s) with the segments that belong to the file system.
  • the superblock may be duplicated for fault-tolerance either on the same disk (or some other storage medium) or a different one.
  • a file or Inode stored on a disk may be addressed by (i) a segment number, and (ii) a block number within the segment.
  • the translation of this address to a physical disk address need only occur at (or by) the lowest level, by the peripheral storage interface operation(s) (e.g., thread) 228 of the appropriate file server 222 / 250 .
  • None of the basic file system functionality needs to know anything about which disk (or other storage medium) the segment resides on, or whether or not two segments are on the same physical hardware. That is, the client and file system calls from the client do not need to know anything about which disk (or other storage medium) a segment is on (or even the segment for that matter). Neither, in fact, do the local file operations 226 need to know anything about the disk (or other storage medium) that a given segment resides on.
  • each (globally) unique file identifier (“FID”) e.g., an Inode number, a file control block (FCB) in a Windows® operating system, etc.
  • FID global unique file identifier
  • FCB file control block
  • the FIDs can be associated with their segments in a simple fixed manner. For example, in an exemplary embodiment of the present invention, any segment has a fixed number of storage portions with which Inode numbers may be associated.
  • the fixed number of Inodes per segment may be 8,388,608 (this number comes from dividing the 64 GB maximum segment size by an average file size of 8 KB).
  • the segment number can be used to determine the actual ranges of Inode numbers controlled by a segment in the file system.
  • the first segment (number 0) of a file system would have Inode numbers 0 through 8,388,607.
  • the second segment would have Inode numbers 8,388,608 through 16,777,215, and so on.
  • the root Inode (directory) of a file system is assigned the number 1 by convention (Inode 0 is not used) and, of course, resides on the first segment.
  • the foregoing numbers represent the maximum ranges of Inodes that a given segment may control—the actual numbers of Inodes that have been allocated will generally be much smaller.
  • An Inode in the present invention may have essentially the same properties as that of a traditional file system Inode.
  • a number uniquely identifies the Inode, which in an exemplary embodiment is a 64-bit quantity.
  • the Inode may contain key information about a file or directory such as type, length, access and modification times, length, location on disk, owner, permissions, link-count, etc. It may also contain additional information specific to the particular file system.
  • Inodes may be maintained in Inode blocks (or groups).
  • the Inode blocks themselves may be quite simple. In one exemplary implementation, they simply include a bitmap showing which Inodes in the block are free, a count of free Inodes, and the array of Inodes themselves, as many as fit in the block.
  • each segment of the file system is responsible for a fixed set of Inode numbers. This principle is repeated within the segment—that is, segments may be of varying size, but they are always made up of some multiple of the smallest file system unit, namely the Subsegment. Within the segment, each Subsegment is again responsible for a fixed subset of the Inodes in the segment.
  • mapping such as a routing table.
  • this map is simply a table that lists the file servers (on which the local agents execute) corresponding to particular segments.
  • the file server is identified by its IP address. More generally, file servers may be organized in groups, in a hierarchy, or in some other logical topology and the lookup may require communication over the network with a group leader or a node in a hierarchy.
  • such information may be cached on a leased basis with registration for notification on changes to maintain coherency.
  • the local file operation(s) 226 and peripheral storage operation(s) 228 at the determined file server can then determine the file to which an operation pertains. Once the request has been satisfied at the determined file server, the result is sent back to the original (portal) server (which may be the same as the determined file server). The original (portal) server may then return the result to the requesting client.
  • each (globally) unique FID resides in a segment referred to as the “controlling segment” for that FID (e.g., Inode).
  • an Inode is associated with each file and encloses key information, metadata, about the file (e.g., owner, permissions, length, type, access and modification times, location on disk, link count, etc.), but not the actual data.
  • the data associated with an Inode may actually reside on another segment (i.e., outside the controlling segment of the Inode).
  • the controlling segment of a particular Inode and the segment(s) containing the data associated with the particular Inode, will be addressable and accessible by the controlling file server.
  • a group of segments that is addressable and accessible by a given file server are referred to as a “maximal segment group”.
  • the Inode and its associated data e.g., the contents of the file
  • a segment is under the control of at most one local agent (i.e., residing on the local file server). That agent is responsible for carrying out file system operations for any FID controlled by that segment.
  • the controlling segment's unique identifier (“SID”) for each FID is computable from the FID by the translator using information available locally (e.g., in the superblock 330 ).
  • the controlling SID may be computed simply via integer division of the FID by a system constant, which implies a fixed maximum number of files controlled per segment. Other algorithms may be used.
  • Data from a file may be contained in a segment in the maximal segment group which is not under the control of the file server responsible for the controlling segment.
  • adding space to or deleting space from the file in that segment may be coordinated with the file server responsible for it. No coordination is necessary for simple read accesses to the blocks of the file.
  • Client (user) entry and access to the entire file system may thus occur through any unit that has translation and routing operations, and that has access to a segment location map. Such units may be referred to as “portals.” Multiple simultaneous access points into the system are a normal configuration of the file system. Note that a portal unit will not need a file system call translator operation(s) 232 , assuming that such operations are provided on the client (end user) machines. However, such a configuration will require software installation and maintenance on a potentially large number of machines.
  • FIG. 5 is a flow diagram of an exemplary method 232 b ′ that may be used to effect a file system call translation operation 232 b .
  • a file system call is accepted, as indicated by block 510 .
  • the file system call includes some type of globally unique file identifier (“FID”), such as an Inode number for example. Note that such a globally unique identifier will typically not be included when a file (or other component such as a directory or folder) is first provided (e.g., written) to the file system.
  • FID globally unique file identifier
  • a globally unique identifier e.g., an Inode number
  • the relevant segment number is determined based on the unique FID (e.g., Inode number) of the file to which the file system call pertains. Recall that this may be done by dividing an Inode number by some fixed number (and truncating to the next lower whole number if a remainder exists) in one embodiment.
  • a file system transaction is generated based on the file system call, as indicated by block 530 . That is, a file system call from a client may have a particular format or syntax. If necessary, information from this file system call is simply reformatted into the appropriate syntax used in the distributed file system. This syntax may be a transaction object containing one or more so-called atomic file operation commands.
  • conditional branch point 540 it is determined whether or not the transaction (or parts thereof) can be completed using the local cache (assuming that such a local cache is provided). If so, the transaction (or parts thereof) is completed locally, as indicated by block 550 , and the method 232 b ′ is left via RETURN node 570 . Otherwise, the transaction (or parts thereof) is forwarded to a routing operation as indicated by block 560 , and the method 232 b ′ is left via RETURN node 570 .
  • FIG. 6 is a flow diagram of an exemplary method 234 ′ that may be used to effect a transaction routing operation 234 .
  • the segment number is used to determine (e.g., mapped to) a server identifier or address (or at least to another machine that can map the segment to a server identifier or address).
  • the server identifier or address may be an Internet protocol (“IP”) address.
  • IP Internet protocol
  • Such a table may be manually or automatically populated (e.g., using file system administration 240 ) in a variety of ways, many of which will be apparent to those skilled in the art.
  • segment number-file server (address) associations can be manually tracked, and provisioned manually, by some global (i.e., file system wide) administrative authority. Each portal could then be manually configured using information from the administrative authority.
  • some automated signaling and network state distribution protocols such as those commonly used by routers for example, may be used to collect file server information, provision segment numbers to that file server, and distribute segment number-file server associations to all portal units.
  • conditional branch point 620 it is determined whether or not the portal/server is the same file server as that identified. That is, whether or not the transaction is to be performed locally is determined. This can only be the case when portal and file server functionality is provided on a machine with a single address for such purposes. (Recall, e.g., the file server and portal 250 of FIG. 2 .) If so, the transaction is passed to the local peripheral storage interface operation(s) via the local file operation(s), as indicated by block 630 . (Recall, e.g., operations 226 b and 228 b of FIG. 2 .) The method 234 ′ is then left via RETURN node 650 .
  • the transaction is passed to network interface operation(s) 640 , before the method 234 ′ is left via RETURN node 650 .
  • FIG. 7 is a flow diagram of an exemplary method 236 ′ that may be used to effect a network interface operation 236 .
  • the transaction Upon receipt of a transaction, the transaction is “packaged” for forwarding towards the appropriate file server, as indicated by block 710 .
  • the appropriate file server has an IP address
  • the transaction may be carried as data in an IP packet.
  • the packaged transaction is then forwarded towards the appropriate file server based on the file server address information, as indicated by block 720 .
  • the method 236 ′ may then be left via RETURN node 730 .
  • a complementary method 224 ′ can be used to unpackage a transaction (and save the address of the portal server) when it reaches the appropriate file server.
  • FIG. 8 is a flow diagram of an exemplary method 226 ′ that may be used to effect local file operations 226 .
  • the request is translated into input/output requests. These requests are then submitted to the peripheral storage operation(s) 820 .
  • the method 226 ′ is then left via RETURN node 830 .
  • FIG. 9 is high-level block diagram of a machine (e.g., a computer, a personal computer, a hand-held computer, a network server, etc.) 900 that may effect one or more of the operations discussed above.
  • the machine 900 basically includes a processor(s) (e.g., microprocessors, ASICs, etc.) 910 , an input/output interface unit(s) 930 , a storage device(s) (e.g., RAM, ROM, disk-based storage, etc.) 920 , and a system bus or network 940 for facilitating the communication of information among the coupled elements.
  • An input device(s) 932 and an output device(s) 934 may be coupled with the input/output interface(s) 930 .
  • the processor(s) 910 may execute machine-executable instructions to effect one or more aspects of the present invention. At least a portion of the machine executable instructions may be stored (temporarily or more permanently) on the storage device(s) 920 and/or may be received from an external source via an input interface unit 930 .
  • every basic file system function whether client-oriented (e.g., read, write, etc.) or system-oriented (e.g., format disk, create file system, de-fragment disk, etc.) is viewed as a simple transaction object containing (atomic file operation) command substructures with slots for input parameters and results.
  • client-oriented e.g., read, write, etc.
  • system-oriented e.g., format disk, create file system, de-fragment disk, etc.
  • Every basic file system function is viewed as a simple transaction object containing (atomic file operation) command substructures with slots for input parameters and results.
  • the thread which generates the transaction, will know how to set or read these input/output slots.
  • each transaction type can be thought of as having two functions associated with it—a processing function and a packaging function.
  • the processing function has two modes—a query mode and a normal mode. In the query mode, the function simply provides the caller (the main thread) with the file system and controlling Inode number of a specific transaction to be used to determine where the transaction must be processed. In the normal mode, the function performs whatever work is necessary to satisfy the file system function.
  • the packaging function handles packaging or un-packaging the input or output data of the transaction for transport between (portal and file server) hosts.
  • each transaction has function-specific state variables used by the processing function.
  • Each processing function is written to carefully track progress in executing the file system request so that at any point it may pass control over the transaction object to another process while awaiting a required resource, and then resume execution where it stopped when the resource becomes available.
  • transactions are implemented as atomic file operations. These atomic file operations “block” individually, so that the threads themselves never have to.
  • a transaction pointer is set to NULL. Whether or not the transaction pointer is valid (not NULL and with no error code) may be checked constantly.
  • state variables within the transaction command structure may be maintained so that when the resource becomes available and the transaction is placed back into the execution queue, the transaction starts at the appropriate place (e.g., at the appropriate atomic file operation).
  • command pointer is a pointer to some typical transaction structure (referred to as an Ibrix transaction structure without loss of generality) with the following members (perhaps among others). Assume that all members have been initialized to zero or NULL.
  • the relevant file e.g., the relevant Inode and the data associated with the relevant Inode
  • a (file server) unit other than the (portal) unit receiving the file call e.g., the relevant file and the data associated with the relevant Inode
  • FIG. 10 illustrates communications between operations in an exemplary sequence for executing a file system read request.
  • a client (user) process (not shown) issues a file system call 1005 which is accepted by the file system call translation operation(s) (e.g., thread) 232 .
  • the operation 232 translates the client's file system call to a file system call having a transaction object-command syntax. More specifically, the request enters a file system call translation operation(s) (e.g., thread) 232 .
  • the operation(s) 232 allocates a transaction structure, fills in the operating system specific command substructure with the input parameters, and forwards the transaction to the transaction routing operation(s) 234 (e.g., places the transaction in the transaction router operation(s) thread input queue) as indicated by communication 1010 .
  • the transaction routing operation(s) (e.g., thread) 234 calls the appropriate processing routine in query mode, obtaining the controlling Inode number of the request and the file system.
  • the routing operation 234 computes the segment on which the controlling Inode resides. Then as indicated by communications 1015 and 1020 , using the segment number, and the segment to file server address map 235 , the routing operation 234 determines a server address. As stated above, in this example, the file server is remote.
  • the transaction routing operation(s) (e.g., thread) 234 marks the destination in the transaction and forwards the transaction to the network interface operation(s) 236 (e.g., puts the transaction on the input queue of the network interface operation(s) thread) as indicated by communication 1025 .
  • the network interface operation(s) (e.g., thread) 236 calls the packaging routine on the transaction and forwards the packaged transaction to the appropriate (file server) unit as indicated by communication 1030 .
  • the network interface operation(s) (e.g., thread) 224 calls the packaging routine to un-package the transaction and passes the transaction on to its local file system operation(s) (e.g., thread) 226 as indicated by communication 1035 .
  • the local file system operation(s) e.g., thread
  • the local file system operation(s) may include pin, lock, and read&release commands.
  • the first stage of the read command indicated by:
  • the transaction will be placed back in the local file system operation(s) thread queue once the page has been loaded. Note that the same instructions as before will be re-executed, e.g., until they succeed.
  • the read transaction (i.e., the file, etc.) is passed back to its source.
  • the read transaction may go directly to the file system call translation operation(s) (e.g., thread) 232 , and thence to the client (user) that made the original file system call.
  • the transaction may pass through the network interface operations (e.g., threads) 224 and 246 to be passed back to the original (portal) unit, and thence to the file system call translation operation(s) (e.g., thread) 232 there (as indicated by communications 1060 , 1065 and 1070 ), and then to the client (user) that made the original file system call.
  • FIG. 11 illustrates communications between operations in an exemplary sequence for executing a file system write request.
  • a client (user) process (not shown) issues a file system call 1105 which is accepted by the file system call translation operation(s) (e.g., thread) 232 .
  • the operation 232 translates the clients file system call to a file system call having a transaction object-command syntax. More specifically, the request enters a file system call translation operation(s) (e.g., thread) 232 .
  • the operation(s) 232 allocates a transaction structure, fills in the operating system specific command substructure with the input parameters, and forwards the transaction to the transaction routing operation(s) 234 (e.g., places the transaction in the transaction router operation(s) thread input queue) as indicated by communication 1110 .
  • the file system call translation operation(s) 232 may assign a globally unique file identifier (FID) (e.g., an Inode number).
  • FID Inode number
  • Such FID (Inode number) assignment may be based on policies and/or a global state of the file system.
  • the transaction routing operation(s) (e.g., thread) 234 calls the appropriate processing routine in query mode, obtaining the controlling Inode number of the request and the file system.
  • the operation 234 computes the segment on which the controlling Inode is to reside. Then as indicated by communications 1115 and 1120 , using the segment number, and the segment to file server address map 235 , the operation 234 determines a server address. As stated above, in this example, the file server is remote.
  • the transaction routing operation(s) (e.g., thread) 234 marks the destination in the transaction and forwards the transaction to the network interface operation(s) 236 (e.g., puts the transaction on the input queue of the network interface operation(s) thread) as indicated by communication 1125 .
  • the network interface operation(s) (e.g., thread) 236 calls the packaging routine on the transaction and forwards the packaged transaction to the appropriate (file server) unit as indicated by communication 1130 .
  • the network interface operation(s) (e.g., thread) 224 calls the packaging routine to un-package the transaction and passes the transaction on to its local file system operation(s) (e.g., thread) 226 as indicated by communication 1135 .
  • the local file system operation 226 determines that a write transaction is to be processed on the current machine, possibly after it has received the write transaction from another machine via the network interface operation(s) (e.g., thread) 224 , the local file system operation 226 then uses the normal mode processing routine to satisfy the file system function. This may actually involve multiple cycles through the processing function as the read transaction must typically wait for various resources to come available at different points in the function. (See, e.g., communications 1140 and 1145 ). As described below, the write transaction, performed at the local file operation(s) 226 , may include pin, lock, and write&dirty commands.
  • the first two stages of modifying an existing disk block are essentially identical to the first two stages of the read transaction described in ⁇ 4.4.1 above, except that the lock request is set_write_lock rather than set_read_lock. Only the code beginning at stage 3 is shown.
  • the difference from reading occurs at the point when the transaction unlocks the page. Unlike reading, writing changes the contents of the page. Thus, when the transaction unlocks the page, the cache is informed that the transaction modified the page. This may be done by passing the IBC_PAGE_DIRTY flag. Setting this flag on the page will cause it to be placed in the dirty page queue to be written to disk the next time the cache thread executes.
  • the transaction may also set a flush lock. (See, e.g., communications 1160 , 1165 and 1170 .)
  • the page cannot actually be written until the transaction exits and the cache thread executes, so the transaction explicitly places itself on the page wait queue.
  • the transaction will be placed back on the local file system operation(s) thread's input queue and it will reenter this routine.
  • the transaction can verify that it is indeed here because the write completed (by checking the PAGE_READY flag). If not, the transaction can re-insert itself on the page queue. If so, the transaction can unset the flush lock, unpin the page and exit.
  • the cache will process the write, but it is not confirmed.
  • the maximum length of a file name is 8191 characters (i.e., one file system block). Within the directory structure itself, however, only 42 (constant MAX_FAST_NAME_SIZE) characters may be recorded. If the name exceeds this size, it is replaced by a 16-byte number computed by a message digest algorithm (the MD5 algorithm, See, e.g., RFC 1321 which is incorporated herein by reference) for lookup/comparison purposes, plus a pointer to a block containing the name itself.
  • a message digest algorithm the MD5 algorithm, See, e.g., RFC 1321 which is incorporated herein by reference
  • the present invention teaches a file system that can span a disparate mix of heterogeneous units such as portals, files servers, and combinations thereof. These units are connected over one or more networks and are managed and administered on a global basis. Consequently, at least some systems implemented in accordance with the present invention allow the transparent addition of any resources into the overall system without the need for planning or downtime.
  • any or all servers participating in a file system of the present invention may act as portal machines.
  • the Inode mapping convention allows a distributed file system to be realized.
  • a system according to the invention can provide for authorization for a server to access another server's associated storage for reading and writing data.
  • a data storage and access system 10 comprises clients 12 1 - 12 3 , an IP switch 14 , file servers 16 1 - 16 3 , a fiber channel (FC) switch 18 , storage 19 , and an administrator 22 .
  • the storage 19 can be any of a variety of physical media, such as disks, and provides virtualized of a file system. As indicated in FIG. 12 , the storage 19 stores segments 20 m,n that are portions of a file system and that may be stored anywhere physically on the storage, but whose data are logically grouped into the segments 20 .
  • Segments are typically incomplete portions of the file system in that they may refer to file system entities in other segments.
  • a directory/folder of files in the segment 20 1,3 can refer to other segments 20 , e.g., the segment 20 2,1 and/or the segment 20 3,2 with addresses in these other segments 20 2,1 , 20 3,2 where the corresponding files are stored.
  • a group of the segments 20 is associated with, and controlled by, a corresponding one of the servers 16 .
  • the segments 20 1,x are associated with and controlled by the server 16 1 , etc.
  • the servers 16 control the segments 20 in that the servers 16 arbitrate access to the segments 20 , particularly modifying metadata including allocating file system blocks, modifying directories, etc.
  • the file servers 16 can be any device or portion of a device that controls segment access.
  • the system 10 provides a distributed file system in that segments of the file system are dispersed across the storage 19 such that it is not required that the file system be controlled by one server 16 and allows for a plurality of servers 16 to simultaneously control portions of the file system.
  • the clients 12 and the IP switch 14 , the IP switch and the file servers 16 , the file servers 16 and the FC switch 18 , and the FC switch 18 and the storage 19 are configured and coupled for bi-directional communication. Transmission apparatus other than the FC switch 18 would be acceptable, such as an iSCSI device or any of numerous high-speed interconnects available now or in the future. Further, the file servers 16 are configured and coupled for bi-directional communication with each other and with the administrator 22 .
  • Any of the file servers 16 may be general computing devices, such as personal computers, workstations, etc.
  • the file servers 16 may have their own local storage instead of or in addition to the storage 19 and can control/manage segments of a file system on their local storage.
  • the file servers 16 may be clustered to work on a common issue and the clustered servers 16 may be managed/regulated in accordance with the invention.
  • the file servers 16 are configured to request access authorization for files located in segments that are owned/controlled by another file server 16 .
  • the file servers 16 are computer systems that include processors and memories that store software instructions that are readable and executable by the processors to carry out a variety of functions. Included in these functions are the abilities to request authorization to access a file system segment controlled by another file server 16 , and to grant authorization to another file server 16 that requests access to a file system segment controlled by itself.
  • Each file server 16 is preferably configured to be able to request and act upon authorization for access to a file system segment controlled by another server 16 .
  • Each server 16 e.g., the server 16 1
  • the server 16 1 is configured to send an authorization request to the appropriate server, here the server 16 3 , requesting authorization for access to the appropriate file system segment.
  • the request will contain the FID of the desired file, here the Inode number (or FCB).
  • the server 16 1 is configured to wait for and receive an authorization from the other server 16 3 that includes the Inode corresponding to the Inode number provided in the authorization request.
  • the server 16 1 is configured to search the returned Inode for the address(es) of the appropriate block(s) in the file that the server 16 1 will access to properly respond to the incoming call (e.g., to find the appropriate blocks of information to read).
  • Each file server 16 is further configured to receive, process, and respond to access authorization requests from another file server 16 .
  • Each server 16 can receive an incoming request for access to a file with a designated Inode number.
  • the server 16 can process the request to search the server's associated/controlled segment(s) 20 to find the Inode corresponding to the Inode number.
  • the Inode has a fixed size, e.g., 64 bytes or 128 bytes, etc., for a given system (implementation) but the size of the Inode may vary from implementation to implementation.
  • the Inode includes the addresses of blocks associated with a file.
  • the referenced blocks may contain data for the file and/or further addresses of further blocks where actual data, and/or still further addresses, are stored.
  • the addresses may refer to other segments 20 , including segments controlled by a server 16 other than the server 16 that controls the Inode.
  • Each server 16 is further configured to send the found Inode to the server 16 that requested access to the file associated with
  • the file servers 16 are further configured to produce, delete, and modify Inodes as appropriate. As new disks or other storage media are added to the storage controlled by a file server 16 , the server 16 can produce new Inodes, or modify existing Inodes to reference addresses of the new storage media. Further, existing Inodes can be modified or deleted, e.g., as files or portions of files are deleted. Such modifications to Inodes occur essentially instantly and transparently to the clients 12 , with no apparent downtime of the file server 12 performing the modification.
  • the servers 16 can assign FIDs and allocate memory for write requests to segments 20 that the servers 16 control.
  • Each of the servers 16 can pre-allocate an amount of memory for an incoming write request.
  • the amount of pre-allocated memory can be adjusted and is preferably a fixed parameter that is allocated without regard, or even knowledge, of a quantity of data (e.g., a size of a file) to be written. If the pre-allocated memory is used up and more is needed, then the requesting server 16 can request more memory, and the server 16 that controls the appropriate segment 20 can pre-allocate another portion of memory.
  • the server 16 that controls the segment 20 to be written to will allocate an FID (e.g., an Inode number).
  • the controlling server 16 can supply/assign the Inode number and the Inode, complete with storage block addresses. If not all of the pre-allocated block addresses are used by the write, then the writing server 16 will notify the controlling server 16 of the unused blocks, and the controlling server 16 can de-allocate the unused blocks and reuse them for future write operations.
  • the administrator 22 is configured to monitor the file servers 16 , and collect information from and disseminate information to the file servers 16 .
  • the administrator 22 is also configured to allocate Inode numbers for new segments 20 .
  • the administrator 22 can determine when a file server 16 and/or storage (and thus room for new segments 20 ) is added to or removed from the system 10 , determine appropriate new Inode numbers, and provide information to the file servers 16 so that the servers 16 can determine which file server 16 controls a particular segment 20 of the file system.
  • the administrator 22 can provide information to affect how the file servers 16 determine which file server 16 controls the file segment 20 associated with an incoming request. This may include, e.g., providing information to alter a mapping of segments 20 and file servers 16 , or information to modify an algorithm used by the file servers 16 to determine the controlling file server 16 from an FID.
  • the administrator 22 is configured to help the servers 16 migrate ownership/control of the segments 20 of the file system.
  • the administrator 22 and servers 16 can move ownership of the segments 20 without moving the data of the segments 20 .
  • the migration can be essentially instantaneous.
  • the administrator 22 can compute and disseminate new mappings (e.g., tables), and/or edits to existing mappings (e.g., tables), linking segments and file servers 16 .
  • the edits can indicate changes from the current mapping to a new mapping.
  • the administrator 22 also propagates a future time at which each of the servers 16 whose set of segments 20 is affected by the migration will replace or update the old mapping.
  • the server 16 may replace or revise its mapping at a time later than the common time at which the affected servers 16 replace/update their mappings. Multiple servers 16 with no affected segments 20 may replace/update their mappings at different times (both from the common time and from each other).
  • the old mappings can be replaced or edited by the servers 16 using the information from the administrator 22 .
  • new storage can be accommodated by replacing or amending the segment-to-server tables.
  • the administrator 22 quiesces the segment 20 by inhibiting any action to be taken regarding the segment 20 (e.g., reading from or writing to the segment 20 ).
  • the administrator 22 allows access to the segment 20 , e.g., by instructing the new owner that it can access, and authorize other servers 16 to access, the segment 20 .
  • Mappings are preferably assigned version numbers, such as a number from a monotonically increasing series of integers, to help prevent older mappings mistakenly being used.
  • the servers 16 can include the version number of the mapping used in formulating the request to help avoid race conditions.
  • a receiving server 16 determines whether the mapping version of the request is older, newer, or the same as the receiving server's mapping. If the receiving server's mapping is older, then the receiving server 16 obtains the new mapping from the administrator 22 . If the receiving server's mapping is the same, then the receiving server 16 processes the request. If the receiving server's mapping is newer than that used by the requesting server 16 , then the receiving server 16 responds with a “map out of date” response that will cause the requesting server 16 to revalidate its mapping and act accordingly regarding the request.
  • a process 30 for using one file server 16 to access and read a file controlled by another file server 16 using the system 10 includes the stages shown.
  • the process 30 is exemplary only and not limiting.
  • the process 30 can be altered, e.g., by having stages added, removed, or rearranged.
  • the client 12 2 sends a read-request call that is received by the file server 16 1 for a file that is controlled by the file server 16 3 and is stored on one or more of the segments 20 3,x .
  • Other combinations of clients 12 , file servers 16 , and segments 20 may be involved in similar processes, including for writing to a file.
  • the client 12 2 sends a read request to one of the file servers 16 via the IP switch 14 .
  • the client 12 2 (and in particular an application running on the client 12 2 ) sends a read request to the IP switch 14 as depicted by a communication 40 .
  • the IP switch 14 determines to which file server 16 to send the incoming call. This decision may be made in a variety of ways, such as randomly, or intelligently, e.g., to help balance the load of calls to the servers 16 . In this example, the IP switch 14 sends the call to the file server 16 1 as depicted by a communication 42 .
  • the file server 16 1 determines the server 16 that controls the file that the client 12 2 wishes to read, and requests access authorization from that server 16 , assuming the server 16 is not the controlling server 16 .
  • the server 16 1 analyzes the call to determine the FID, here the Inode number, included in the call. From this Inode number, the server 16 1 determines the server 16 in control of the corresponding file.
  • the server 16 1 can apply any appropriate mechanism for determining the appropriate controlling server 16 .
  • the server 16 1 could store a list or apply an algorithm that associates Inode numbers with servers 16 .
  • the server 16 1 may instead store a list or apply an algorithm or function that associates Inode numbers with segments of the file system and use a list, algorithm, or function that associates segments with the servers 16 . Other mechanisms may also be used to determine the appropriate server 16 .
  • the server 16 1 determines that the server 16 3 owns/controls the segment containing the file (or file portion) corresponding to the Inode number.
  • the server 16 1 sends a communication 44 to the server 16 3 containing the Inode number from the call 40 and requesting authorization to access the corresponding file.
  • the controlling file server 16 3 receives the Inode number from the server 16 1 and replies with the corresponding Inode.
  • the server 16 3 searches its associated segments 20 3,x using the received Inode number from the requesting server 16 1 to find the corresponding Inode uniquely identified by the Inode number.
  • the controlling file server 16 3 replies with a communication 46 to the requesting file server 16 1 containing the Inode corresponding to the Inode number of the call.
  • the Inode preferably contains indicia of addresses of storage blocks of file data and/or further addresses of storage blocks from which all the data of the file associated with the Inode number of the call can be obtained.
  • the communication 46 provides authorization to the requesting file server 16 1 to access the associated storage blocks/file.
  • the requesting file server 16 1 accesses and reads the appropriate blocks of data from the appropriate segment(s) 20 through the FC switch 18 .
  • the file server 16 1 determines the appropriate blocks of data to be accessed by reading the Inode for the block addresses and possibly one or more levels of indirect addresses.
  • the file server 16 1 sends a communication 48 to the FC switch 18 with the appropriate block addresses.
  • the switch 18 forwards the block addresses to the appropriate segment(s) 20 , here the segment(s) 20 3,x owned by the file server 16 3 , in a communication 50 .
  • the segment(s) 20 3,x responds to the FC switch 18 in a communication 52 with the data from the referenced addresses.
  • the switch 18 forwards the data to the file server 16 1 in a communication 54 with the data from the blocks. Further communication between the server 16 1 and the segment(s) 20 3,x may be carried out as appropriate if the contents of one or more blocks contained further addresses. In this case, the server 16 1 determines which of these further blocks are to be read and communicates with the segment(s) 20 3,x , or other segment(s) 20 , accordingly.
  • the file server 16 1 provides the information read from the segment(s) 20 3,x to the requesting client 12 2 .
  • the server 16 1 sends the read information in a communication 56 to the IP switch 14 that forwards the information to the requesting client 12 2 in a communication 58 .
  • each of the servers 16 can act as an out-of-the-data-path metadata controller.
  • the data path is the flow of data between the client 12 and the segment(s) 20 .
  • the data path is from the client 12 2 through the IP switch 14 , through the file server 16 1 , through the FC switch 18 to the segment(s) 20 3,x and back again.
  • the server 16 3 that controls the accessed file and that provided the metadata Inode to the in-path file server 16 1 is the out-of-the-data-path controller in this example.
  • each of the servers 16 can act as such a controller, but this is not required.
  • the servers 16 can also act as in-the-data-path controllers if authorization from another server 16 is not needed.
  • a write request would proceed in much the same way as the read request. Primary differences would be that the Inode number would not be provided in the request, but would be produced or allocated, and data would not be read and provided to the client 12 , but received from the client 12 and written to an appropriate segment 20 .
  • the Inode number would be allocated by the controlling server 16 in response to a request from the receiving file server 16 .
  • the controlling server 16 pre-allocates a quantity of memory as reflected in the Inode returned by the controlling server 16 to the requesting/receiving server 16 .
  • the receiving file server 16 after obtaining authorization if needed, would communicate with the requesting client 12 through the IP switch 14 to obtain the data to be written.
  • the file server 16 would supply the data to the appropriate segment 20 through the FC switch 18 and the segment 20 would write the data to the referenced address(es).
  • the communication from the segment 20 to the file server 16 and the file server 16 to the client 12 would not be performed to the extent of reading and sending data, but could be performed to the extent of confirming that the write operation was successful.
  • the receiving server 16 can request allocation of additional blocks by the controlling server 16 .
  • the controlling server 16 pre-allocates additional blocks, and these blocks can be referenced directly or indirectly by the Inode associated with the written data.
  • the requesting server 16 informs the controlling server 16 of the file system blocks ultimately used by the write operation so that the controlling server 16 can allocate the pre-allocated but unused file system blocks to future write operations.
  • the informing of the controlling server 16 could be in the form of sending a final Inode to the controlling server 16 .
  • the Inode information is sent irrespective of what portion of the file was requested. While the Inode may vary in accordance with the file size, it will not vary in accordance with the size of the portion of the file requested.
  • stage 36 described above assumed that a single Inode of a fixed size would be available for return to the requesting server 16 regardless of the size of the data requested, Inodes of different sizes may be available. For example, multiple discrete sizes of Inodes may be available e.g., to accommodate files with extended attributes. Also for example, the size of the Inode itself may depend on the size of the file. Which of multiple Inodes is returned to a requesting server 16 may be dependent upon, e.g., the size of the data to be read, the size of the file from which data are to be read, the attributes (of the file) requested, the portion of the file to be read, etc. Selection of which Inode to return can be performed in a variety of ways.
  • the largest or the smallest Inode may be selected, the Inode may be selected randomly from a set of Inodes, or may be selected depending upon size (e.g., successively larger Inodes being selected if the size of data stored and/or requested exceeds successively higher thresholds), etc. Other factors may also be used to determine which Inode to return, such as a limit on the number of indirect addresses to be included in the returned Inode. Combinations of techniques may also be employed, such as by returning the smallest Inode if the size of data requested is below a threshold, and randomly selecting an Inode if the requested data exceeds the threshold.
  • Whether to return a single, fixed-size Inode, or one of a set of discrete-sized Inodes may be selectable, e.g., by a programmer of a server 16 , or by an indication in a data or authorization request.
  • the file servers 16 may alternatively, or also, receive requests from local clients running applications.
  • the file servers 16 themselves may have local clients that run applications that request access to the segments 20 .
  • the local clients communicate through a file system interface with other portion of the file server 16 to access the segments 20 and thus the communications through the IP switch 14 ( FIG. 14 ) are not needed, but otherwise the communications are similar to those described with respect to FIG. 14 .
  • Such an arrangement may be called a “clustered” arrangement.
  • a process 90 for migrating ownership of a segment 20 using the system 10 includes the stages shown.
  • the process 90 is exemplary only and not limiting.
  • the process 90 can be altered, e.g., by having stages added, removed, or rearranged.
  • a segment 20 to be migrated is chosen, and a new owner selected.
  • the administrator 22 may determine that there are presently too many accesses to a particular server's segments 20 , causing less than desired performance (e.g., response time) for the controlled segments 20 .
  • the administrator 22 may further determine that migrating ownership of one or more of the segments 20 controlled by that server 16 will improve performance.
  • the administrator 22 may also determine that migrating ownership of one or more of the segments 20 by a server 16 may increase reliability or may improve some other desirable characteristic of the system.
  • the administrator 22 may decide to move control of one or more segments 20 to a selected server 16 because most/many requests for the segment(s) are received by the selected server 16 .
  • the administrator 22 may determine that a client 12 “moved” in that the client 16 changed which server 16 the client 12 uses to access the file system and thus decide to move control of the segment(s) regularly accessed by that client 12 to the server 16 now used to access the file system.
  • the administrator 22 chooses a segment 20 for which ownership is to be moved.
  • the administrator 22 also chooses a file server 16 to take control of the chosen segment.
  • the new server 16 may be chosen because it can accommodate the load associated with the chosen segment 20 , or may be chosen because it currently has a small load.
  • the administrator 22 computes a new mapping and/or a delta mapping and assigns a new version number.
  • the administrator 22 determines complete new mappings of file servers 16 and segments 20 (e.g., a table associating them) and/or indicia of the changes to convert the most recent version of the mapping into a new mapping.
  • the administrator 22 propagates indicia of the new mapping.
  • the administrator 22 sends the new mapping and/or the deltas reflecting the changes to convert to the new mapping to the servers 16 .
  • the administrator 22 also sends an indication of a future time at which the servers 16 will switch to the new mapping or implement the changes to convert to the new mapping. If less than all of the servers 16 have segments 20 either moved from or added to their control, then only those that do have at least one segment 20 removed or added to their control may switch to or convert to the new mapping at the designated time. Other servers 16 may switch to or convert to the new mapping later, possibly at different times for each of the remaining servers 16 . Having the affected servers 16 switch substantially simultaneously helps make the transition to and implementation of the new mapping substantially seamless and transparent to any application using data from the file system.
  • the segment 20 chosen to be moved is quiesced in preparation for ownership migration.
  • the administrator 22 instructs the server 16 presently controlling, and the server 16 that will control, the chosen segment 20 not to access or authorize access to the chosen segment 20 .
  • the control of the chosen segment 20 is migrated.
  • the servers 16 update their tables with the proliferated edits or replace their tables with the new table.
  • the servers 16 use the modified/new table that reflects the migration in ownership.
  • the administrator 22 instructs the server 16 that now controls the chosen segment 20 to allow access to the chosen segment 20 thereby di-quiescing the chosen segment 20 .
  • the server 16 is preferably configured to cause new files or directories to be written to the segments 20 in accordance with a non-hierarchical technique or policy. With such techniques/policies, a file or subfolder of a folder will be located/stored in a segment 20 other than the segment 20 storing the folder to which the subfolder or file belongs.
  • Each server 16 can receive write requests from any of the clients 12 that need FIDs to be allocated.
  • the servers 16 are configured to allocate an FID associated with a segment 20 controlled by the server 16 that receives the write request, i.e., a local segment 20 of the server 16 .
  • the servers 16 are further configured to determine which server 16 controls a parent directory to which the new file or directory belongs, and to tell the parent-directory-controlling server 16 of the allocated FID and its location. Each server 16 can, in response to receiving notification of a newly allocated FID, store in a parent directory an appropriate pointer and the new file/directory's location on one of the other servers 16 .
  • the servers 16 may be configured to implement other non-hierarchical storage techniques. For example, in a folder/directory, subdirectories can be located hierarchically while files are located non-hierarchically or subdirectories can be located non-hierarchically while files are located hierarchically. Also, the servers 16 may be configured to help improve Inode distribution balance. To do this, each server 16 can consider the current Inode availability metrics (IAMs) of single cylinder groups (i.e., the smallest unit of a file system) associated with the servers 16 . The IAM is a weighted average of the percentage of free Inodes and the percentage of free disk blocks.
  • IAMs Inode availability metrics
  • the IAM can be used to determine whether to store a new file or directory in a particular cylinder group. For example, in a single-server environment, the servers 16 will allocate an Inode in the same cylinder group as the parent directory for a new file, but for a new directory will allocate an Inode in the segment and cylinder group with the highest inode availability. For new files, however, the servers 16 can allocate an Inode elsewhere if the ratio of the maximum IAM and the IAM of the parent's cylinder group exceeds a threshold.
  • the servers 16 may implement still other non-hierarchical techniques, e.g., for multiple-server environments. For example, the servers 16 can allocate files to the cylinder group of the parent directory unless a significant IAM imbalance exists. With multiple servers 16 , each server 16 has two locations associated with it, the locations being a coordinate pair in a two-dimensional array (e.g., a 100 ⁇ 100 array in x- and y-coordinates). Distances between the locations are the Euclidean distances between the two corresponding coordinate pairs. Distances are measured from the base server 16 that is either the server 16 on which the corresponding parent directory resides or the server 16 that receives a request. Depending upon the distances involved, and the IAM disparities, the servers 16 can determine where to allocate an Inode. For example, the servers 16 could query a jump threshold table, an example of which is provided in Table 1.
  • Switch Factor Distance 150 50 200 100 300 200
  • Table 1 represents thresholds (Switch Factor) for IAM Ratios and maximum distance between the base server 16 and the server 16 (e.g., server X) associated with the jump threshold table (i.e., the destination server).
  • the IAM Ratio equals:
  • the servers 16 will allocate Inodes to the base server 16 unless the IAM Ratio is greater than the Switch Factor and the distance from the base server 16 to the destination server 16 is less than or equal to the associated Distance in the jump threshold table. If these latter criteria are met, however, the servers 16 will allocate the Inode to the destination server 16 corresponding to the jump threshold table whose criteria of a row are met. If multiple jump threshold tables are searched, then the Inode is allocated to the server 16 corresponding to the first row of table criteria that are met.
  • the Inode will be allocated to the server X if the IAM of server X divided by the IAM of the base server 16 , multiplied by 100, exceeds 150 and the distance from the base server 16 to the destination server X is less than or equal to 50.
  • affinity groups Another non-hierarchical technique that may be employed by the servers 16 for allocating Inodes to new files uses affinity groups.
  • This affinity-group technique associates one or more of the clients 12 into groups and associates the groups with preferred file system segments for storing files.
  • An affinity group can be one of the clients 12 or a collection of the clients 12 .
  • Each affinity group may have a preferred/primary set of segments to which new files are preferably allocated, and a secondary segment set, a tertiary set, etc., in order of priority.
  • Each segment set provides an allocation pool and may have one or more segments in it.
  • Inode allocation may be based, e.g., on a round-robin technique that may help reduce internal fragmentation (not enough space left in a segment to grow a file that has already been allocated). Segments 20 that are filled beyond an upper threshold can be removed from a segment set and segments 20 that are (or become) filled less than a lower threshold can be added (or re-added) to a segment set.
  • the administrator 22 can establish, track, and modify affinity groups.
  • the administrator 22 can define the groups and memberships and provide this information to the servers 16 , and can track statistics on a per-segment basis for the affinity groups located on the segment 20 .
  • the administrator 22 can track for each segment 20 what percent of capacity is used by each affinity group, and for each group what percent of the group resides on a particular segment 20 .
  • the administrator 22 can use the tracked metrics to decide which segments 20 to migrate ownership for, e.g., to help load balancing.
  • an affinity group is migrated on the client side (i.e., a client 12 accesses a different server 16 )
  • the ownership will be migrated for any segment 20 that has a certain level (e.g., at least 50%) of the segment 20 used by the affinity group, and for any segment 20 that contains a threshold level (e.g., at least 50%) of the group's entire usage.
  • the administrator 22 records the statistics, allocation decisions, etc. persistently on segments 20 (e.g., in super-block information or in a special hidden file). Such recording may be synchronous (e.g., on every allocation/removal) or periodic (e.g., every minute).
  • the administrator 22 could alternatively search through segments 20 and compile statistics.
  • the servers 16 may cause new files to be written to the segments 20 in accordance with other techniques.
  • the servers 16 can store new files in a hierarchical manner.
  • the servers 16 can determine which server 16 controls the directory to which a new file belongs, and ensure that the new file is stored in the segment(s) 20 corresponding to the controlling server 16 (e.g., by forwarding the file to the controlling server 16 for storage, or by obtaining authorization to access the segment(s) 20 associated with the controlling server 16 and storing the file in that segment(s) 20 ).
  • Another alternative is to spread new files among the servers 16 regardless of the receiving server 16 or the server 16 that owns the directory to which a new file belongs.
  • This spreading may be done, e.g., randomly or following a pre-determined pattern, the selection being from all the file servers 16 or a subset of the file servers 16 .
  • the servers 16 may also be configured to employ a combination of any of the above-described techniques and may determine on a case-by-case basis which technique to employ. Various factors may be considered to determine which technique to employ. For example, the hierarchical technique may be used if the directory contains less than a threshold number of files, while the non-hierarchical technique may be used if the threshold is met or exceeded and the receiving server's segments 20 are filled to less than a threshold percentage, and to use the file spreading technique otherwise.
  • policies for storing data in the file system may be available to the servers 16 .
  • the servers 16 can select which policy to use to store incoming information. The selection may be made once, or may be changed, e.g., over time, or on a per file, per request, and/or per folder basis etc.
  • the available policies may be changed/altered over time by, e.g., adding policies, deleting policies, or modifying existing policies.
  • a process 60 for writing a new file using the system 10 includes the stages shown.
  • the process 60 is exemplary only and not limiting.
  • the process 60 can be altered, e.g., by having stages added, removed, or rearranged.
  • a new file is being stored and that the non-hierarchical technique in which the new file is stored on the local, receiving server's segment(s) 20 , is employed.
  • the servers 16 contain storage disks 26 as shown in FIG. 16 for storing the segment(s) 20 associated with the servers 16 .
  • a segment 20 1,1 associated with the server 16 1 stores a Folder A containing a directory 28 of Files B, C, and D.
  • the directory 28 stores pointers to the files' respective locations and local/remote indicia indicating whether the file is stored on the same segment 20 as the directory 28 or another segment 20 .
  • the segments 20 are each associated with 1000 Inode numbers such that 20 1,1 is associated with Inode numbers 1-1000, segments 20 2,1-3 are associated with Inode numbers 1001-4000, and segments 20 3,1-2 are associated with Inode numbers 4001-6000.
  • files B, C, and D are stored locally in segment 20 1,1 and file E is to be stored in segment 20 2,3 .
  • an incoming request 63 to write a new File E to be associated with the Folder A is received by a server 16 1 here the server 16 2 .
  • the file server 16 2 analyzes the request to determine that it is for a new file in the Folder A.
  • the folder associated with the incoming request is located.
  • the file server 16 2 determines where the Folder A resides (which server 16 owns/controls the segment 20 that includes Folder A), e.g., by analyzing the Inode number of Folder A using the segment-FID mapping.
  • the server 16 2 stores the new File E.
  • the server 16 2 finds an appropriate location or locations on one or more of its associated segments 20 2,x to store the new File E.
  • the server 16 2 sends a communication 65 with the File E to the determined segment 20 , here segment 20 2,3 for storage of the File E on the disk 20 2,3 .
  • the directory 28 is updated with a pointer to the location of the stored File E.
  • the server 16 2 sends a communication 67 with the location of the stored File E to the server 16 1 that controls the directory 28 .
  • the server 16 1 relays this information in a communication 69 to the directory 28 in the segment 20 1,1 .
  • a pointer to the location of the stored File E is stored in association with an indication of the File E in the directory 28 . If the File E is stored in more than one location, then multiple pointers may be provided in the directory 28 , or only one pointer may be provided in the directory 28 , with further a pointer provided, e.g., at the end, of the portion of memory indicated by the pointer in the directory 28 .
  • the server 16 2 could cause another one of the servers 16 to store the new file.
  • the server 16 2 could send the new File E to the server 16 that owns the corresponding directory, here the server 16 1 .
  • the controlling server 16 could then store the new File E in association with the corresponding directory.
  • the server 16 2 could alternatively use other techniques to determine which server 16 should store the new file. For example, the server 16 2 could randomly select one of the servers 16 to store the new file, or could account for one or more factors, such as current or average load on the servers 16 to select a server 16 , e.g., the server 16 with the lowest average load, or the greatest amount of free storage space.
  • stage 36 considered the exemplary case where the queried server 16 3 controlled the desired data.
  • the server 16 3 may, however, request authorization from another server 16 1 e.g., the server 16 2 , and this other server 16 2 or the server 16 3 may reply to the requesting server 16 1 with the authorization response.
  • the requesting server 16 1 can acknowledge and use the authorization from either server 16 and is can be considered as the initially-contacted server 16 3 providing the authorization response.

Abstract

A file system (i) permits storage capacity to be added easily, (ii) can be expanded beyond a given unit, (iii) is easy to administer and manage, (iv) permits data sharing, and (v) is able to perform effectively with very large storage capacity and client loads. State information from a newly added unit is communicated (e.g., automatically and transparently) to central administration and management operations. Configuration and control information from such operations is communicated (e.g., automatically) back down to the newly added units, as well as existing units. In this way, a file system can span both local storage devices (like disk drives) and networked computational devices transparently to clients. Such state and configuration and control information can include globally managed segments as the building blocks of the file system, and a fixed mapping of globally unique file identifiers (e.g., Inode numbers) and/or ranges thereof, to such segments.

Description

    I. CROSS-REFERENCES TO RELATED APPLICATIONS
  • This is a continuation patent application which claims priority from U.S. patent application Ser. No. 10/425,550 (the '550 application) filed on Apr. 29, 2003 which is a continuation-in-part of and claims the benefit of U.S. application Ser. No. 09/950,555 filed Sep. 11, 2001, that claims the benefit of U.S. Provisional Application No. 60/232,102 filed Sep. 12, 2000. The '550 application also claims the benefit of U.S. Provisional Application No. 60/395,839 filed Jul. 15, 2002. The '550 application also claims the benefit of U.S. Provisional Application No. 60/447,720 filed Feb. 19, 2003. The '550 application also claims the benefit of U.S. Provisional Application No. 60/447,722 filed Feb. 19, 2003. The '550 application also claims the benefit of U.S. Provisional Application No. 60/447,723 filed Feb. 19, 2003. These applications are incorporated by reference in their entirety.
  • II. BACKGROUND OF THE INVENTION
  • A. Field of the Invention
  • The present invention concerns computer storage and file systems. More specifically, the present invention concerns techniques for managing and using a distributed storage system.
  • B. Related Art
  • Data generated by, and for use by, computers is stored in file systems. The design of file systems has evolved in the last two decades, basically from a server-centric model (which can be thought of as a local file system), to a storage-centric model (which can be thought of as a networked file system).
  • Stand alone personal computers exemplify a server-centric model—storage has resided on the personal computer itself, initially using hard disk storage, and more recently, optical storage. As local area networks (“LANs”) became popular, networked computers could store and share data on a so-called file server on the LAN. Storage associated with a given file server is commonly referred to as server attached storage (“SAS”). Storage could be increased by adding disk space to a file server. Unfortunately, however, SASs are only expandable internally—there is no transparent data sharing between file servers. Further, with SASs, throughput is limited by the speed of the fixed number of busses internal to the file server. Accordingly, SASs also exemplify a server-centric model.
  • As networks became more common, and as network speed and reliability increased, network attached storage (“NAS”) has become popular. NASs are easy to install and each NAS, individually, is relatively easy to maintain. In a NAS, a file system on the server is accessible from a client via a network file system protocol like NFS or CIFS.
  • Network file systems like NFS and CIFS are layered protocols that allow a client to request a particular file from a pre-designated server. The client's operating system translates a file access request to the NFS or DFS format and forwards it to the server. The server processes the request and in turn translates it to a local file system call that accesses the information on magnetic disks or other storage media. The disadvantage of this technology is that a file system cannot expand beyond the limits of single NAS machine. Consequently, administering and maintaining more than a few NAS units, and consequently more than a few file systems, becomes difficult. Thus, in this regard, NASs can be thought of as a server-centric file system model.
  • Storage area networks (SANs) (and clustered file systems) exemplify a storage-centric file system model. SANs provide a simple technology for managing a cluster or group of disk-storage units, effectively pooling such units. SANs use a front-end system, which can be a NAS or a traditional server. SANs are (i) easy to expand, (ii) permit centralized management and administration of the pool of disk storage units, and (iii) allow the pool of disk storage units to be shared among a set of front-end server systems. Moreover, SANs enable various data protection/availability functions such as multi-unit mirroring with failover for example. Unfortunately, however, SANs are expensive. Although SANs permit space to be shared among front-end server systems, they do not permit multiple SANs environments to use the same file system. Thus, although SANs pool storage, they basically behave as a server-centric file system. That is, a SAN behaves like a fancy (e.g., with advanced data protection and availability functions) disk drive on a system. Also, various incompatible versions of SANs have emerged.
  • The article, T. E. Anderson et al., “Serverless Network File Systems,” Proc. 15th ACM Symposium on Operating System Principles, pp. 109-126 (1995) (hereafter referred to as “the Berkeley paper”) discusses a data-centric distributed file system. In the system, manager maps, which map a file to a manager for controlling the file, are globally managed and maintained. Maintaining and storing a map having every file could, however, limit scalability of the system as the number of files become large.
  • III. SUMMARY OF THE INVENTION
  • The present invention may provide methods, apparatus and data structures for providing a file system which meets various needs. A distributed file system in which files are distributed across more than one file server and in which each file server has physical storage media may be provided. The present invention can determine a particular file server to which a file system call pertains by (a) accepting a file system call including a file identifier, (b) determining a contiguous unit of the physical storage media of the file servers of the distributed file system based on the file identifier, (c) determining the file server having the physical storage media that contains the determined contiguous unit, and (d) forwarding a request, based on the file system call accepted, to the file server determined to have the physical storage media that contains the determined contiguous unit.
  • The file identifier may be an Inode number and the contiguous unit may be a segment. The file server having the physical storage media that contains the determined contiguous unit may be determined by a table, administered globally across the file system, that maps the contiguous unit to (the (e.g., IP) address of) the file server.
  • In general, in an aspect, the invention provides a method of associating data with a file server from among a plurality of file servers in a distributed-file system, the method including receiving a communication at a first file server among the plurality of file servers in the distributed-file system, the communication pertaining to data to be stored in the distributed-file system, the data being associated with a file-system portion of the distributed-file system controlled by a second file server, and storing the data under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features. The second server is separate from the first server. The third file server is the first file server. The method further includes notifying the second server of a storage location of the portion of data. The method further includes choosing the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory. The method further includes choosing a location for storing the data dependent upon amounts of free storage space and free data identifiers. The method further includes choosing a location for storing the data dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server. The method further includes choosing a location for storing the data dependent upon at least one affinity group associating a client with a preferred segment. The method further includes choosing the third file server at least one of randomly and following a pre-determined pattern, the choosing being from one of all the file servers and a subset of the file servers.
  • Implementations of the invention may also include one or more of the following features. The storing is performed in accordance with at least one of a plurality of available non-hierarchical storage policies. The method further includes selecting a policy for the storing from the plurality of available storage policies. The selecting is performed on at least one of a per file, per request, and a per directory basis. The method further includes altering the plurality of available storage policies. The plurality of available storage policies includes storing data dependent upon at least two of (1) amounts of free storage space and free data identifiers, (2) relative amounts of free storage space and free data identifiers on a base file server and a possible controlling server, (3) at least one afficinity group associating an application with a preferred segment, and (4) a random selection.
  • In general, in another aspect, the invention provides an apparatus for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the apparatus being disposed in a first file server of the plurality of file servers and comprising a memory that stores computer-readable, computer-executable instructions, and a processor coupled to the memory and configured to read and execute the instructions to: determine that a communication is received pertaining to data to be stored in the distributed-file system, and that the data are associated with a file-system portion of the distributed-file system controlled by a second file server; and cause the data to be stored under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features. The second server is separate from the first server. The third file server is the first file server. The processor is configured to notify the second server of a storage location of the portion of data. The processor is configured to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory. The processor is configured to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
  • Implementations of the invention may also include one or more of the following features. The processor is configured to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies. The processor is configured to select a storage policy from the plurality of available storage policies. The processor is configured to select the storage policy on at least one of a per file, per request, and a per directory basis. The processor is configured to alter the plurality of available storage policies. The processor is configured to cause the data to be stored hierarchically.
  • In general, in another aspect, the invention provides a computer program product residing on a computer-readable medium, the computer program product for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the computer program product for use in a first file server of the plurality of file servers and including computer-readable, computer-executable instructions for causing a computer to: determine that a communication is received pertaining to data to be stored in the distributed-file system, and that the data are associated with a file-system portion of the distributed-file system controlled by a second file server; and cause the data to be stored under control of a third file server such that the data are stored in the distributed-file system non-hierarchically relative to the file-system portion.
  • Implementations of the invention may include one or more of the following features. The second server is separate from the first server. The third file server is the first file server. The computer program product further includes instructions for causing the computer to notify the second server of a storage location of the portion of data. The computer program product further includes instructions for causing the computer to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory. The computer program product further includes instructions for causing the computer to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
  • Implementations of the invention may also include one or more of the following features. The computer program product further includes instructions for causing the computer to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies. The computer program product further includes instructions for causing the computer to select a storage policy from the plurality of available storage policies. The computer program product further includes instructions for causing the computer to select the storage policy on at least one of a per file, per request, and a per directory basis. The computer program product further includes instructions for causing the computer to alter the plurality of available storage policies. The computer program product further includes instructions for causing the computer to cause the data to be stored hierarchically.
  • In general, in another aspect, the invention provides a first file server for use in an association of devices that implements a distributed-file system, the association of devices including a plurality of file servers that each are configured to control separate portions of the distributed-file system, the first file server including a communication interface configured to communicate with a second file server of the plurality of servers, and a processor coupled to the communication interface. The processor is configured to: determine that an incoming file system communication is associated with a first portion of the distributed-file system associated with a second file server of the plurality of servers; send a first authorization request to the second file server to request authorization to directly access the first portion of the distributed-file system; analyze a first authorization response from the second file server to determine at least one storage location associated with the first portion of the distributed-file system; determine that an incoming second authorization request received from a third file server from the plurality of file servers by the interface is associated with a second portion of the distributed-file system associated with the first file server; obtain data indicative of the second portion of the distributed-file system; and send a second authorization response that includes the data.
  • In general, in another aspect, the invention provides a method of managing segments in a distributed-file system implemented by a plurality of file servers, the method including determining a segment of the distributed-file system controlled by a first file server for which control is to be migrated, selecting a second file server, that is different from the first file server, to take control of the segment, and moving control of the segment from the first file server to the second file server.
  • Embodiments of the invention may provide one or more of the following advantages. In a distributed-file system, storage capacity can be added easily, data sharing may be permitted, and effective performance may be provided with very large storage capacity and client loads.
  • In embodiments of the invention, a file server may be combined with other computational elements, as in what is called a cluster computing environment and in what is called a grid computing environment by those practiced in the art. In these latter computing environments, the invention allows additional computational elements to be added while providing data sharing and effective data I/O performance with very large storage capacity and numbers of computational elements in a cluster and in a grid.
  • IV. BRIEF DESCRIPTION OF THE FIGURES
  • FIG. 1 is a block diagram of an exemplary environment in which various aspects of the present invention may take place.
  • FIG. 2 is a process bubble diagram of operations that may be carried out by various exemplary apparatus used in the environment of FIG. 1.
  • FIG. 3 is a block diagram of an exemplary data structure of a storage medium, such as a disk based storage medium.
  • FIG. 4 is a block diagram of an exemplary table data structure that may be used to map segment numbers to an identifier (e.g., an address) of a file server storing the segment.
  • FIG. 5 is a flow diagram of an exemplary method that may be used to effect a file system call translation operation.
  • FIG. 6 is a flow diagram of an exemplary method that may be used to effect a transaction routing operation.
  • FIG. 7 is a flow diagram of an exemplary method that may be used to effect a network interface operation.
  • FIG. 8 is a flow diagram of an exemplary method that may be used to effect local file operations.
  • FIG. 9 is a block diagram of apparatus on which various operations of the present invention may be effected, and on which various data structures and files may be stored.
  • FIG. 10 is a messaging diagram that illustrates a read operation in an exemplary embodiment of the present invention.
  • FIG. 11 is a messaging diagram that illustrates a write operation in an exemplary embodiment of the present invention.
  • FIG. 12 is a simplified block diagram of a distributed-file system.
  • FIG. 13 is a block flow diagram of a process using a file server to access and read a file controlled by another file server, using the system shown in FIG. 12.
  • FIG. 14 is a simplified block diagram of communication flow in the system shown in FIG. 12 for an example of the process shown in FIG. 13.
  • FIG. 15 is a block flow diagram of a process using the system shown in FIG. 12 to migrate ownership of a file segment.
  • FIG. 16 is a block flow diagram of a process of using a file server to write a new file associated with a folder of another file server using the system shown in FIG. 12.
  • FIG. 17 is a simplified block diagram of communication flow in the system shown in FIG. 12 for an example of the process shown in FIG. 16.
  • FIG. 18 is a simplified block diagram of communication flow in a system similar to the system shown in FIG. 12 with local, instead of remote, clients.
  • V. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
  • The present invention involves novel methods, apparatus and data structures for providing advanced data storage. The following description is presented to enable one skilled in the art to make and use the invention, and is provided in the context of particular applications and their requirements. Various modifications to the disclosed embodiments will be apparent to those skilled in the art, and the general principles set forth below may be applied to other embodiments and applications. Thus, the present invention is not limited to the embodiments shown and the invention includes the following disclosed methods, apparatus, articles of manufacture, and data structures and equivalents thereof.
  • In the following, environments in which the present invention may be employed are introduced in § V.A. Then, functions that may be performed by the present invention are introduced in § V.B. Then, operations, data structures, methods and apparatus that may be used to effect those functions are described in § V.C. Thereafter, examples of how exemplary parts of the present invention may operate is described in § V.D. Finally, some conclusions about the present invention are set forth in §V.E.
  • A. Exemplary Environments in which Invention May Operate
  • The following exemplary environments are presented to illustrate examples of utility of the present invention and to illustrate examples of contexts in which the present invention may operate. However, the present invention can be used in other environments and its use is not intended to be limited to the exemplary environment.
  • FIG. 1 is a block diagram of an environment 100 in which the present invention may be used. Various components are coupled with (i.e., can communicate with) a network(s) 110, such as an Internet protocol (“IP”) based network. A file system 120(1), 120(2) may include one or more file servers 122. One or more portal units 130 permit one or more clients 140 to use the file system(s). The clients 140 may or may not be provided with special front-end software or application. From the perspective of a client 140, the file system 120(1), 120(2) is a virtual single storage device residing on the portal 130. Combined file server and portal units 150 are possible. Administration 160 of the file servers 122 and portals 130, or combination 150, may be centralized. Administrative information may be collected from the units 122, 130, 150 and distributed to such units 122, 130, 150 in a point-to-point or hierarchical manner. As shown, the environment 100 can support multiple file systems 120(1), 120(2) if desired. As illustrated, a single file server 122 b may belong to/support more than one file system.
  • B. Exemplary Functions that May be Performed by the Present Invention
  • The present invention may (i) permit storage capacity to be added easily (as is the case with NASs), (ii) permit file systems to be expanded beyond a given unit (as is the case with SANs), (iii) provide a file system that is easy to administer and manage, (iv) permit data sharing, and (v) provide all this functionality in a way that remains efficient at very large capacities and client loads. The present invention may do so by (e.g., automatically) disseminating (e.g., state) information from a newly added unit to central administration and management operations, and by (e.g., automatically) disseminating (e.g., configuration and control) information from such operations back down to the newly added units, as well as existing units. In this way, a file system can span both local storage devices (like disk drives) and networked computational devices transparently to clients. Such state and configuration and control information can include information regarding globally managed segments that are the building blocks of the file system, and a fixed mapping of globally unique file identifiers (e.g., Inode numbers) and/or ranges thereof, to such segments.
  • Having introduced functions that may be performed by the present invention, exemplary operations, data structures, methods and apparatus for effecting these functions are described in § V.C. below.
  • C. Exemplary Operations, Data Structures, Methods and Apparatus for Effecting Functions that May be Performed by the Present Invention
  • In the following, exemplary operations that may be performed by the present invention, and exemplary data structures that may be used by the present invention, are introduced in § V.C.1. with reference to FIGS. 2-4. Then, exemplary methods for effecting such operations are described in § V.C.2 with reference to FIGS. 5-8. Finally, exemplary apparatus that may be used to effect the exemplary processes and store the exemplary data structures are described in § V.C.3 with reference to FIG. 9.
  • 1. Exemplary Operations and Data Structures
  • FIG. 2 is a process bubble diagram of operations that may be carried out by various exemplary apparatus used in the environment of FIG. 1. The apparatus include a portal 230, a file server 222, and/or a combined file server and portal 250. Each of these units may be coupled with one or more networks 210 that facilitate communications among the units. One or more file system administration units 240 may be used to gather information about components of a file system, and disseminate system control information to components (e.g., supporting portal functions) of a file system. Such information gathering and dissemination may take place over the network(s) 210, or some other network.
  • Referring first to the file server 222, the local file operation(s) 226 a represents the typical core functionality of a file system including reading and writing files, inserting and deleting directory entries, locking, etc. The details of the implementation of this file system are not important outside of the characteristics and behavior specified here. The local file operation(s) 226 a translates given requests into input/output (“I/O”) requests that are then submitted to a peripheral storage interface operation(s) 228 a. The peripheral storage interface operation(s) 228 a processes all the I/O requests to the local storage sub-system 229 a. The storage sub-system 229 a can be used to store data such as files. The peripheral storage interface operation(s) 228 a may be used to provide data transfer capability, error recovery and status updates. The peripheral storage interface operation(s) 228 a may involve any type of protocol for communication with the storage sub-system 229 a, such as a network protocol for example. File operation requests access the local file operation(s) 226 a, and responses to such requests are provided to the network(s) 210, via network interface operation(s) 224 a.
  • Referring now to the portal 230, a client (user) can access the file system of the present invention via an access point 238 a in a file system call translation operation(s). One way for this entry is through a system call, which will typically be operating system specific and file system related. The file system call translation operation(s) 232 a can be used to convert a file system request to one or more atomic file operations, where an atomic file operation accesses or modifies only one file object. Such atomic file operations may be expressed as commands contained in a transaction object. If the system call includes a file identifier (e.g., an Inode number), the file system call translation operation(s) 232 a may also be used to determine a physical part of a storage medium of the file system corresponding to the transaction (e.g., a segment number) from a (globally) unique file identifier (e.g., Inode number). The file system call translation operation(s) 232 a may include a single stage or multiple stages. This file system call translation operations may also contain local cache 233 a. This local cache 233 a may include a local data cache, a cache of file locks and other information that may be frequently needed by a client, or by a program servicing a client. If a request cannot be satisfied using local cache 233 a, the file system translation operation(s) 232 a may forward the transaction object containing atomic file operation commands to the transaction routing operation(s) 234 a. Similar functionality is provided in, and similar operations may be performed by, the combined portal and file server 250.
  • In the portal 230, or the combined portal 250, the transaction routing operation(s) 234 b uses the (globally) unique file identifier (e.g., Inode number) associated with each atomic file operation command, or the physical part of a file system (e.g., the segment number) derived therefrom, to determine the location (e.g., the IP address) of a file server 222/250 that is in charge of the uniquely identified file. This file server can be local (i.e., for the unit 250 acting as both a portal and a file server, that received the request) or remote. If this file server is local, the transaction routing operation(s) 234 b simply passes the file operation to the local file operation(s) 226 b which, in turn, passes an appropriate command(s) to the peripheral storage interface operation(s) 228 b for accessing the storage medium 229 b. If, on the other hand, the file server is remote, the network(s) 210 is used to communicate this operation. The system is independent of any particular networking hardware, protocols or software. All networking requests are handed over to a network interface operation(s) 224 b, 236 b.
  • The network interface operation(s) 224/236 services networking requests regardless of the underlying hardware or protocol, and is used to forward the transaction towards the appropriate file server 222, 250 (i.e., that controls a particular file system segment associated with the request). The network interface operation(s) 224/236 may provide data transfer, error recovery and status updates on the network(s) 210.
  • Referring now to FIG. 3, a virtual storage 310 is provided that stores file system data. The storage 310 is a logical volume of storage and as shown may be a disk-based storage, although this is not required. A logical volume manager (LVM) aggregates the storage.
  • Rather than using a disk (or some other discrete storage unit or medium) 310 as a fundamental unit of a file system, an exemplary embodiment of the present invention employs a smaller unit, referred to as a “segment” 340. A segment 340 is a contiguous range of disk (or other storage medium) memory with a predetermined maximum size (e.g., 64 gigabytes (“GB”) in one exemplary embodiment). The actual target size for a segment is configurable. In one exemplary embodiment, the target size is four (4) GB. In such an embodiment, a typical single disk drive with a capacity of, for example, 50 GB, would contain between one and a dozen segments. The actual sizes of segments can vary from disk (or other storage medium) to disk (or other storage medium).
  • To determine what each disk (or some other storage medium) contains, a superblock 330 is added at a fixed address. This superblock 330 contains a map of all the segments 340 residing on this disk (or some other storage medium). Such a map may list the blocks 350 where the segments start. The superblock 330 may also associate the file system(s) with the segments that belong to the file system. The superblock may be duplicated for fault-tolerance either on the same disk (or some other storage medium) or a different one.
  • In the file system of the present invention, a file or Inode stored on a disk (or some other storage media) may be addressed by (i) a segment number, and (ii) a block number within the segment. The translation of this address to a physical disk address need only occur at (or by) the lowest level, by the peripheral storage interface operation(s) (e.g., thread) 228 of the appropriate file server 222/250. None of the basic file system functionality needs to know anything about which disk (or other storage medium) the segment resides on, or whether or not two segments are on the same physical hardware. That is, the client and file system calls from the client do not need to know anything about which disk (or other storage medium) a segment is on (or even the segment for that matter). Neither, in fact, do the local file operations 226 need to know anything about the disk (or other storage medium) that a given segment resides on.
  • In accordance with the present invention, within a file system, each (globally) unique file identifier (“FID”) (e.g., an Inode number, a file control block (FCB) in a Windows® operating system, etc.) is associated with a single controlling segment, though each segment can have more than one associated FID (e.g., Inode number). The FIDs (e.g., Inode numbers) can be associated with their segments in a simple fixed manner. For example, in an exemplary embodiment of the present invention, any segment has a fixed number of storage portions with which Inode numbers may be associated.
  • For example, for a maximum segment size of 64 GB, the fixed number of Inodes per segment may be 8,388,608 (this number comes from dividing the 64 GB maximum segment size by an average file size of 8 KB). In this exemplary embodiment, the segment number can be used to determine the actual ranges of Inode numbers controlled by a segment in the file system. For example, the first segment (number 0) of a file system would have Inode numbers 0 through 8,388,607. The second segment would have Inode numbers 8,388,608 through 16,777,215, and so on. The root Inode (directory) of a file system is assigned the number 1 by convention (Inode 0 is not used) and, of course, resides on the first segment. Note that the foregoing numbers represent the maximum ranges of Inodes that a given segment may control—the actual numbers of Inodes that have been allocated will generally be much smaller.
  • An Inode in the present invention may have essentially the same properties as that of a traditional file system Inode. A number uniquely identifies the Inode, which in an exemplary embodiment is a 64-bit quantity. The Inode may contain key information about a file or directory such as type, length, access and modification times, length, location on disk, owner, permissions, link-count, etc. It may also contain additional information specific to the particular file system.
  • On disk (or other storage medium), Inodes may be maintained in Inode blocks (or groups). The Inode blocks themselves may be quite simple. In one exemplary implementation, they simply include a bitmap showing which Inodes in the block are free, a count of free Inodes, and the array of Inodes themselves, as many as fit in the block.
  • As noted above, each segment of the file system is responsible for a fixed set of Inode numbers. This principle is repeated within the segment—that is, segments may be of varying size, but they are always made up of some multiple of the smallest file system unit, namely the Subsegment. Within the segment, each Subsegment is again responsible for a fixed subset of the Inodes in the segment.
  • The data-centric nature of the file system of the present invention, and the advantages of such a data-centric file system can be appreciated from the fact that essentially every operation that can be performed on a file system is associated with some single (globally) unique FID (e.g., Inode number). In the exemplary embodiment, to determine where that file is stored, and hence where the operation needs to be performed, simply dividing the Inode number by the constant 8,388,608 yields the segment number. (If the result is not a whole number, it is truncated to the next lower whole number. For example, if the Inode number divided by the constant was 1.983, the segment number would be 1.)
  • This convention also makes it simple to distribute the file system over multiple servers as well—all that is needed is a map of which segments of the file system reside on which host file server. More specifically, once the segment number is derived from the Inode number, the appropriate file server can be determined by mapping, such as a routing table. In the simplest case, this map is simply a table that lists the file servers (on which the local agents execute) corresponding to particular segments. In one exemplary embodiment, the file server is identified by its IP address. More generally, file servers may be organized in groups, in a hierarchy, or in some other logical topology and the lookup may require communication over the network with a group leader or a node in a hierarchy. For efficiency, such information may be cached on a leased basis with registration for notification on changes to maintain coherency. The local file operation(s) 226 and peripheral storage operation(s) 228 at the determined file server can then determine the file to which an operation pertains. Once the request has been satisfied at the determined file server, the result is sent back to the original (portal) server (which may be the same as the determined file server). The original (portal) server may then return the result to the requesting client.
  • In one exemplary embodiment of the present invention, each (globally) unique FID (e.g., Inode) resides in a segment referred to as the “controlling segment” for that FID (e.g., Inode). As is understood in the art, an Inode is associated with each file and encloses key information, metadata, about the file (e.g., owner, permissions, length, type, access and modification times, location on disk, link count, etc.), but not the actual data. In the exemplary embodiment of the present invention, the data associated with an Inode may actually reside on another segment (i.e., outside the controlling segment of the Inode). However, the controlling segment of a particular Inode, and the segment(s) containing the data associated with the particular Inode, will be addressable and accessible by the controlling file server. A group of segments that is addressable and accessible by a given file server are referred to as a “maximal segment group”. Thus, the Inode and its associated data (e.g., the contents of the file) are contained within a maximal segment group.
  • At any given time, a segment is under the control of at most one local agent (i.e., residing on the local file server). That agent is responsible for carrying out file system operations for any FID controlled by that segment. The controlling segment's unique identifier (“SID”) for each FID is computable from the FID by the translator using information available locally (e.g., in the superblock 330). In the foregoing exemplary embodiment, the controlling SID may be computed simply via integer division of the FID by a system constant, which implies a fixed maximum number of files controlled per segment. Other algorithms may be used.
  • Data from a file may be contained in a segment in the maximal segment group which is not under the control of the file server responsible for the controlling segment. In this case, adding space to or deleting space from the file in that segment may be coordinated with the file server responsible for it. No coordination is necessary for simple read accesses to the blocks of the file.
  • Client (user) entry and access to the entire file system may thus occur through any unit that has translation and routing operations, and that has access to a segment location map. Such units may be referred to as “portals.” Multiple simultaneous access points into the system are a normal configuration of the file system. Note that a portal unit will not need a file system call translator operation(s) 232, assuming that such operations are provided on the client (end user) machines. However, such a configuration will require software installation and maintenance on a potentially large number of machines.
  • 2. Exemplary Methods
  • Exemplary methods that may be used to effect some of the operations introduced in § V.C.2. above, are now described.
  • FIG. 5 is a flow diagram of an exemplary method 232 b′ that may be used to effect a file system call translation operation 232 b. A file system call is accepted, as indicated by block 510. It is assumed that the file system call includes some type of globally unique file identifier (“FID”), such as an Inode number for example. Note that such a globally unique identifier will typically not be included when a file (or other component such as a directory or folder) is first provided (e.g., written) to the file system. As shown by conditional branch point 515 and block 525, if this is the case, a globally unique identifier (e.g., an Inode number) is assigned. Such assignment may be based on policies and/or global file system state information. Next, as shown in block 520, the relevant segment number is determined based on the unique FID (e.g., Inode number) of the file to which the file system call pertains. Recall that this may be done by dividing an Inode number by some fixed number (and truncating to the next lower whole number if a remainder exists) in one embodiment. Then, a file system transaction is generated based on the file system call, as indicated by block 530. That is, a file system call from a client may have a particular format or syntax. If necessary, information from this file system call is simply reformatted into the appropriate syntax used in the distributed file system. This syntax may be a transaction object containing one or more so-called atomic file operation commands.
  • At conditional branch point 540, it is determined whether or not the transaction (or parts thereof) can be completed using the local cache (assuming that such a local cache is provided). If so, the transaction (or parts thereof) is completed locally, as indicated by block 550, and the method 232 b′ is left via RETURN node 570. Otherwise, the transaction (or parts thereof) is forwarded to a routing operation as indicated by block 560, and the method 232 b′ is left via RETURN node 570.
  • FIG. 6 is a flow diagram of an exemplary method 234′ that may be used to effect a transaction routing operation 234. As indicated by block 610, the segment number is used to determine (e.g., mapped to) a server identifier or address (or at least to another machine that can map the segment to a server identifier or address). The server identifier or address may be an Internet protocol (“IP”) address. For example, in the exemplary data structure 235′ of FIG. 4 if the segment number (or a part thereof not masked out by a mask 414) matches a stored segment number 422, or falls within a range of segment numbers 412, the appropriate file server location, or partial file server location, 416 can be determined. Such a table may be manually or automatically populated (e.g., using file system administration 240) in a variety of ways, many of which will be apparent to those skilled in the art. For example, segment number-file server (address) associations can be manually tracked, and provisioned manually, by some global (i.e., file system wide) administrative authority. Each portal could then be manually configured using information from the administrative authority. On the other end of the spectrum, some automated signaling and network state distribution protocols, such as those commonly used by routers for example, may be used to collect file server information, provision segment numbers to that file server, and distribute segment number-file server associations to all portal units.
  • Referring back to FIG. 6, at conditional branch point 620, it is determined whether or not the portal/server is the same file server as that identified. That is, whether or not the transaction is to be performed locally is determined. This can only be the case when portal and file server functionality is provided on a machine with a single address for such purposes. (Recall, e.g., the file server and portal 250 of FIG. 2.) If so, the transaction is passed to the local peripheral storage interface operation(s) via the local file operation(s), as indicated by block 630. (Recall, e.g., operations 226 b and 228 b of FIG. 2.) The method 234′ is then left via RETURN node 650.
  • Referring back to conditional branch point 620, if it is determined that the file server identified differs from the portal machine, the transaction is passed to network interface operation(s) 640, before the method 234′ is left via RETURN node 650.
  • FIG. 7 is a flow diagram of an exemplary method 236′ that may be used to effect a network interface operation 236. Upon receipt of a transaction, the transaction is “packaged” for forwarding towards the appropriate file server, as indicated by block 710. For example, if the appropriate file server has an IP address, the transaction may be carried as data in an IP packet. The packaged transaction is then forwarded towards the appropriate file server based on the file server address information, as indicated by block 720. The method 236′ may then be left via RETURN node 730. A complementary method 224′, not shown, can be used to unpackage a transaction (and save the address of the portal server) when it reaches the appropriate file server.
  • FIG. 8 is a flow diagram of an exemplary method 226′ that may be used to effect local file operations 226. First, as indicated by block 810, the request is translated into input/output requests. These requests are then submitted to the peripheral storage operation(s) 820. The method 226′ is then left via RETURN node 830.
  • Having described various exemplary methods that may be used to effect various operations, exemplary apparatus for effecting at least some of such operations are described in §V4.C.3. below.
  • 3. Exemplary Apparatus
  • FIG. 9 is high-level block diagram of a machine (e.g., a computer, a personal computer, a hand-held computer, a network server, etc.) 900 that may effect one or more of the operations discussed above. The machine 900 basically includes a processor(s) (e.g., microprocessors, ASICs, etc.) 910, an input/output interface unit(s) 930, a storage device(s) (e.g., RAM, ROM, disk-based storage, etc.) 920, and a system bus or network 940 for facilitating the communication of information among the coupled elements. An input device(s) 932 and an output device(s) 934 may be coupled with the input/output interface(s) 930.
  • The processor(s) 910 may execute machine-executable instructions to effect one or more aspects of the present invention. At least a portion of the machine executable instructions may be stored (temporarily or more permanently) on the storage device(s) 920 and/or may be received from an external source via an input interface unit 930.
  • D. Examples of Operations of Exemplary Embodiment
  • In an exemplary embodiment of the present invention, every basic file system function, whether client-oriented (e.g., read, write, etc.) or system-oriented (e.g., format disk, create file system, de-fragment disk, etc.) is viewed as a simple transaction object containing (atomic file operation) command substructures with slots for input parameters and results. The thread, which generates the transaction, will know how to set or read these input/output slots.
  • In the exemplary embodiment, each transaction type can be thought of as having two functions associated with it—a processing function and a packaging function. The processing function has two modes—a query mode and a normal mode. In the query mode, the function simply provides the caller (the main thread) with the file system and controlling Inode number of a specific transaction to be used to determine where the transaction must be processed. In the normal mode, the function performs whatever work is necessary to satisfy the file system function. The packaging function handles packaging or un-packaging the input or output data of the transaction for transport between (portal and file server) hosts.
  • In addition, in the exemplary embodiment, each transaction has function-specific state variables used by the processing function. Each processing function is written to carefully track progress in executing the file system request so that at any point it may pass control over the transaction object to another process while awaiting a required resource, and then resume execution where it stopped when the resource becomes available. In effect, then, transactions are implemented as atomic file operations. These atomic file operations “block” individually, so that the threads themselves never have to.
  • To better understand how to read or write pages on disk (or some other storage medium), examples of operations of an exemplary embodiment of the present invention is now described. More specifically, an example of a file read is described in § V.D.1. with reference to FIG. 10. Then, an example of a file write is described in § V.D.2. with reference to FIG. 11.
  • In both cases, it must be understood that whenever a transaction needs to wait for a resource, such as a file for example (e.g., because it needs to be read from the disk, or because another transaction has it locked), the transaction may be queued while it waits for the resource to become available. In one embodiment, within the transaction (processing routine) itself, a transaction pointer is set to NULL. Whether or not the transaction pointer is valid (not NULL and with no error code) may be checked constantly. In addition, state variables within the transaction command structure may be maintained so that when the resource becomes available and the transaction is placed back into the execution queue, the transaction starts at the appropriate place (e.g., at the appropriate atomic file operation).
  • The following description follows the logic in the following code fragment. The command pointer is a pointer to some typical transaction structure (referred to as an Ibrix transaction structure without loss of generality) with the following members (perhaps among others). Assume that all members have been initialized to zero or NULL.
  •     Typical_Cmd {
      /* Inputs */
      File_System *fs; /* Current file system */
      int iseg; /* Segment of sought block */
      int address;   /* Address of sought block */
      /* Workspace variables */
      Cpage *page;
      int have_lock;
    };
      #define NORMAL_PAGE 0
  • In each of the following examples provided in §§ V.D.1. and V.D.2., it is assumed that the relevant file (e.g., the relevant Inode and the data associated with the relevant Inode) is stored on, or is to be stored on, a (file server) unit other than the (portal) unit receiving the file call.
  • 1. Example of a Read Operation
  • FIG. 10 illustrates communications between operations in an exemplary sequence for executing a file system read request. A client (user) process (not shown) issues a file system call 1005 which is accepted by the file system call translation operation(s) (e.g., thread) 232. The operation 232 translates the client's file system call to a file system call having a transaction object-command syntax. More specifically, the request enters a file system call translation operation(s) (e.g., thread) 232. The operation(s) 232 allocates a transaction structure, fills in the operating system specific command substructure with the input parameters, and forwards the transaction to the transaction routing operation(s) 234 (e.g., places the transaction in the transaction router operation(s) thread input queue) as indicated by communication 1010.
  • The transaction routing operation(s) (e.g., thread) 234 calls the appropriate processing routine in query mode, obtaining the controlling Inode number of the request and the file system. The routing operation 234 computes the segment on which the controlling Inode resides. Then as indicated by communications 1015 and 1020, using the segment number, and the segment to file server address map 235, the routing operation 234 determines a server address. As stated above, in this example, the file server is remote. Since the segment is determined to be on another (file server) unit, the transaction routing operation(s) (e.g., thread) 234 marks the destination in the transaction and forwards the transaction to the network interface operation(s) 236 (e.g., puts the transaction on the input queue of the network interface operation(s) thread) as indicated by communication 1025.
  • The network interface operation(s) (e.g., thread) 236 calls the packaging routine on the transaction and forwards the packaged transaction to the appropriate (file server) unit as indicated by communication 1030. At the appropriate (file server) unit, the network interface operation(s) (e.g., thread) 224 calls the packaging routine to un-package the transaction and passes the transaction on to its local file system operation(s) (e.g., thread) 226 as indicated by communication 1035.
  • When the local file system operation(s) (e.g., thread) 226 determines that a read transaction is to be processed on the current machine, possibly after it has received the read transaction from another machine via the network interface operation(s) (e.g., thread) 224, it 226 then uses the normal mode processing routine to satisfy the file system function. This may actually involve multiple cycles through the processing function as the read transaction must typically wait for various resources to come available at different points in the function. (See, e.g., communications 1040 and 1045). As described below, the read transaction, performed at the local file operation(s) 226, may include pin, lock, and read&release commands.
  • The following illustrates three stages of an exemplary read operation:
  • Xaction *typical_read (Xaction *xact, Inum *inum) {
       . . .
     /* 1. Pin the page */
      if (X_VALID(xact)) {
      Segment *segment = cmd->fs->segments[cmd->iseg];
      int n_pages = 1;
      cmd->page = pin_or_load_pages(&xact, cmd->address,
    NORMAL_PAGE, n_pages,
    segment);
      /* NOTE: xact may now be NULL! */
      }
      /* 2. Lock for reading */
      if (X_VALID(xact) && cmd->have_lock == 0) {
      if (set_read_lock(cmd->page, PAGE_INDEX(cmd->address),
    &xact)) {
       cmd->have_lock = 1;
      }
      /* NOTE: xact may be NULL here! Note that in version
        * 1.0, set_read_lock takes a pointer to the xact,
       * not its address. In that case, we must have an
        * else clause which explicitly sets xact to NULL
        */
      }
      /* 3. Read & release */
      if (X_VALID(xact)) {
      char *buf = cmd->page->pages[PAGE_INDEX(cmd->address)];
       . . ./* Read the buffer */
      unset_read_lock(cmd->page, PAGE_INDEX(cmd->address));
      unpin_cache_page(cmd->page, PAGE_INDEX(cmd->address));
      xact->info |= IB_DONE;
      }
      return xact;
     }
  • The first stage of the read command, indicated by:
      • / * 1 Pin the page * /
        loads the page into the cache from the disk and pins it for use. This first stage is quite simple, but it is also the most frequent type of action to take in any transaction in the file system of the present invention. Whether a page is to be read or modified, the system must first get it. A routine checks whether the page already exists in the local cache. If so, it attempts to pin it on behalf of the calling transaction. If the page is not available from the local cache, the routine generates a request to load the page to the disk and places the request on the input queue of a peripheral storage interface operation(s) thread. The transaction pointer is also recorded in the load request so that the thread may place it in the wait queue of the page once it has created it. Once recorded, the pointer is set to NULL. Note that the pointer may also become NULL if the page existed in the local cache, but the pin failed.
  • Assuming that the first time through, the page was not available in the local cache, the transaction will be placed back in the local file system operation(s) thread queue once the page has been loaded. Note that the same instructions as before will be re-executed, e.g., until they succeed.
  • In the second stage of the read command, indicated by:
      • /* 2. Lock for reading */
        the page is locked so that the contents can be read without any danger of another thread modifying the page during such a read. The function that sets the lock performs in the same manner as the pin function.
  • An additional state variable (cmd->have_lock) is introduced. This state variable is not absolutely necessary in the example routine as written here, since there are no subsequent places in the routine where the transaction will have to wait on a queue. However, in general, it may be necessary to introduce some state variable to ensure that the same lock is not retried on a subsequent entry into the routine on the same transaction.
  • Once the page is locked by the transaction, in a third stage of the read command, indicated by:
      • /* 3. Read & release */
        the page is read. Once done with the read, the transaction will release the lock and unpin the page. Note that, if further use of the same page is anticipated, the transaction might unset the read lock, but not unpin. It is then important to ensure that when the transaction is done, it will then unpin the page.
  • Once done (See, e.g., communications 1050 and 1055), the read transaction (i.e., the file, etc.) is passed back to its source. The read transaction may go directly to the file system call translation operation(s) (e.g., thread) 232, and thence to the client (user) that made the original file system call. Alternatively, the transaction may pass through the network interface operations (e.g., threads) 224 and 246 to be passed back to the original (portal) unit, and thence to the file system call translation operation(s) (e.g., thread) 232 there (as indicated by communications 1060, 1065 and 1070), and then to the client (user) that made the original file system call.
  • 2. Example of a Write Operation
  • FIG. 11 illustrates communications between operations in an exemplary sequence for executing a file system write request. A client (user) process (not shown) issues a file system call 1105 which is accepted by the file system call translation operation(s) (e.g., thread) 232. The operation 232 translates the clients file system call to a file system call having a transaction object-command syntax. More specifically, the request enters a file system call translation operation(s) (e.g., thread) 232. The operation(s) 232 allocates a transaction structure, fills in the operating system specific command substructure with the input parameters, and forwards the transaction to the transaction routing operation(s) 234 (e.g., places the transaction in the transaction router operation(s) thread input queue) as indicated by communication 1110. If the file has not yet been written to the file system, then the file system call translation operation(s) 232 may assign a globally unique file identifier (FID) (e.g., an Inode number). Such FID (Inode number) assignment may be based on policies and/or a global state of the file system.
  • The transaction routing operation(s) (e.g., thread) 234 calls the appropriate processing routine in query mode, obtaining the controlling Inode number of the request and the file system. The operation 234 computes the segment on which the controlling Inode is to reside. Then as indicated by communications 1115 and 1120, using the segment number, and the segment to file server address map 235, the operation 234 determines a server address. As stated above, in this example, the file server is remote. Since the segment is determined to be on another (file server) unit, the transaction routing operation(s) (e.g., thread) 234 marks the destination in the transaction and forwards the transaction to the network interface operation(s) 236 (e.g., puts the transaction on the input queue of the network interface operation(s) thread) as indicated by communication 1125.
  • The network interface operation(s) (e.g., thread) 236 calls the packaging routine on the transaction and forwards the packaged transaction to the appropriate (file server) unit as indicated by communication 1130. At the appropriate (file server) unit, the network interface operation(s) (e.g., thread) 224 calls the packaging routine to un-package the transaction and passes the transaction on to its local file system operation(s) (e.g., thread) 226 as indicated by communication 1135.
  • When the local file system operation(s) (e.g., thread) 226 determines that a write transaction is to be processed on the current machine, possibly after it has received the write transaction from another machine via the network interface operation(s) (e.g., thread) 224, the local file system operation 226 then uses the normal mode processing routine to satisfy the file system function. This may actually involve multiple cycles through the processing function as the read transaction must typically wait for various resources to come available at different points in the function. (See, e.g., communications 1140 and 1145). As described below, the write transaction, performed at the local file operation(s) 226, may include pin, lock, and write&dirty commands.
  • The first two stages of modifying an existing disk block (as opposed to allocating a new block to write to) are essentially identical to the first two stages of the read transaction described in § 4.4.1 above, except that the lock request is set_write_lock rather than set_read_lock. Only the code beginning at stage 3 is shown.
  • Xaction *typical_write (Xaction *xact, Inum *inum) {
       . . .
     /* 1. Pin the page - as in read */
     /* 2. Lock for writing - analogous to read */
     /* 3. Write & dirty */
     if (X_VALID(xact) && cmd->did_write == 0) {
     char *buf = cmd->page->pages[PAGE_INDEX(cmd->address)];
      . . . /* Make changes to the buffer */
     unset_write_lock(cmd->page, PAGE_INDEX(cmd->address),
    (IBC_PAGE_DIRTY|IBC_PAGE_LOCK_FLUSH));
     cmd->did_write = 1;
     wait_on_page_queue(cmd->page, &xact);
     /* NOTE: xact is now NULL! */
     }
     if (X_VALID(xact) && cmd->did_write) {
     int iw = PAGE_INDEX(cmd->address);
     if (cmd->page->info[iw] & IBC_PAGE_READY) {
      /* We are DONE! */
      unset_flush_lock(cmd->page, iw);
      unpin_cache_page(cmd->page, iw);
      xact->info |= IB_DONE;
     }
     else {
      wait_on_page_queue(cmd->page, &xact);
     }
     }
     return xact;
    }
  • The difference from reading occurs at the point when the transaction unlocks the page. Unlike reading, writing changes the contents of the page. Thus, when the transaction unlocks the page, the cache is informed that the transaction modified the page. This may be done by passing the IBC_PAGE_DIRTY flag. Setting this flag on the page will cause it to be placed in the dirty page queue to be written to disk the next time the cache thread executes.
  • If it is desired to confirm that a write of the new data has actually occurred, along with the IBC_PAGE_DIRTY flag, the transaction may also set a flush lock. (See, e.g., communications 1160, 1165 and 1170.) Typically, the page cannot actually be written until the transaction exits and the cache thread executes, so the transaction explicitly places itself on the page wait queue.
  • Once the write has occurred, the transaction will be placed back on the local file system operation(s) thread's input queue and it will reenter this routine. The transaction can verify that it is indeed here because the write completed (by checking the PAGE_READY flag). If not, the transaction can re-insert itself on the page queue. If so, the transaction can unset the flush lock, unpin the page and exit.
  • Note that if verifying the write is not necessary or not desired, then in the third stage of the transaction could have done the following:
  • /* 3. Write & dirty */
    if (X_VALID(xact) && cmd->did_write == 0) {
     char *buf = cmd->page->pages[PAGE_INDEX(cmd->address)];
     . . . /* Make changes to the buffer */
     unset_write_lock(cmd->page, PAGE_INDEX(cmd->address),
    IBC_PAGE_DIRTY);
     unpin_cache_page(cmd->page, PAGE_INDEX(cmd->address));
     xact->info |= IB_DONE;
    }
  • As before, the cache will process the write, but it is not confirmed.
  • In one exemplary embodiment of the present invention, the maximum length of a file name is 8191 characters (i.e., one file system block). Within the directory structure itself, however, only 42 (constant MAX_FAST_NAME_SIZE) characters may be recorded. If the name exceeds this size, it is replaced by a 16-byte number computed by a message digest algorithm (the MD5 algorithm, See, e.g., RFC 1321 which is incorporated herein by reference) for lookup/comparison purposes, plus a pointer to a block containing the name itself.
  • E. Conclusions
  • As can be appreciated from the foregoing, the present invention teaches a file system that can span a disparate mix of heterogeneous units such as portals, files servers, and combinations thereof. These units are connected over one or more networks and are managed and administered on a global basis. Consequently, at least some systems implemented in accordance with the present invention allow the transparent addition of any resources into the overall system without the need for planning or downtime.
  • As far as a client (user) is concerned, the entire file system resides on a portal unit. As long as the protocols used by the client employ file-locking procedures, any or all servers participating in a file system of the present invention may act as portal machines.
  • The Inode mapping convention allows a distributed file system to be realized.
  • F. Other Preferred Embodiments
  • Other embodiments are within the scope and spirit of the invention. For example, while the description above discussed transferring a call to a file server that owns and controls the data associated with an incoming read request, or to a server that will own and control data associated with an incoming write request, a system according to the invention can provide for authorization for a server to access another server's associated storage for reading and writing data.
  • Referring to FIG. 12, a data storage and access system 10 comprises clients 12 1-12 3, an IP switch 14, file servers 16 1-16 3, a fiber channel (FC) switch 18, storage 19, and an administrator 22. Although three clients 12 and three file servers 16 are shown, other numbers of these devices/systems may be used, and the quantities of the items need not be the same. The storage 19 can be any of a variety of physical media, such as disks, and provides virtualized of a file system. As indicated in FIG. 12, the storage 19 stores segments 20 m,n that are portions of a file system and that may be stored anywhere physically on the storage, but whose data are logically grouped into the segments 20. Segments are typically incomplete portions of the file system in that they may refer to file system entities in other segments. For example, a directory/folder of files in the segment 20 1,3 can refer to other segments 20, e.g., the segment 20 2,1 and/or the segment 20 3,2 with addresses in these other segments 20 2,1, 20 3,2 where the corresponding files are stored. A group of the segments 20 is associated with, and controlled by, a corresponding one of the servers 16. For example, the segments 20 1,x are associated with and controlled by the server 16 1, etc. The servers 16 control the segments 20 in that the servers 16 arbitrate access to the segments 20, particularly modifying metadata including allocating file system blocks, modifying directories, etc. The file servers 16 can be any device or portion of a device that controls segment access. The system 10 provides a distributed file system in that segments of the file system are dispersed across the storage 19 such that it is not required that the file system be controlled by one server 16 and allows for a plurality of servers 16 to simultaneously control portions of the file system. The clients 12 and the IP switch 14, the IP switch and the file servers 16, the file servers 16 and the FC switch 18, and the FC switch 18 and the storage 19 are configured and coupled for bi-directional communication. Transmission apparatus other than the FC switch 18 would be acceptable, such as an iSCSI device or any of numerous high-speed interconnects available now or in the future. Further, the file servers 16 are configured and coupled for bi-directional communication with each other and with the administrator 22.
  • Any of the file servers 16 may be general computing devices, such as personal computers, workstations, etc. The file servers 16 may have their own local storage instead of or in addition to the storage 19 and can control/manage segments of a file system on their local storage. The file servers 16 may be clustered to work on a common issue and the clustered servers 16 may be managed/regulated in accordance with the invention.
  • The file servers 16 are configured to request access authorization for files located in segments that are owned/controlled by another file server 16. As discussed above, the file servers 16 are computer systems that include processors and memories that store software instructions that are readable and executable by the processors to carry out a variety of functions. Included in these functions are the abilities to request authorization to access a file system segment controlled by another file server 16, and to grant authorization to another file server 16 that requests access to a file system segment controlled by itself.
  • Each file server 16 is preferably configured to be able to request and act upon authorization for access to a file system segment controlled by another server 16. Each server 16, e.g., the server 16 1, can determine that an incoming call from a client requires access to a segment controlled by another server 16, e.g., the server 16 3, e.g., for reading a file from the segment or writing a file to the segment. The server 16 1 is configured to send an authorization request to the appropriate server, here the server 16 3, requesting authorization for access to the appropriate file system segment. The request will contain the FID of the desired file, here the Inode number (or FCB). The server 16 1 is configured to wait for and receive an authorization from the other server 16 3 that includes the Inode corresponding to the Inode number provided in the authorization request. The server 16 1 is configured to search the returned Inode for the address(es) of the appropriate block(s) in the file that the server 16 1 will access to properly respond to the incoming call (e.g., to find the appropriate blocks of information to read).
  • Each file server 16 is further configured to receive, process, and respond to access authorization requests from another file server 16. Each server 16 can receive an incoming request for access to a file with a designated Inode number. The server 16 can process the request to search the server's associated/controlled segment(s) 20 to find the Inode corresponding to the Inode number. The Inode has a fixed size, e.g., 64 bytes or 128 bytes, etc., for a given system (implementation) but the size of the Inode may vary from implementation to implementation. The Inode includes the addresses of blocks associated with a file. The referenced blocks may contain data for the file and/or further addresses of further blocks where actual data, and/or still further addresses, are stored. The addresses may refer to other segments 20, including segments controlled by a server 16 other than the server 16 that controls the Inode. Each server 16 is further configured to send the found Inode to the server 16 that requested access to the file associated with the Inode.
  • The file servers 16 are further configured to produce, delete, and modify Inodes as appropriate. As new disks or other storage media are added to the storage controlled by a file server 16, the server 16 can produce new Inodes, or modify existing Inodes to reference addresses of the new storage media. Further, existing Inodes can be modified or deleted, e.g., as files or portions of files are deleted. Such modifications to Inodes occur essentially instantly and transparently to the clients 12, with no apparent downtime of the file server 12 performing the modification.
  • Also, the servers 16 can assign FIDs and allocate memory for write requests to segments 20 that the servers 16 control. Each of the servers 16 can pre-allocate an amount of memory for an incoming write request. The amount of pre-allocated memory can be adjusted and is preferably a fixed parameter that is allocated without regard, or even knowledge, of a quantity of data (e.g., a size of a file) to be written. If the pre-allocated memory is used up and more is needed, then the requesting server 16 can request more memory, and the server 16 that controls the appropriate segment 20 can pre-allocate another portion of memory. The server 16 that controls the segment 20 to be written to will allocate an FID (e.g., an Inode number). The controlling server 16 can supply/assign the Inode number and the Inode, complete with storage block addresses. If not all of the pre-allocated block addresses are used by the write, then the writing server 16 will notify the controlling server 16 of the unused blocks, and the controlling server 16 can de-allocate the unused blocks and reuse them for future write operations.
  • The administrator 22 is configured to monitor the file servers 16, and collect information from and disseminate information to the file servers 16. The administrator 22 is also configured to allocate Inode numbers for new segments 20. The administrator 22 can determine when a file server 16 and/or storage (and thus room for new segments 20) is added to or removed from the system 10, determine appropriate new Inode numbers, and provide information to the file servers 16 so that the servers 16 can determine which file server 16 controls a particular segment 20 of the file system. For example, the administrator 22 can provide information to affect how the file servers 16 determine which file server 16 controls the file segment 20 associated with an incoming request. This may include, e.g., providing information to alter a mapping of segments 20 and file servers 16, or information to modify an algorithm used by the file servers 16 to determine the controlling file server 16 from an FID.
  • The administrator 22 is configured to help the servers 16 migrate ownership/control of the segments 20 of the file system. The administrator 22 and servers 16 can move ownership of the segments 20 without moving the data of the segments 20. The migration can be essentially instantaneous. For example, the administrator 22 can compute and disseminate new mappings (e.g., tables), and/or edits to existing mappings (e.g., tables), linking segments and file servers 16. The edits can indicate changes from the current mapping to a new mapping. The administrator 22 also propagates a future time at which each of the servers 16 whose set of segments 20 is affected by the migration will replace or update the old mapping. If no segment 20 associated with a server 16 is affected, then that server 16 may replace or revise its mapping at a time later than the common time at which the affected servers 16 replace/update their mappings. Multiple servers 16 with no affected segments 20 may replace/update their mappings at different times (both from the common time and from each other). The old mappings can be replaced or edited by the servers 16 using the information from the administrator 22. Using this technique, new storage can be accommodated by replacing or amending the segment-to-server tables. Preferably, if a segment 20 is to be migrated from being under one server's control to another server's control, the administrator 22 quiesces the segment 20 by inhibiting any action to be taken regarding the segment 20 (e.g., reading from or writing to the segment 20). This can be accomplished, e.g., by instructing the current and new owner servers 16 to disallow any accesses to the segment 20. After the ownership migration for the segment 20 is completed, the administrator 22 allows access to the segment 20, e.g., by instructing the new owner that it can access, and authorize other servers 16 to access, the segment 20.
  • Mappings are preferably assigned version numbers, such as a number from a monotonically increasing series of integers, to help prevent older mappings mistakenly being used. The servers 16 can include the version number of the mapping used in formulating the request to help avoid race conditions. A receiving server 16 determines whether the mapping version of the request is older, newer, or the same as the receiving server's mapping. If the receiving server's mapping is older, then the receiving server 16 obtains the new mapping from the administrator 22. If the receiving server's mapping is the same, then the receiving server 16 processes the request. If the receiving server's mapping is newer than that used by the requesting server 16, then the receiving server 16 responds with a “map out of date” response that will cause the requesting server 16 to revalidate its mapping and act accordingly regarding the request.
  • In operation, referring to FIG. 13, with further reference to FIGS. 12 and 14, a process 30 for using one file server 16 to access and read a file controlled by another file server 16 using the system 10 includes the stages shown. The process 30, however, is exemplary only and not limiting. The process 30 can be altered, e.g., by having stages added, removed, or rearranged. For exemplary purposes, it is assumed that the client 12 2 sends a read-request call that is received by the file server 16 1 for a file that is controlled by the file server 16 3 and is stored on one or more of the segments 20 3,x. Other combinations of clients 12, file servers 16, and segments 20 may be involved in similar processes, including for writing to a file.
  • At stage 32, the client 12 2 sends a read request to one of the file servers 16 via the IP switch 14. The client 12 2 (and in particular an application running on the client 12 2) sends a read request to the IP switch 14 as depicted by a communication 40. The IP switch 14 determines to which file server 16 to send the incoming call. This decision may be made in a variety of ways, such as randomly, or intelligently, e.g., to help balance the load of calls to the servers 16. In this example, the IP switch 14 sends the call to the file server 16 1 as depicted by a communication 42.
  • At stage 34, the file server 16 1 determines the server 16 that controls the file that the client 12 2 wishes to read, and requests access authorization from that server 16, assuming the server 16 is not the controlling server 16. The server 16 1 analyzes the call to determine the FID, here the Inode number, included in the call. From this Inode number, the server 16 1 determines the server 16 in control of the corresponding file. The server 16 1 can apply any appropriate mechanism for determining the appropriate controlling server 16. For example, the server 16 1 could store a list or apply an algorithm that associates Inode numbers with servers 16. The server 16 1 may instead store a list or apply an algorithm or function that associates Inode numbers with segments of the file system and use a list, algorithm, or function that associates segments with the servers 16. Other mechanisms may also be used to determine the appropriate server 16. Here, the server 16 1 determines that the server 16 3 owns/controls the segment containing the file (or file portion) corresponding to the Inode number. The server 16 1 sends a communication 44 to the server 16 3 containing the Inode number from the call 40 and requesting authorization to access the corresponding file.
  • At stage 36, the controlling file server 16 3 receives the Inode number from the server 16 1 and replies with the corresponding Inode. The server 16 3 searches its associated segments 20 3,x using the received Inode number from the requesting server 16 1 to find the corresponding Inode uniquely identified by the Inode number. The controlling file server 16 3 replies with a communication 46 to the requesting file server 16 1 containing the Inode corresponding to the Inode number of the call. The Inode preferably contains indicia of addresses of storage blocks of file data and/or further addresses of storage blocks from which all the data of the file associated with the Inode number of the call can be obtained. By providing the Inode, and thus the addresses (directly or indirectly) of the blocks storing the file, the communication 46 provides authorization to the requesting file server 16 1 to access the associated storage blocks/file.
  • At stage 38, the requesting file server 16 1 accesses and reads the appropriate blocks of data from the appropriate segment(s) 20 through the FC switch 18. The file server 16 1 determines the appropriate blocks of data to be accessed by reading the Inode for the block addresses and possibly one or more levels of indirect addresses. The file server 16 1 sends a communication 48 to the FC switch 18 with the appropriate block addresses. The switch 18 forwards the block addresses to the appropriate segment(s) 20, here the segment(s) 20 3,x owned by the file server 16 3, in a communication 50. The segment(s) 20 3,x responds to the FC switch 18 in a communication 52 with the data from the referenced addresses. The switch 18 forwards the data to the file server 16 1 in a communication 54 with the data from the blocks. Further communication between the server 16 1 and the segment(s) 20 3,x may be carried out as appropriate if the contents of one or more blocks contained further addresses. In this case, the server 16 1 determines which of these further blocks are to be read and communicates with the segment(s) 20 3,x, or other segment(s) 20, accordingly.
  • At stage 39, the file server 16 1 provides the information read from the segment(s) 20 3,x to the requesting client 12 2. The server 16 1 sends the read information in a communication 56 to the IP switch 14 that forwards the information to the requesting client 12 2 in a communication 58.
  • Thus, preferably each of the servers 16 can act as an out-of-the-data-path metadata controller. The data path is the flow of data between the client 12 and the segment(s) 20. In FIG. 14, the data path is from the client 12 2 through the IP switch 14, through the file server 16 1, through the FC switch 18 to the segment(s) 20 3,x and back again. Thus, the server 16 3 that controls the accessed file and that provided the metadata Inode to the in-path file server 16 1 is the out-of-the-data-path controller in this example. Preferably each of the servers 16 can act as such a controller, but this is not required. The servers 16 can also act as in-the-data-path controllers if authorization from another server 16 is not needed.
  • A write request would proceed in much the same way as the read request. Primary differences would be that the Inode number would not be provided in the request, but would be produced or allocated, and data would not be read and provided to the client 12, but received from the client 12 and written to an appropriate segment 20. The Inode number would be allocated by the controlling server 16 in response to a request from the receiving file server 16. The controlling server 16 pre-allocates a quantity of memory as reflected in the Inode returned by the controlling server 16 to the requesting/receiving server 16. The receiving file server 16, after obtaining authorization if needed, would communicate with the requesting client 12 through the IP switch 14 to obtain the data to be written. The file server 16 would supply the data to the appropriate segment 20 through the FC switch 18 and the segment 20 would write the data to the referenced address(es). The communication from the segment 20 to the file server 16 and the file server 16 to the client 12 would not be performed to the extent of reading and sending data, but could be performed to the extent of confirming that the write operation was successful.
  • If the data requires more file system blocks than the controlling server 16 pre-allocated, then the receiving server 16 can request allocation of additional blocks by the controlling server 16. In response to such a request, the controlling server 16 pre-allocates additional blocks, and these blocks can be referenced directly or indirectly by the Inode associated with the written data. The requesting server 16 informs the controlling server 16 of the file system blocks ultimately used by the write operation so that the controlling server 16 can allocate the pre-allocated but unused file system blocks to future write operations. The informing of the controlling server 16 could be in the form of sending a final Inode to the controlling server 16. Using the invention, instead of sending mapping information for a requested portion of a file, the Inode information is sent irrespective of what portion of the file was requested. While the Inode may vary in accordance with the file size, it will not vary in accordance with the size of the portion of the file requested.
  • Further, while stage 36 described above assumed that a single Inode of a fixed size would be available for return to the requesting server 16 regardless of the size of the data requested, Inodes of different sizes may be available. For example, multiple discrete sizes of Inodes may be available e.g., to accommodate files with extended attributes. Also for example, the size of the Inode itself may depend on the size of the file. Which of multiple Inodes is returned to a requesting server 16 may be dependent upon, e.g., the size of the data to be read, the size of the file from which data are to be read, the attributes (of the file) requested, the portion of the file to be read, etc. Selection of which Inode to return can be performed in a variety of ways. For example, the largest or the smallest Inode may be selected, the Inode may be selected randomly from a set of Inodes, or may be selected depending upon size (e.g., successively larger Inodes being selected if the size of data stored and/or requested exceeds successively higher thresholds), etc. Other factors may also be used to determine which Inode to return, such as a limit on the number of indirect addresses to be included in the returned Inode. Combinations of techniques may also be employed, such as by returning the smallest Inode if the size of data requested is below a threshold, and randomly selecting an Inode if the requested data exceeds the threshold. Whether to return a single, fixed-size Inode, or one of a set of discrete-sized Inodes may be selectable, e.g., by a programmer of a server 16, or by an indication in a data or authorization request.
  • Referring to FIG. 18, the file servers 16 may alternatively, or also, receive requests from local clients running applications. Instead of, or in addition to, the remote clients 12 (FIG. 14) running applications that request access through the file servers 16, the file servers 16 themselves may have local clients that run applications that request access to the segments 20. In these instances, the local clients communicate through a file system interface with other portion of the file server 16 to access the segments 20 and thus the communications through the IP switch 14 (FIG. 14) are not needed, but otherwise the communications are similar to those described with respect to FIG. 14. Such an arrangement may be called a “clustered” arrangement.
  • Referring to FIG. 15, with further reference to FIG. 12, a process 90 for migrating ownership of a segment 20 using the system 10 includes the stages shown. The process 90, however, is exemplary only and not limiting. The process 90 can be altered, e.g., by having stages added, removed, or rearranged.
  • At stage 92, it is determined that an ownership migration is in order, a segment 20 to be migrated is chosen, and a new owner selected. For example, the administrator 22 may determine that there are presently too many accesses to a particular server's segments 20, causing less than desired performance (e.g., response time) for the controlled segments 20. The administrator 22 may further determine that migrating ownership of one or more of the segments 20 controlled by that server 16 will improve performance. The administrator 22 may also determine that migrating ownership of one or more of the segments 20 by a server 16 may increase reliability or may improve some other desirable characteristic of the system. The administrator 22 may decide to move control of one or more segments 20 to a selected server 16 because most/many requests for the segment(s) are received by the selected server 16. For example, the administrator 22 may determine that a client 12 “moved” in that the client 16 changed which server 16 the client 12 uses to access the file system and thus decide to move control of the segment(s) regularly accessed by that client 12 to the server 16 now used to access the file system. Thus, for one or more of various possible reasons, the administrator 22 chooses a segment 20 for which ownership is to be moved. The administrator 22 also chooses a file server 16 to take control of the chosen segment. For example, the new server 16 may be chosen because it can accommodate the load associated with the chosen segment 20, or may be chosen because it currently has a small load.
  • At stage 93, the administrator 22 computes a new mapping and/or a delta mapping and assigns a new version number. The administrator 22 determines complete new mappings of file servers 16 and segments 20 (e.g., a table associating them) and/or indicia of the changes to convert the most recent version of the mapping into a new mapping.
  • At stage 94, the administrator 22 propagates indicia of the new mapping. The administrator 22 sends the new mapping and/or the deltas reflecting the changes to convert to the new mapping to the servers 16. The administrator 22 also sends an indication of a future time at which the servers 16 will switch to the new mapping or implement the changes to convert to the new mapping. If less than all of the servers 16 have segments 20 either moved from or added to their control, then only those that do have at least one segment 20 removed or added to their control may switch to or convert to the new mapping at the designated time. Other servers 16 may switch to or convert to the new mapping later, possibly at different times for each of the remaining servers 16. Having the affected servers 16 switch substantially simultaneously helps make the transition to and implementation of the new mapping substantially seamless and transparent to any application using data from the file system.
  • At stage 96, the segment 20 chosen to be moved is quiesced in preparation for ownership migration. The administrator 22 instructs the server 16 presently controlling, and the server 16 that will control, the chosen segment 20 not to access or authorize access to the chosen segment 20.
  • At stage 98, the control of the chosen segment 20 is migrated. The servers 16 update their tables with the proliferated edits or replace their tables with the new table. The servers 16 use the modified/new table that reflects the migration in ownership. The administrator 22 instructs the server 16 that now controls the chosen segment 20 to allow access to the chosen segment 20 thereby di-quiescing the chosen segment 20.
  • Referring again to FIG. 12, the server 16 is preferably configured to cause new files or directories to be written to the segments 20 in accordance with a non-hierarchical technique or policy. With such techniques/policies, a file or subfolder of a folder will be located/stored in a segment 20 other than the segment 20 storing the folder to which the subfolder or file belongs. Each server 16 can receive write requests from any of the clients 12 that need FIDs to be allocated. The servers 16 are configured to allocate an FID associated with a segment 20 controlled by the server 16 that receives the write request, i.e., a local segment 20 of the server 16. The servers 16 are further configured to determine which server 16 controls a parent directory to which the new file or directory belongs, and to tell the parent-directory-controlling server 16 of the allocated FID and its location. Each server 16 can, in response to receiving notification of a newly allocated FID, store in a parent directory an appropriate pointer and the new file/directory's location on one of the other servers 16.
  • The servers 16 may be configured to implement other non-hierarchical storage techniques. For example, in a folder/directory, subdirectories can be located hierarchically while files are located non-hierarchically or subdirectories can be located non-hierarchically while files are located hierarchically. Also, the servers 16 may be configured to help improve Inode distribution balance. To do this, each server 16 can consider the current Inode availability metrics (IAMs) of single cylinder groups (i.e., the smallest unit of a file system) associated with the servers 16. The IAM is a weighted average of the percentage of free Inodes and the percentage of free disk blocks. For example, the weighting 75/25 weighs in favor of free Inodes while a weighting of 0/100 weighs entirely in terms of free disk space. The IAM can be used to determine whether to store a new file or directory in a particular cylinder group. For example, in a single-server environment, the servers 16 will allocate an Inode in the same cylinder group as the parent directory for a new file, but for a new directory will allocate an Inode in the segment and cylinder group with the highest inode availability. For new files, however, the servers 16 can allocate an Inode elsewhere if the ratio of the maximum IAM and the IAM of the parent's cylinder group exceeds a threshold.
  • The servers 16 may implement still other non-hierarchical techniques, e.g., for multiple-server environments. For example, the servers 16 can allocate files to the cylinder group of the parent directory unless a significant IAM imbalance exists. With multiple servers 16, each server 16 has two locations associated with it, the locations being a coordinate pair in a two-dimensional array (e.g., a 100×100 array in x- and y-coordinates). Distances between the locations are the Euclidean distances between the two corresponding coordinate pairs. Distances are measured from the base server 16 that is either the server 16 on which the corresponding parent directory resides or the server 16 that receives a request. Depending upon the distances involved, and the IAM disparities, the servers 16 can determine where to allocate an Inode. For example, the servers 16 could query a jump threshold table, an example of which is provided in Table 1.
  • TABLE 1
    Switch Factor Distance
    150 50
    200 100
    300 200

    Table 1 represents thresholds (Switch Factor) for IAM Ratios and maximum distance between the base server 16 and the server 16 (e.g., server X) associated with the jump threshold table (i.e., the destination server). The IAM Ratio equals:

  • ((IAM of destination server)/(IAM of base server))·100.
  • Thus, the servers 16 will allocate Inodes to the base server 16 unless the IAM Ratio is greater than the Switch Factor and the distance from the base server 16 to the destination server 16 is less than or equal to the associated Distance in the jump threshold table. If these latter criteria are met, however, the servers 16 will allocate the Inode to the destination server 16 corresponding to the jump threshold table whose criteria of a row are met. If multiple jump threshold tables are searched, then the Inode is allocated to the server 16 corresponding to the first row of table criteria that are met. Thus, for the first row of Table 1, the Inode will be allocated to the server X if the IAM of server X divided by the IAM of the base server 16, multiplied by 100, exceeds 150 and the distance from the base server 16 to the destination server X is less than or equal to 50.
  • Another non-hierarchical technique that may be employed by the servers 16 for allocating Inodes to new files uses affinity groups. This affinity-group technique associates one or more of the clients 12 into groups and associates the groups with preferred file system segments for storing files. An affinity group can be one of the clients 12 or a collection of the clients 12. Each affinity group may have a preferred/primary set of segments to which new files are preferably allocated, and a secondary segment set, a tertiary set, etc., in order of priority. Each segment set provides an allocation pool and may have one or more segments in it. Within each segment set, Inode allocation may be based, e.g., on a round-robin technique that may help reduce internal fragmentation (not enough space left in a segment to grow a file that has already been allocated). Segments 20 that are filled beyond an upper threshold can be removed from a segment set and segments 20 that are (or become) filled less than a lower threshold can be added (or re-added) to a segment set.
  • The administrator 22 can establish, track, and modify affinity groups. The administrator 22 can define the groups and memberships and provide this information to the servers 16, and can track statistics on a per-segment basis for the affinity groups located on the segment 20. In particular, the administrator 22 can track for each segment 20 what percent of capacity is used by each affinity group, and for each group what percent of the group resides on a particular segment 20. The administrator 22 can use the tracked metrics to decide which segments 20 to migrate ownership for, e.g., to help load balancing. For example, if an affinity group is migrated on the client side (i.e., a client 12 accesses a different server 16), the ownership will be migrated for any segment 20 that has a certain level (e.g., at least 50%) of the segment 20 used by the affinity group, and for any segment 20 that contains a threshold level (e.g., at least 50%) of the group's entire usage. The administrator 22 records the statistics, allocation decisions, etc. persistently on segments 20 (e.g., in super-block information or in a special hidden file). Such recording may be synchronous (e.g., on every allocation/removal) or periodic (e.g., every minute). The administrator 22 could alternatively search through segments 20 and compile statistics.
  • The servers 16 may cause new files to be written to the segments 20 in accordance with other techniques. For example, the servers 16 can store new files in a hierarchical manner. The servers 16 can determine which server 16 controls the directory to which a new file belongs, and ensure that the new file is stored in the segment(s) 20 corresponding to the controlling server 16 (e.g., by forwarding the file to the controlling server 16 for storage, or by obtaining authorization to access the segment(s) 20 associated with the controlling server 16 and storing the file in that segment(s) 20). Another alternative is to spread new files among the servers 16 regardless of the receiving server 16 or the server 16 that owns the directory to which a new file belongs. This spreading may be done, e.g., randomly or following a pre-determined pattern, the selection being from all the file servers 16 or a subset of the file servers 16. The servers 16 may also be configured to employ a combination of any of the above-described techniques and may determine on a case-by-case basis which technique to employ. Various factors may be considered to determine which technique to employ. For example, the hierarchical technique may be used if the directory contains less than a threshold number of files, while the non-hierarchical technique may be used if the threshold is met or exceeded and the receiving server's segments 20 are filled to less than a threshold percentage, and to use the file spreading technique otherwise.
  • Multiple policies for storing data in the file system may be available to the servers 16. The servers 16 can select which policy to use to store incoming information. The selection may be made once, or may be changed, e.g., over time, or on a per file, per request, and/or per folder basis etc. The available policies may be changed/altered over time by, e.g., adding policies, deleting policies, or modifying existing policies.
  • In operation, referring to FIG. 16, with further reference to FIGS. 12 and 17, a process 60 for writing a new file using the system 10 includes the stages shown. The process 60, however, is exemplary only and not limiting. The process 60 can be altered, e.g., by having stages added, removed, or rearranged. For exemplary purposes, it is assumed that a new file is being stored and that the non-hierarchical technique in which the new file is stored on the local, receiving server's segment(s) 20, is employed. For this process, it is assumed that the servers 16 contain storage disks 26 as shown in FIG. 16 for storing the segment(s) 20 associated with the servers 16. It is further assumed that a segment 20 1,1 associated with the server 16 1 stores a Folder A containing a directory 28 of Files B, C, and D. The directory 28 stores pointers to the files' respective locations and local/remote indicia indicating whether the file is stored on the same segment 20 as the directory 28 or another segment 20. Here, for example, the segments 20 are each associated with 1000 Inode numbers such that 20 1,1 is associated with Inode numbers 1-1000, segments 20 2,1-3 are associated with Inode numbers 1001-4000, and segments 20 3,1-2 are associated with Inode numbers 4001-6000. Further, in this example, files B, C, and D are stored locally in segment 20 1,1 and file E is to be stored in segment 20 2,3.
  • At stage 62, an incoming request 63 to write a new File E to be associated with the Folder A is received by a server 16 1 here the server 16 2. The file server 16 2 analyzes the request to determine that it is for a new file in the Folder A.
  • At stage 64, the folder associated with the incoming request is located. The file server 16 2 determines where the Folder A resides (which server 16 owns/controls the segment 20 that includes Folder A), e.g., by analyzing the Inode number of Folder A using the segment-FID mapping.
  • At stage 66, the server 16 2 stores the new File E. The server 16 2 finds an appropriate location or locations on one or more of its associated segments 20 2,x to store the new File E. The server 16 2 sends a communication 65 with the File E to the determined segment 20, here segment 20 2,3 for storage of the File E on the disk 20 2,3.
  • At stage 68, the directory 28 is updated with a pointer to the location of the stored File E. The server 16 2 sends a communication 67 with the location of the stored File E to the server 16 1 that controls the directory 28. The server 16 1 relays this information in a communication 69 to the directory 28 in the segment 20 1,1. A pointer to the location of the stored File E is stored in association with an indication of the File E in the directory 28. If the File E is stored in more than one location, then multiple pointers may be provided in the directory 28, or only one pointer may be provided in the directory 28, with further a pointer provided, e.g., at the end, of the portion of memory indicated by the pointer in the directory 28.
  • Alternatively, instead of the server 16 2 storing the new File E on the associated segment 20 2, the server 16 2 could cause another one of the servers 16 to store the new file. For example, the server 16 2 could send the new File E to the server 16 that owns the corresponding directory, here the server 16 1. The controlling server 16 could then store the new File E in association with the corresponding directory. The server 16 2 could alternatively use other techniques to determine which server 16 should store the new file. For example, the server 16 2 could randomly select one of the servers 16 to store the new file, or could account for one or more factors, such as current or average load on the servers 16 to select a server 16, e.g., the server 16 with the lowest average load, or the greatest amount of free storage space.
  • Other embodiments are within the scope and spirit of the appended claims. For example, if the process 60 employed the non-hierarchical technique where the IAM Ratio was checked, then jump threshold tables associated with one or more of the servers 16 could be checked. If the IAM Ratio exceeds a Switch Factor and the distance from the base server 16 to the destination server 16 does not exceed the corresponding Distance in a jump threshold table, then the file is stored in association with the destination server 16 associated with the jump threshold table whose criteria are met. Otherwise, the file is stored in association with the base server 16.
  • Still other embodiments are within the scope and spirit of the appended claims. For example, due to the nature of software, functions described above can be implemented using software, hardware, firmware, hardwiring, or combinations of any of these. Features implementing functions may also be physically located at various positions, including being distributed such that portions of functions are implemented at different physical locations. Further, while Inodes numbers were used frequently above, this was for exemplary purposes and other forms of FIDs (e.g., FCBs, etc.) would be acceptable. Additionally, the description of stage 36 considered the exemplary case where the queried server 16 3 controlled the desired data. The server 16 3 may, however, request authorization from another server 16 1 e.g., the server 16 2, and this other server 16 2 or the server 16 3 may reply to the requesting server 16 1 with the authorization response. The requesting server 16 1 can acknowledge and use the authorization from either server 16 and is can be considered as the initially-contacted server 16 3 providing the authorization response.

Claims (39)

1. A method of associating data with a file server in a file system, the method comprising:
receiving a communication at a first device among an association of devices that implements a distributed, segmented single file system including file system entities residing in segments and comprising at least portions of one of files and directories, the association of devices including a plurality of file servers that control metadata of separate segments, including metadata of file system entities residing in the segments, the communication pertaining to data to be stored in the single file system, the data belonging to a directory of the single file system residing in a first segment controlled by a second file server; and
storing the data in a second segment under control of a third file server concurrently with control of the first segment by the second file server, the data being stored in the single file system non-hierarchically relative to the directory, with the third file server being a file server other than the second file server.
2. The method of claim 1 wherein the second server is separate from the first device.
3. The method of claim 2 wherein the third file server is the first device.
4. The method of claim 2 further comprising notifying the second server of a storage location of the portion of data.
5. The method of claim 1 further comprising choosing the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
6. The method of claim 1 further comprising choosing a location for storing the data dependent upon amounts of free storage space and free data identifiers.
7. The method of claim 1 further comprising choosing a location for storing the data dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server.
8. The method of claim 1 further comprising choosing a location for storing the data dependent upon at least one affinity group associating a client with a preferred segment.
9. The method of claim 1 further comprising choosing the third file server at least one of randomly and following a pre-determined pattern, the choosing being from one of all the file servers and a subset of the file servers.
10. The method of claim 1 wherein the storing is performed in accordance with at least one of a plurality of available non-hierarchical storage policies.
11. The method of claim 10 further comprising selecting a policy for the storing from the plurality of available storage policies.
12. The method of claim 11 wherein the selecting is performed on at least one of a per file, per request, and a per directory basis.
13. The method of claim 10 further comprising altering the plurality of available storage policies.
14. The method of claim 10 wherein the plurality of available storage policies includes storing data dependent upon at least two of (1) amounts of free storage space and free data identifiers, (2) relative amounts of free storage space and free data identifiers on a base file server and a possible controlling server, (3) at least one affinity group associating an application with a preferred segment, and (4) a random selection.
15. The method of claim 1 wherein the first device is a first file server of the plurality of file servers and the receiving comprises receiving the communication at the first file server.
16. An apparatus disposed in a first device of an association of devices and comprising:
a memory that stores computer-readable, computer-executable instructions; and
a processor coupled to the memory and configured to read and execute the instructions to:
determine that a communication is received pertaining to data to be stored in a file system, the file system being implemented by the association of devices and being a distributed, segmented single file system including file system entities residing in segments and comprising at least portions of one of files and directories, the association of devices including a plurality of file servers that control metadata of separate segments, including metadata of file system entities residing in the segments;
determine that the data belong to a directory of the single file system residing in a first segment controlled by a second file server; and
cause the data to be stored in a second segment under control of a third file server concurrently with control of the first segment by the second file server, the data being stored in the single file system non-hierarchically relative to the directory, with the third file server being a file server other than the second file server.
17. The apparatus of claim 16 wherein the second server is separate from the first device.
18. The apparatus of claim 17 wherein the third file server is the first device.
19. The apparatus of claim 17 wherein the processor is configured to notify the second server of a storage location of the portion of data.
20. The apparatus of claim 16 wherein the processor is configured to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
21. The apparatus of claim 16 wherein the processor is configured to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
22. The apparatus of claim 16 wherein the processor is configured to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies.
23. The apparatus of claim 22 wherein the processor is configured to select a storage policy from the plurality of available storage policies.
24. The apparatus of claim of claim 23 wherein the processor is configured to select the storage policy on at least one of a per file, per request, and a per directory basis.
25. The apparatus of claim 22 wherein the processor is configured to alter the plurality of available storage policies.
26. The apparatus of claim 16 wherein the processor is configured to cause the data to be stored hierarchically.
27. The apparatus of claim 16 wherein the first device is a first file server of the plurality of file servers such that the apparatus is disposed in the first file server.
28. A computer program product residing on a computer-readable medium, the computer program product for use in an association of devices and comprising computer-readable, computer-executable instructions for causing a computer to:
determine that a communication is received pertaining to data to be stored in a file system, the file system being implemented by the association of devices and being a distributed, segmented single file system including file system entities residing in segments and comprising at least portions of one of files and directories, the association of devices including a plurality of file servers that control metadata of separate segments, including metadata of file system entities residing in the segments;
determine that the data belong to a directory of the single file system residing in a first segment controlled by a second file server; and
cause the data to be stored in a second segment under control of a third file server concurrently with control of the first segment by the second file server, the data being stored in the single file system non-hierarchically relative to the directory, with the third file server being a file server other than the second file server.
29. The computer program product of claim 28 wherein the second server is separate from the first device.
30. The computer program product of claim 29 wherein the third file server is the first device.
31. The computer program product of claim 29 further comprising instructions for causing the computer to notify the second server of a storage location of the portion of data.
32. The computer program product of claim 28 further comprising instructions for causing the computer to choose the third file server from among the plurality of file servers depending upon whether the data represents a file or a directory.
33. The computer program product of claim 28 further comprising instructions for causing the computer to cause the data to be stored in a location that is at least one of (1) dependent upon amounts of free storage space and free data identifiers, (2) dependent upon relative amounts of free storage space and free data identifiers on a base file server and a possible controlling file server, (3) dependent upon at least one affinity group associating a client with a preferred segment, and (4) random.
34. The computer program product of claim 28 further comprising instructions for causing the computer to cause the data to be stored in a location in accordance with at least one of a plurality of available non-hierarchical storage policies.
35. The computer program product of claim 34 further comprising instructions for causing the computer to select a storage policy from the plurality of available storage policies.
36. The computer program product of claim 35 further comprising instructions for causing the computer to select the storage policy on at least one of a per file, per request, and a per directory basis.
37. The computer program product of claim 34 further comprising instructions for causing the computer to alter the plurality of available storage policies.
38. The computer program product of claim 28 further comprising instructions for causing the computer to cause the data to be stored hierarchically.
39. The computer program product of claim 28 wherein the first device is a first file server of the plurality of file servers such that the instructions are for use in the first file server.
US12/125,713 2000-09-12 2008-05-22 Storage allocation in a distributed segmented file system Abandoned US20080222223A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/125,713 US20080222223A1 (en) 2000-09-12 2008-05-22 Storage allocation in a distributed segmented file system

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
US23210200P 2000-09-12 2000-09-12
US09/950,555 US6782389B1 (en) 2000-09-12 2001-09-11 Distributing files across multiple, permissibly heterogeneous, storage devices
US39583902P 2002-07-15 2002-07-15
US44772203P 2003-02-19 2003-02-19
US44772303P 2003-02-19 2003-02-19
US44772003P 2003-02-19 2003-02-19
US10/425,550 US7406484B1 (en) 2000-09-12 2003-04-29 Storage allocation in a distributed segmented file system
US12/125,713 US20080222223A1 (en) 2000-09-12 2008-05-22 Storage allocation in a distributed segmented file system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/425,550 Continuation US7406484B1 (en) 2000-09-12 2003-04-29 Storage allocation in a distributed segmented file system

Publications (1)

Publication Number Publication Date
US20080222223A1 true US20080222223A1 (en) 2008-09-11

Family

ID=39643364

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/425,550 Expired - Fee Related US7406484B1 (en) 2000-09-12 2003-04-29 Storage allocation in a distributed segmented file system
US12/125,713 Abandoned US20080222223A1 (en) 2000-09-12 2008-05-22 Storage allocation in a distributed segmented file system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/425,550 Expired - Fee Related US7406484B1 (en) 2000-09-12 2003-04-29 Storage allocation in a distributed segmented file system

Country Status (1)

Country Link
US (2) US7406484B1 (en)

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282899A1 (en) * 2006-06-02 2007-12-06 International Business Machines Corporation System and method for managing and distributing assets over a network
US20090182792A1 (en) * 2008-01-14 2009-07-16 Shashidhar Bomma Method and apparatus to perform incremental truncates in a file system
US20090210431A1 (en) * 2007-11-12 2009-08-20 Attune Systems, Inc. Load Sharing Cluster File Systems
US20090254592A1 (en) * 2007-11-12 2009-10-08 Attune Systems, Inc. Non-Disruptive File Migration
US20090292734A1 (en) * 2001-01-11 2009-11-26 F5 Networks, Inc. Rule based aggregation of files and transactions in a switched file system
US7831642B1 (en) * 2004-09-30 2010-11-09 Symantec Operating Corporation Page cache management for a shared file
US20100293137A1 (en) * 2009-05-14 2010-11-18 Boris Zuckerman Method and system for journaling data updates in a distributed file system
USRE43346E1 (en) 2001-01-11 2012-05-01 F5 Networks, Inc. Transaction aggregation in a switched file system
US8195760B2 (en) 2001-01-11 2012-06-05 F5 Networks, Inc. File aggregation in a switched file system
US8204860B1 (en) 2010-02-09 2012-06-19 F5 Networks, Inc. Methods and systems for snapshot reconstitution
US8239354B2 (en) 2005-03-03 2012-08-07 F5 Networks, Inc. System and method for managing small-size files in an aggregated file system
US20120259813A1 (en) * 2011-04-08 2012-10-11 Hitachi, Ltd. Information processing system and data processing method
US20120331192A1 (en) * 2010-04-30 2012-12-27 Hemphill John M Management data transfer between processors
US8352785B1 (en) 2007-12-13 2013-01-08 F5 Networks, Inc. Methods for generating a unified virtual snapshot and systems thereof
US8397059B1 (en) 2005-02-04 2013-03-12 F5 Networks, Inc. Methods and apparatus for implementing authentication
US8396836B1 (en) 2011-06-30 2013-03-12 F5 Networks, Inc. System for mitigating file virtualization storage import latency
US8396895B2 (en) 2001-01-11 2013-03-12 F5 Networks, Inc. Directory aggregation for files distributed over a plurality of servers in a switched file system
US8417746B1 (en) 2006-04-03 2013-04-09 F5 Networks, Inc. File system management with enhanced searchability
US8417681B1 (en) 2001-01-11 2013-04-09 F5 Networks, Inc. Aggregated lock management for locking aggregated files in a switched file system
US8433735B2 (en) 2005-01-20 2013-04-30 F5 Networks, Inc. Scalable system for partitioning and accessing metadata over multiple servers
US8463850B1 (en) 2011-10-26 2013-06-11 F5 Networks, Inc. System and method of algorithmically generating a server side transaction identifier
US20130198130A1 (en) * 2012-01-31 2013-08-01 Cleversafe, Inc. Secure data migration in a dispersed storage network
US8549582B1 (en) 2008-07-11 2013-10-01 F5 Networks, Inc. Methods for handling a multi-protocol content name and systems thereof
US8548953B2 (en) 2007-11-12 2013-10-01 F5 Networks, Inc. File deduplication using storage tiers
US8639658B1 (en) * 2010-04-21 2014-01-28 Symantec Corporation Cache management for file systems supporting shared blocks
US8682916B2 (en) 2007-05-25 2014-03-25 F5 Networks, Inc. Remote file virtualization in a switched file system
US9020912B1 (en) 2012-02-20 2015-04-28 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
WO2015122905A1 (en) * 2014-02-14 2015-08-20 Hewlett-Packard Development Company, L.P. Assign placement policy to segment set
US9195500B1 (en) 2010-02-09 2015-11-24 F5 Networks, Inc. Methods for seamless storage importing and devices thereof
US9286298B1 (en) 2010-10-14 2016-03-15 F5 Networks, Inc. Methods for enhancing management of backup data sets and devices thereof
US9519501B1 (en) 2012-09-30 2016-12-13 F5 Networks, Inc. Hardware assisted flow acceleration and L2 SMAC management in a heterogeneous distributed multi-tenant virtualized clustered system
US9554418B1 (en) 2013-02-28 2017-01-24 F5 Networks, Inc. Device for topology hiding of a visited network
US20170249088A1 (en) * 2016-02-26 2017-08-31 Red Hat, Inc. Adding or Removing a Storage Provider in a Unified Storage Manager
USRE47019E1 (en) 2010-07-14 2018-08-28 F5 Networks, Inc. Methods for DNSSEC proxying and deployment amelioration and systems thereof
US10182013B1 (en) 2014-12-01 2019-01-15 F5 Networks, Inc. Methods for managing progressive image delivery and devices thereof
US10257282B2 (en) * 2015-12-14 2019-04-09 Huawei Technologies Co., Ltd. Lock management method in cluster, lock server, and client
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US10404698B1 (en) 2016-01-15 2019-09-03 F5 Networks, Inc. Methods for adaptive organization of web application access points in webtops and devices thereof
US10412198B1 (en) 2016-10-27 2019-09-10 F5 Networks, Inc. Methods for improved transmission control protocol (TCP) performance visibility and devices thereof
US10567492B1 (en) 2017-05-11 2020-02-18 F5 Networks, Inc. Methods for load balancing in a federated identity environment and devices thereof
US10721269B1 (en) 2009-11-06 2020-07-21 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US10797888B1 (en) 2016-01-20 2020-10-06 F5 Networks, Inc. Methods for secured SCEP enrollment for client devices and devices thereof
US10834065B1 (en) 2015-03-31 2020-11-10 F5 Networks, Inc. Methods for SSL protected NTLM re-authentication and devices thereof
US10833943B1 (en) 2018-03-01 2020-11-10 F5 Networks, Inc. Methods for service chaining and devices thereof
US20210037085A1 (en) * 2018-02-14 2021-02-04 Nippon Telegraph And Telephone Corporation Distributed device management system and distributed device management method
US11223689B1 (en) 2018-01-05 2022-01-11 F5 Networks, Inc. Methods for multipath transmission control protocol (MPTCP) based session migration and devices thereof
US11838851B1 (en) 2014-07-15 2023-12-05 F5, Inc. Methods for managing L7 traffic classification and devices thereof
US11895138B1 (en) 2015-02-02 2024-02-06 F5, Inc. Methods for improving web scanner accuracy and devices thereof

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836017B1 (en) * 2000-09-12 2010-11-16 Hewlett-Packard Development Company, L.P. File replication in a distributed segmented file system
US8935307B1 (en) 2000-09-12 2015-01-13 Hewlett-Packard Development Company, L.P. Independent data access in a segmented file system
US6782389B1 (en) * 2000-09-12 2004-08-24 Ibrix, Inc. Distributing files across multiple, permissibly heterogeneous, storage devices
US7788335B2 (en) 2001-01-11 2010-08-31 F5 Networks, Inc. Aggregated opportunistic lock and aggregated implicit lock management for locking aggregated files in a switched file system
US7877511B1 (en) 2003-01-13 2011-01-25 F5 Networks, Inc. Method and apparatus for adaptive services networking
US7653699B1 (en) * 2003-06-12 2010-01-26 Symantec Operating Corporation System and method for partitioning a file system for enhanced availability and scalability
US8499078B2 (en) * 2003-12-24 2013-07-30 Sap Aktiengesellschaft Address generation in distributed systems using tree method
US7949792B2 (en) * 2004-02-27 2011-05-24 Cisco Technology, Inc. Encoding a TCP offload engine within FCP
JP4558740B2 (en) * 2004-10-20 2010-10-06 富士通株式会社 Application management program, application management method, and application management apparatus
JP4799419B2 (en) * 2004-10-20 2011-10-26 富士通株式会社 Setting program, setting method, and setting device
US20060167838A1 (en) * 2005-01-21 2006-07-27 Z-Force Communications, Inc. File-based hybrid file storage scheme supporting multiple file switches
US20080228698A1 (en) 2007-03-16 2008-09-18 Expanse Networks, Inc. Creation of Attribute Combination Databases
US20090043752A1 (en) 2007-08-08 2009-02-12 Expanse Networks, Inc. Predicting Side Effect Attributes
US8886909B1 (en) * 2008-03-31 2014-11-11 Emc Corporation Methods, systems, and computer readable medium for allocating portions of physical storage in a storage array based on current or anticipated utilization of storage array resources
US7503047B1 (en) * 2008-04-08 2009-03-10 International Business Machines Corporation System and method for enhancing the sharing of application libraries between different JVM's and systems with a dynamic relocation based on usage patterns
US8443369B1 (en) 2008-06-30 2013-05-14 Emc Corporation Method and system for dynamically selecting a best resource from each resource collection based on resources dependencies, prior selections and statistics to implement an allocation policy
US7917438B2 (en) 2008-09-10 2011-03-29 Expanse Networks, Inc. System for secure mobile healthcare selection
US8200509B2 (en) 2008-09-10 2012-06-12 Expanse Networks, Inc. Masked data record access
US8224782B2 (en) * 2008-09-29 2012-07-17 Hitachi, Ltd. System and method for chunk based tiered storage volume migration
SE533007C2 (en) 2008-10-24 2010-06-08 Ilt Productions Ab Distributed data storage
US8108406B2 (en) * 2008-12-30 2012-01-31 Expanse Networks, Inc. Pangenetic web user behavior prediction system
US8255403B2 (en) 2008-12-30 2012-08-28 Expanse Networks, Inc. Pangenetic web satisfaction prediction system
US8386519B2 (en) 2008-12-30 2013-02-26 Expanse Networks, Inc. Pangenetic web item recommendation system
US8639808B1 (en) * 2008-12-30 2014-01-28 Symantec Corporation Method and apparatus for monitoring storage unit ownership to continuously balance input/output loads across storage processors
US9015333B2 (en) 2009-12-18 2015-04-21 Cisco Technology, Inc. Apparatus and methods for handling network file operations over a fibre channel network
US8407445B1 (en) 2010-03-31 2013-03-26 Emc Corporation Systems, methods, and computer readable media for triggering and coordinating pool storage reclamation
US8924681B1 (en) 2010-03-31 2014-12-30 Emc Corporation Systems, methods, and computer readable media for an adaptative block allocation mechanism
EP2387200B1 (en) 2010-04-23 2014-02-12 Compuverde AB Distributed data storage
US8443163B1 (en) 2010-06-28 2013-05-14 Emc Corporation Methods, systems, and computer readable medium for tier-based data storage resource allocation and data relocation in a data storage array
US9311002B1 (en) 2010-06-29 2016-04-12 Emc Corporation Systems, methods, and computer readable media for compressing data at a virtually provisioned storage entity
US20120005307A1 (en) * 2010-06-30 2012-01-05 Abhik Das Storage virtualization
CN102024016B (en) * 2010-11-04 2013-03-13 曙光信息产业股份有限公司 Rapid data restoration method for distributed file system (DFS)
GB201108638D0 (en) * 2011-05-24 2011-07-06 Acunu Ltd A method of assigning logical data regions to multiple disks so as to improve sequential data access
US8745327B1 (en) 2011-06-24 2014-06-03 Emc Corporation Methods, systems, and computer readable medium for controlling prioritization of tiering and spin down features in a data storage system
US8645978B2 (en) 2011-09-02 2014-02-04 Compuverde Ab Method for data maintenance
US9626378B2 (en) 2011-09-02 2017-04-18 Compuverde Ab Method for handling requests in a storage system and a storage node for a storage system
US8650365B2 (en) 2011-09-02 2014-02-11 Compuverde Ab Method and device for maintaining data in a data storage system comprising a plurality of data storage nodes
US9021053B2 (en) 2011-09-02 2015-04-28 Compuverde Ab Method and device for writing data to a data storage system comprising a plurality of data storage nodes
US8769138B2 (en) 2011-09-02 2014-07-01 Compuverde Ab Method for data retrieval from a distributed data storage system
US8997124B2 (en) 2011-09-02 2015-03-31 Compuverde Ab Method for updating data in a distributed data storage system
US9703789B2 (en) 2015-07-27 2017-07-11 Sas Institute Inc. Distributed data set storage and retrieval
US9946718B2 (en) 2015-07-27 2018-04-17 Sas Institute Inc. Distributed data set encryption and decryption
CN105094711B (en) * 2015-09-22 2018-05-18 浪潮(北京)电子信息产业有限公司 A kind of method and device for realizing copy-on-write file system
US9860131B2 (en) * 2016-01-07 2018-01-02 International Business Machines Corporation System and method for policy-based geolocation services for virtual servers
KR101779174B1 (en) * 2016-05-26 2017-09-18 성균관대학교산학협력단 Data discard method for journaling filesystem and memory management apparatus thereof
KR102628057B1 (en) * 2019-10-29 2024-01-22 삼성에스디에스 주식회사 Blockchain based file management system and method thereof
JP2021170289A (en) * 2020-04-17 2021-10-28 富士通株式会社 Information processing system, information processing device and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182111B1 (en) * 1997-05-15 2001-01-30 Hitachi, Ltd. Method and system for managing distributed data
US6330572B1 (en) * 1998-07-15 2001-12-11 Imation Corp. Hierarchical data storage management

Family Cites Families (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4901231A (en) 1986-12-22 1990-02-13 American Telephone And Telegraph Company Extended process for a multiprocessor system
US5455953A (en) * 1993-11-03 1995-10-03 Wang Laboratories, Inc. Authorization system for obtaining in single step both identification and access rights of client to server directly from encrypted authorization ticket
US5873103A (en) 1994-02-25 1999-02-16 Kodak Limited Data storage management for network interconnected processors using transferrable placeholders
US5513314A (en) 1995-01-27 1996-04-30 Auspex Systems, Inc. Fault tolerant NFS server system and mirroring protocol
US5948062A (en) 1995-10-27 1999-09-07 Emc Corporation Network file server using a cached disk array storing a network file directory including file locking information and data mover computers each having file system software for shared read-write file access
US5828876A (en) 1996-07-31 1998-10-27 Ncr Corporation File system for a clustered processing system
US6185601B1 (en) 1996-08-02 2001-02-06 Hewlett-Packard Company Dynamic load balancing of a network of client and server computers
US5909540A (en) 1996-11-22 1999-06-01 Mangosoft Corporation System and method for providing highly available data storage using globally addressable memory
US5987506A (en) 1996-11-22 1999-11-16 Mangosoft Corporation Remote access and geographically distributed computers in a globally addressable storage environment
US6023706A (en) 1997-07-11 2000-02-08 International Business Machines Corporation Parallel file system and method for multiple node file access
US5960446A (en) 1997-07-11 1999-09-28 International Business Machines Corporation Parallel file system and method with allocation map
US6192408B1 (en) * 1997-09-26 2001-02-20 Emc Corporation Network file server sharing local caches of file access information in data processors assigned to respective file systems
US6173293B1 (en) 1998-03-13 2001-01-09 Digital Equipment Corporation Scalable distributed file system
US6697846B1 (en) 1998-03-20 2004-02-24 Dataplow, Inc. Shared file system
US6345244B1 (en) 1998-05-27 2002-02-05 Lionbridge Technologies, Inc. System, method, and product for dynamically aligning translations in a translation-memory system
US6973455B1 (en) 1999-03-03 2005-12-06 Emc Corporation File server system providing direct data sharing between clients with a server acting as an arbiter and coordinator
US6356863B1 (en) 1998-09-08 2002-03-12 Metaphorics Llc Virtual network file server
US6163801A (en) 1998-10-30 2000-12-19 Advanced Micro Devices, Inc. Dynamic communication between computer processes
US6442608B1 (en) * 1999-01-14 2002-08-27 Cisco Technology, Inc. Distributed database system with authoritative node
US6453354B1 (en) 1999-03-03 2002-09-17 Emc Corporation File server system using connection-oriented protocol and sharing data sets among data movers
US6324581B1 (en) 1999-03-03 2001-11-27 Emc Corporation File server system using file system storage, data movers, and an exchange of meta data among data movers for file locking and direct access to shared file systems
US6516320B1 (en) 1999-03-08 2003-02-04 Pliant Technologies, Inc. Tiered hashing for data access
US6389420B1 (en) 1999-09-30 2002-05-14 Emc Corporation File manager providing distributed locking and metadata management for shared data access by clients relinquishing locks after time period expiration
WO2002001410A1 (en) 2000-06-26 2002-01-03 International Business Machines Corporation Data management application programming interface for a parallel file system
US6938039B1 (en) 2000-06-30 2005-08-30 Emc Corporation Concurrent file across at a target file server during migration of file systems between file servers using a network file system access protocol
US6782389B1 (en) 2000-09-12 2004-08-24 Ibrix, Inc. Distributing files across multiple, permissibly heterogeneous, storage devices
US6823336B1 (en) 2000-09-26 2004-11-23 Emc Corporation Data storage system and method for uninterrupted read-only access to a consistent dataset by one host processor concurrent with read-write access by another host processor
US6571259B1 (en) 2000-09-26 2003-05-27 Emc Corporation Preallocation of file system cache blocks in a data storage system
US6654912B1 (en) 2000-10-04 2003-11-25 Network Appliance, Inc. Recovery of file system data in file servers mirrored file system volumes
US20030079222A1 (en) 2000-10-06 2003-04-24 Boykin Patrick Oscar System and method for distributing perceptually encrypted encoded files of music and movies
US6976060B2 (en) 2000-12-05 2005-12-13 Agami Sytems, Inc. Symmetric shared file storage system
US6928426B2 (en) 2000-12-30 2005-08-09 Intel Corporation Method and apparatus to improve file management
US7562110B2 (en) 2001-01-11 2009-07-14 F5 Networks, Inc. File switch and switched file system
US7206819B2 (en) 2001-01-18 2007-04-17 Sun Microsystems, Inc. Method and apparatus for providing virtual namespaces for active computing environments
US6775679B2 (en) 2001-03-20 2004-08-10 Emc Corporation Building a meta file system from file system cells
US20030028587A1 (en) 2001-05-11 2003-02-06 Driscoll Michael C. System and method for accessing and storing data in a common network architecture
US20030004947A1 (en) 2001-06-28 2003-01-02 Sun Microsystems, Inc. Method, system, and program for managing files in a file system
US7685126B2 (en) 2001-08-03 2010-03-23 Isilon Systems, Inc. System and methods for providing a distributed file system utilizing metadata to track information about data stored throughout the system
JP4168626B2 (en) 2001-12-06 2008-10-22 株式会社日立製作所 File migration method between storage devices
US6772161B2 (en) 2001-12-19 2004-08-03 Hewlett-Packard Development Company, L.P. Object-level migration in a partition-based distributed file system
US6775673B2 (en) 2001-12-19 2004-08-10 Hewlett-Packard Development Company, L.P. Logical volume-level migration in a partition-based distributed file system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182111B1 (en) * 1997-05-15 2001-01-30 Hitachi, Ltd. Method and system for managing distributed data
US6330572B1 (en) * 1998-07-15 2001-12-11 Imation Corp. Hierarchical data storage management

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE43346E1 (en) 2001-01-11 2012-05-01 F5 Networks, Inc. Transaction aggregation in a switched file system
US8417681B1 (en) 2001-01-11 2013-04-09 F5 Networks, Inc. Aggregated lock management for locking aggregated files in a switched file system
US20090292734A1 (en) * 2001-01-11 2009-11-26 F5 Networks, Inc. Rule based aggregation of files and transactions in a switched file system
US8396895B2 (en) 2001-01-11 2013-03-12 F5 Networks, Inc. Directory aggregation for files distributed over a plurality of servers in a switched file system
US8195760B2 (en) 2001-01-11 2012-06-05 F5 Networks, Inc. File aggregation in a switched file system
US8195769B2 (en) 2001-01-11 2012-06-05 F5 Networks, Inc. Rule based aggregation of files and transactions in a switched file system
US7831642B1 (en) * 2004-09-30 2010-11-09 Symantec Operating Corporation Page cache management for a shared file
US8433735B2 (en) 2005-01-20 2013-04-30 F5 Networks, Inc. Scalable system for partitioning and accessing metadata over multiple servers
US8397059B1 (en) 2005-02-04 2013-03-12 F5 Networks, Inc. Methods and apparatus for implementing authentication
US8239354B2 (en) 2005-03-03 2012-08-07 F5 Networks, Inc. System and method for managing small-size files in an aggregated file system
US8417746B1 (en) 2006-04-03 2013-04-09 F5 Networks, Inc. File system management with enhanced searchability
US20070282899A1 (en) * 2006-06-02 2007-12-06 International Business Machines Corporation System and method for managing and distributing assets over a network
US7970856B2 (en) * 2006-06-02 2011-06-28 International Business Machines Corporation System and method for managing and distributing assets over a network
US8682916B2 (en) 2007-05-25 2014-03-25 F5 Networks, Inc. Remote file virtualization in a switched file system
US8548953B2 (en) 2007-11-12 2013-10-01 F5 Networks, Inc. File deduplication using storage tiers
US8117244B2 (en) 2007-11-12 2012-02-14 F5 Networks, Inc. Non-disruptive file migration
US20090254592A1 (en) * 2007-11-12 2009-10-08 Attune Systems, Inc. Non-Disruptive File Migration
US20090210431A1 (en) * 2007-11-12 2009-08-20 Attune Systems, Inc. Load Sharing Cluster File Systems
US8180747B2 (en) * 2007-11-12 2012-05-15 F5 Networks, Inc. Load sharing cluster file systems
US8352785B1 (en) 2007-12-13 2013-01-08 F5 Networks, Inc. Methods for generating a unified virtual snapshot and systems thereof
US7805471B2 (en) * 2008-01-14 2010-09-28 International Business Machines, Corporation Method and apparatus to perform incremental truncates in a file system
US20090182792A1 (en) * 2008-01-14 2009-07-16 Shashidhar Bomma Method and apparatus to perform incremental truncates in a file system
US8549582B1 (en) 2008-07-11 2013-10-01 F5 Networks, Inc. Methods for handling a multi-protocol content name and systems thereof
US20100293137A1 (en) * 2009-05-14 2010-11-18 Boris Zuckerman Method and system for journaling data updates in a distributed file system
US8296358B2 (en) 2009-05-14 2012-10-23 Hewlett-Packard Development Company, L.P. Method and system for journaling data updates in a distributed file system
US10721269B1 (en) 2009-11-06 2020-07-21 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US11108815B1 (en) 2009-11-06 2021-08-31 F5 Networks, Inc. Methods and system for returning requests with javascript for clients before passing a request to a server
US9195500B1 (en) 2010-02-09 2015-11-24 F5 Networks, Inc. Methods for seamless storage importing and devices thereof
US8392372B2 (en) 2010-02-09 2013-03-05 F5 Networks, Inc. Methods and systems for snapshot reconstitution
US8204860B1 (en) 2010-02-09 2012-06-19 F5 Networks, Inc. Methods and systems for snapshot reconstitution
US8639658B1 (en) * 2010-04-21 2014-01-28 Symantec Corporation Cache management for file systems supporting shared blocks
US9229886B2 (en) * 2010-04-30 2016-01-05 Hewlett Packard Enterprise Development Lp Management data transfer between processors
US20120331192A1 (en) * 2010-04-30 2012-12-27 Hemphill John M Management data transfer between processors
USRE47019E1 (en) 2010-07-14 2018-08-28 F5 Networks, Inc. Methods for DNSSEC proxying and deployment amelioration and systems thereof
US9286298B1 (en) 2010-10-14 2016-03-15 F5 Networks, Inc. Methods for enhancing management of backup data sets and devices thereof
US20120259813A1 (en) * 2011-04-08 2012-10-11 Hitachi, Ltd. Information processing system and data processing method
US8396836B1 (en) 2011-06-30 2013-03-12 F5 Networks, Inc. System for mitigating file virtualization storage import latency
US8463850B1 (en) 2011-10-26 2013-06-11 F5 Networks, Inc. System and method of algorithmically generating a server side transaction identifier
US9767109B2 (en) * 2012-01-31 2017-09-19 International Business Machines Corporation Secure data migration in a dispersed storage network
US20160328177A1 (en) * 2012-01-31 2016-11-10 International Business Machines Corporation Secure data migration in a dispersed storage network
US9514132B2 (en) * 2012-01-31 2016-12-06 International Business Machines Corporation Secure data migration in a dispersed storage network
US20130198130A1 (en) * 2012-01-31 2013-08-01 Cleversafe, Inc. Secure data migration in a dispersed storage network
USRE48725E1 (en) 2012-02-20 2021-09-07 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
US9020912B1 (en) 2012-02-20 2015-04-28 F5 Networks, Inc. Methods for accessing data in a compressed file system and devices thereof
US9519501B1 (en) 2012-09-30 2016-12-13 F5 Networks, Inc. Hardware assisted flow acceleration and L2 SMAC management in a heterogeneous distributed multi-tenant virtualized clustered system
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US9554418B1 (en) 2013-02-28 2017-01-24 F5 Networks, Inc. Device for topology hiding of a visited network
CN105981033A (en) * 2014-02-14 2016-09-28 慧与发展有限责任合伙企业 Assign placement policy to segment set
WO2015122905A1 (en) * 2014-02-14 2015-08-20 Hewlett-Packard Development Company, L.P. Assign placement policy to segment set
US11838851B1 (en) 2014-07-15 2023-12-05 F5, Inc. Methods for managing L7 traffic classification and devices thereof
US10182013B1 (en) 2014-12-01 2019-01-15 F5 Networks, Inc. Methods for managing progressive image delivery and devices thereof
US11895138B1 (en) 2015-02-02 2024-02-06 F5, Inc. Methods for improving web scanner accuracy and devices thereof
US10834065B1 (en) 2015-03-31 2020-11-10 F5 Networks, Inc. Methods for SSL protected NTLM re-authentication and devices thereof
US10257282B2 (en) * 2015-12-14 2019-04-09 Huawei Technologies Co., Ltd. Lock management method in cluster, lock server, and client
US10609150B2 (en) 2015-12-14 2020-03-31 Huawei Technologies Co., Ltd. Lock management method in cluster, lock server, and client
US10404698B1 (en) 2016-01-15 2019-09-03 F5 Networks, Inc. Methods for adaptive organization of web application access points in webtops and devices thereof
US10797888B1 (en) 2016-01-20 2020-10-06 F5 Networks, Inc. Methods for secured SCEP enrollment for client devices and devices thereof
US10521114B2 (en) * 2016-02-26 2019-12-31 Red Hat, Inc. Adding or removing a storage provider in unified storage manager
US20170249088A1 (en) * 2016-02-26 2017-08-31 Red Hat, Inc. Adding or Removing a Storage Provider in a Unified Storage Manager
US10412198B1 (en) 2016-10-27 2019-09-10 F5 Networks, Inc. Methods for improved transmission control protocol (TCP) performance visibility and devices thereof
US10567492B1 (en) 2017-05-11 2020-02-18 F5 Networks, Inc. Methods for load balancing in a federated identity environment and devices thereof
US11223689B1 (en) 2018-01-05 2022-01-11 F5 Networks, Inc. Methods for multipath transmission control protocol (MPTCP) based session migration and devices thereof
US20210037085A1 (en) * 2018-02-14 2021-02-04 Nippon Telegraph And Telephone Corporation Distributed device management system and distributed device management method
US11683364B2 (en) * 2018-02-14 2023-06-20 Nippon Telegraph And Telephone Corporation Distributed device management system and distributed device management method
US10833943B1 (en) 2018-03-01 2020-11-10 F5 Networks, Inc. Methods for service chaining and devices thereof

Also Published As

Publication number Publication date
US7406484B1 (en) 2008-07-29

Similar Documents

Publication Publication Date Title
US7406484B1 (en) Storage allocation in a distributed segmented file system
US7769711B2 (en) Migration of control in a distributed segmented file system
US8977659B2 (en) Distributing files across multiple, permissibly heterogeneous, storage devices
US10338853B2 (en) Media aware distributed data layout
Brandt et al. Efficient metadata management in large distributed storage systems
US7383288B2 (en) Metadata based file switch and switched file system
US7788335B2 (en) Aggregated opportunistic lock and aggregated implicit lock management for locking aggregated files in a switched file system
US8195769B2 (en) Rule based aggregation of files and transactions in a switched file system
US7890529B1 (en) Delegations and caching in a distributed segmented file system
US7054893B2 (en) Method and apparatus for relocating data related to database management system
US6889249B2 (en) Transaction aggregation in a switched file system
US8396895B2 (en) Directory aggregation for files distributed over a plurality of servers in a switched file system
US7653699B1 (en) System and method for partitioning a file system for enhanced availability and scalability
US8417681B1 (en) Aggregated lock management for locking aggregated files in a switched file system
JP4211285B2 (en) Method and apparatus for virtual unification of network storage system
US7836017B1 (en) File replication in a distributed segmented file system
US8935307B1 (en) Independent data access in a segmented file system
Sundaram Design and implementation of the Swarm storage server
Brandt et al. Efficient Metadata Management in Large Distributed Storage Systems†† This research is supported by Lawrence Livermore National Laboratory, Los Alamos National Laboratory, and Sandia National Laboratory under contract 520714.

Legal Events

Date Code Title Description
AS Assignment

Owner name: IBRIX, INC., CALIFORNIA

Free format text: MERGER;ASSIGNOR:INDIA ACQUISITION CORPORATION;REEL/FRAME:023364/0621

Effective date: 20090805

AS Assignment

Owner name: HEWLETT-PACKARD COMPANY, CALIFORNIA

Free format text: MERGER;ASSIGNOR:IBRIX, INC.;REEL/FRAME:023373/0391

Effective date: 20090924

AS Assignment

Owner name: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P., TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HEWLETT-PACKARD COMPANY;REEL/FRAME:027329/0001

Effective date: 20030131

AS Assignment

Owner name: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P., TEXAS

Free format text: CORRECTIVE ASSIGNMENT PREVIUOSLY RECORDED ON REEL 027329 FRAME 0001 AND 0044;ASSIGNOR:HEWLETT-PACKARD COMPANY;REEL/FRAME:028911/0846

Effective date: 20111010

STCB Information on status: application discontinuation

Free format text: ABANDONED -- AFTER EXAMINER'S ANSWER OR BOARD OF APPEALS DECISION