| Summary: | Handle disk-almost-full more intelligently in distribute | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vikas Gorur <vikas> |
| Component: | distribute | Assignee: | Anand Avati <aavati> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0.4 | CC: | amarts, barry.jaspan, chrisw, gluster-bugs, vijay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Barry Jaspan
2010-05-27 22:45:29 UTC
The following was observed in a setup with distribute with a single subvolume which was 92% full. Since this passed the min-disk-free threshold, distribute did not allow creation of any new files or directories. However, the error messages seen by the user were not helpful: 1) touch failed with "No such file or directory". 2) mkdir failed with "Invalid argument". The client log file had the warning that the subvolume was 92% full. However, when the create failed distribute did not print any message pointing the user to the root of the problem. Suggestions to handle this case better: 1) create, mkdir, etc. operations should return: "No space left on device". 2) A warning log message should be printed indicating that none of distribute's subvolumes have enough space left. 3) It might be useful to change distribute's behavior such that if all its subvolumes are past the threshold it still allows creation of files using the remaining 10% on the subvolumes while printing warning messages. Please update the status of this bug as its been more than 6months since its filed (bug id < 2000) Please resolve it with proper resolution if its not valid anymore. If its still valid and not critical, move it to 'enhancement' severity. This situation came due to having distribute with just one subvol. Also this behavior is not reproducable in latest master branch. Hence closing the bug. |