EP0887751A2

Method and system for maintaining a global name space

Abstract

A global mount mechanism capable of maintaining a consistent global name space in a distributed computing system including a plurality of nodes interconnected by a communications link is herein disclosed. The global mount mechanism mounts a new file system resource into the global name space in a coherent manner such that the new file system resource is mounted at the same mount point concurrently in each node. The global mount mechanism accommodates mount or unmount requests initiated from a requesting node for a resource located in a remote node. The global mount mechanism is also used to unmount a file system resource from the global name space. The global mount mechanism also includes an initialization procedure that is used to generate the global name space initially by providing each local mount point with a global locking capability.

EP0887751A2, drawing sheet 1
Sheet 1 of 18

Term

Term ended

Projected expiry passed 25 June 2018, 8.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

10 claims: 4 independent, 6 dependent

  1. 1
    A method for maintaining a global name space in a computing system having a plurality of nodes interconnected by a communications link, the global name space representing a plurality of global file system resources accessible from each node, each global file system resource including a plurality of file resources, the global name space including global pathnames with each global pathname representing one of the global file resources, each global pathname including one or more global directories, wherein the global name space is distributed over the nodes;    the method comprising the steps of:(a) providing a first file system resource for mounting in the global name space at a designated first mount point selected from the global directories;(b) concurrently locking the first mount point in each node;(c) mounting the first file system resource at the first mount point in each node;and(d) concurrently unlocking the first mount point in each node.
  2. 5
    A computer system for maintaining a global name space, the system including a plurality of nodes interconnected by a communications link, the system comprising:a plurality of global file system resources accessible from each of the nodes, each global file system resource representing global file resources;a global name space representing the global file system resources and including a plurality of global pathnames that each represent one of the global file resources, each global pathname including one or more global directories, each global directory being a global mount point to which a new file system resource can be mounted, the global name space distributed over the nodes;a first locking mechanism, distributed over the nodes, for concurrently locking a same global directory in each node;anda global mount mechanism, distributed over the nodes, for mounting a new file system resource into the global name space at a specified mount point in each node.
  3. 8
    The system of any one of claims 5 to 7, comprising:the global mount mechanism having means for unmounting a mounted file system resource from the global name space, the global mount mechanism locating a same mount point in each node from which the mounted file system resource is unmounted, concurrently locking the same mount point in each node, unmounting the mounted file system resource from the same mount point in each node, and unlocking the mount point in each node.
  4. 9
    The system of any one of claims 5 to 8, comprising:a plurality of local name spaces, each local name space associated with a particular node and representing local file system resources associated with the particular node, each local file system resource representing local file resources, the local name space including local pathnames, each local pathname representing one of the local file resources and including one or more local directories;andan initialization mechanism that enables a first local directory with a global locking capability, thereby making the enabled local directory a global mount point, and that mounts a local file system resource into the global name space at a global mount point.