Resolving failed or hanging mount points in a clustered storage solution for containers
AssigneePortworx, Inc.
InventorsDinesh Israni, Vinod Jayaraman, Goutham Rao
Life of this patent
Estimating the term…
Abstract
A clustered storage system may include potentially many different nodes, each including a storage driver and a kernel module. A node may mount a virtual storage volume for the use of a container application at the node. The storage driver and kernel module may receive a request from a storage driver at a different node and respond by indicating whether the virtual storage volume is in active use. In this way, the clustered storage system may safely but forcibly unmount a virtual storage volume having a failed or hanging mount point so that the volume may be mounted on a different node.
Claims20
A computing device comprising:
- a communications interface operable to receive from a remote computing node a virtual storage volume activity request message addressed to a storage driver implemented at the computing device, the virtual storage volume activity request message identifying a virtual storage volume mounted at the computing device, the virtual storage volume configured to access data stored on one or more storage devices accessible via a network;
- a processor operable to determine whether the virtual storage volume is associated with one or more block device references in an operating system running at the computing device, wherein the determination is made based on communications between the storage driver and a kernel module associated with the operating system;
- and
- memory operable to store one or more block device references, wherein the processor is further operable to instruct the communications interface to transmit a virtual storage volume activity response message from the storage driver to the remote computing node, the virtual storage volume activity response message indicating whether the virtual storage volume is associated with one or more block device references in the operating system.
A method comprising:
- receiving a virtual storage volume activity request message at a storage driver on a first compute node from a second compute node via a communications interface, the virtual storage volume activity request message identifying a virtual storage volume mounted at the first compute node, the virtual storage volume configured to access data stored on one or more storage devices accessible via a network;
- determining, at a processor on the first compute node, whether the virtual storage volume is associated with one or more block device references in an operating system running at the first compute node, wherein the determination is made based on communications between the storage driver and a kernel module associated with the operating system;
- and
- transmitting a virtual storage volume activity response message from the storage driver to the second compute node via the communications interface, the virtual storage volume activity response message indicating whether the virtual storage volume is associated with one or more block device references in the operating system.
One or more machine readable media having instructions stored thereon for performing a method, the method comprising:
- receiving a virtual storage volume activity request message at a storage driver on a first compute node from a second compute node via a communications interface, the virtual storage volume activity request message identifying a virtual storage volume mounted at the first compute node, the virtual storage volume configured to access data stored on one or more storage devices accessible via a network;
- determining, at a processor on the first compute node, whether the virtual storage volume is associated with one or more block device references in an operating system running at the first compute node, wherein the determination is made based on communications between the storage driver and a kernel module associated with the operating system;
- and
- transmitting a virtual storage volume activity response message from the storage driver to the second compute node via the communications interface, the virtual storage volume activity response message indicating whether the virtual storage volume is associated with one or more block device references in the operating system.
Dependencies are inferred from the claim text.