Mount Path Management for Virtual Storage Volumes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional distributed container orchestrators fail to protect against cross-node race conditions when mounting and using volumes managed by external providers, leading to potential corruption of namespaces and incorrect data persistence in distributed storage systems.

Innovation Solution

Implementing a scheduler agent that communicates with compute nodes to create, manage, and unmount virtual storage volumes, marking mount paths as read-only or writable to prevent race conditions and ensure data integrity by using privileged storage containers that can directly interact with storage drivers and hardware resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a distributed container orchestrator allows multiple nodes to mount and use volumes managed by external providers, then system scalability and resource utilization are improved, but cross-node race conditions occur leading to namespace corruption and data persistence errors

Engineering Contradiction:
ImprovescalabilityVSAvoiddata integrity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies preliminary action by marking mount paths as read-only before mounting volumes and transitioning them to writable only after successful mounting. This preventive measure eliminates cross-node race conditions by ensuring that write operations can only occur when the volume is properly mounted and ready, preventing namespace corruption and data persistence errors while maintaining system scalability

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism (the read-only/writable state transition system) that mediates between multiple nodes attempting to mount and use volumes. This intermediary control layer coordinates access to shared storage resources, ensuring that only one node can perform write operations at a time, thereby preventing race conditions while allowing multiple nodes to scale the system

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If mount paths are marked as read-only before volume mounting, then race conditions are prevented and data integrity is ensured, but write operations cannot be performed until mounting completes

Engineering Contradiction:
Improvedata integrityVSAvoidoperation flexibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent applies dynamics by making the mount path accessibility state changeable from read-only to writable based on the mounting status. This dynamic state transition allows the system to maintain strict read-only protection during the critical mounting phase to prevent race conditions, then automatically transitions to writable state once mounting succeeds, enabling write operations without compromising data integrity

Inventive Principle:
Principle #15Dynamics

3Productivity

If privileged storage containers are used to directly interact with storage drivers and hardware resources, then system performance is improved and race conditions are eliminated, but container security and isolation are reduced

Engineering Contradiction:
Improvesystem performanceVSAvoidsecurity risk
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent applies local quality by granting privileged access only to specific storage-related operations and containers that need direct hardware interaction, rather than universally privileging all containers. This targeted approach allows performance-critical storage operations to bypass virtualization overhead while maintaining security isolation for other container workloads, eliminating race conditions without compromising overall system security

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11748006B1Mount path management for virtual storage volumes in a containerized storage environment
Publication Date: 2023.09.05 PURE STORAGE INC
  • US11748006B1 patent drawing
  • US11748006B1 patent drawing
  • US11748006B1 patent drawing

AI summary

An illustrative method includes determining whether a virtual storage volume is successfully mounted to a mount path associated with a compute node, the mount path being marked as read-only, marking, if the determining includes determining that the virtual storage volume is successfully mounted to the mount path, the mount path as writable, and maintaining, if the determining includes determining that the virtual storage volume is unsuccessfully mounted to the mount path, the mount path as read-only.