| Summary: | Rebalance fails to rebalance files whose name length is close to the filesystem's limit | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Pierre-Francois Laquerre <pierre.francois> |
| Component: | distribute | Assignee: | shishir gowda <sgowda> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.2.5 | CC: | gluster-bugs, nsathyan, pierre.francois |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-18 05:58:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This bug is fixed in the upstream. Please upgrade to release 3.3beta2. |
When rebalancing a file, gluster creates a copy with the name ".$filename.gfs$filesize", e.g. ".foo.gfs3" for a 3 byte file named "foo". If the length of the file name is very close to the filesystem's limit (255 bytes in the case of ext3), then this operation will fail: [snippet from the rebalance log] > [2011-12-07 07:53:32.607413] W [fuse-bridge.c:184:fuse_entry_cbk] 0-glusterfs-fuse: 323262192: LOOKUP() /path/to/.somereallyreallyreallystupidlylongfilename.gfs40200 => -1 (File name too long) > [2011-12-07 07:53:58.321882] E [client3_1-fops.c:2228:client3_1_lookup_cbk] 1-volname-client-1: remote operation failed: File name too long