FUSE-Based Share Quota Enforcement for Linux Disk Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Linux-based systems lack the ability to set and enforce disk quotas on shared folders, leading to potential disk capacity overconsumption and inadequate management of disk space, especially in multi-user environments.
Innovation Solution
Implementing a Linux File System in User Space (FUSE) device to enforce share-based quotas, where shares exceeding their quota are temporarily moved to a virtual file system, and all write attempts are rejected while read and other I/O operations are allowed, ensuring disk space management and user notification.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Volume of stationary object
If disk capacity is increased to meet growing storage needs, then storage capacity is improved, but disk space management becomes more difficult and quotas cannot be enforced on shares
Solution Approach 1:
The patent segments disk space management at the share level rather than only at the user level. By implementing share-based quotas, the system divides the storage management granularity to control space allocation for specific folders or resources, making it easier to manage disk space in multi-user environments where shares are the primary access unit.
Solution Approach 2:
The patent introduces a quota enforcement mechanism as an intermediary between the file system and users. This mediator monitors share usage and enforces quotas by controlling access at the share level, simplifying disk space management while maintaining the ability to handle increased disk capacity.
2Ease of operation
If user-based quotas are implemented, then user-level disk space control is improved, but share-level quota control is lost
Solution Approach 1:
The patent implements a universal quota enforcement mechanism that operates at multiple levels. The same FUSE-based quota system can enforce quotas at both user level and share level, providing multi-functionality. This allows administrators to choose the appropriate level of control based on organizational needs, maintaining both user-level and share-level quota capabilities.
Solution Approach 2:
The patent adds another dimension to quota control by enabling share-level quotas in addition to existing user-level quotas. This dimensional expansion allows the system to control disk space at multiple hierarchical levels, providing versatility for different management scenarios without sacrificing either user-level or share-level control.
3Productivity
If shares are moved to virtual file system when quota is exceeded, then disk space management is improved, but system complexity increases
Solution Approach 1:
The FUSE-based quota enforcement mechanism acts as an intermediary layer between the file system and users. When a share exceeds its quota, the mediator automatically moves the share to a virtual file system location and manages the transition, simplifying disk space management while containing system complexity within a well-defined module.
Solution Approach 2:
The patent creates a virtual copy of the share in the virtual file system when the original share exceeds its quota. This copying mechanism allows the share to be relocated without data loss, maintaining accessibility while enforcing quotas. The virtual copy serves as a backup that can be accessed through the FUSE-mounted virtual file system.
4Reliability
If write access is rejected for over-quota shares, then disk capacity protection is improved, but user accessibility deteriorates
Solution Approach 1:
The patent applies local quality by differentiating access rights based on the specific share's quota status. When a share exceeds its quota, write access is rejected for that specific share while read access and delete access remain permitted. This localized differentiation protects disk capacity for over-quota shares without completely blocking user access, maintaining usability where appropriate.
Solution Approach 2:
Instead of completely blocking access when quota is exceeded, the patent inverts the approach by allowing read and delete operations while restricting only write operations. This inverted access control maintains user accessibility for viewing and cleaning operations while preventing further space consumption through write rejections.
Data Source
AI summary
Disclosed herein is a system and method that that allows device administrators to set disk quotas for each share of a server. Quotas are set and enforced per share. The quota specifies the total disk space the share may consume on the device. When a share reaches or exceeds the set quota the share can no longer be written to.


