| Summary: | handling the sticky bit after the volume rebalance | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Saurabh <saurabh> |
| Component: | core | Assignee: | Anand Avati <aavati> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.2 | CC: | amarts, chrisw, gluster-bugs, vikas |
| 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: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Saurabh
2011-03-14 11:32:47 UTC
If this bug is the same as 2369, why isn't this marked as duplicate of that? Bug 2369 has been marked as fixed. Why is this bug still open? The release notes say that handling sticky bits is still an issue, and this bug contains no details about it. What is the true status of sticky bits after rebalance? patch http://patches.gluster.com/patch/6717 fixes this. Verified it for 3.2.1 release,
[root@centos-qa-3 d3]# for i in {1..20}; do touch file.$i; chown saurabh file.$i; chgrp wheel file.$i; chmod 655 file.$i; chmod +t file.$i; echo $i; done
[root@centos-qa-3 d3]# ls -l
total 80
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.1
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.10
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.11
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.12
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.13
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.14
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.15
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.16
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.17
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.18
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.19
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.2
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.20
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.3
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.4
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.5
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:28 file.6
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.7
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.8
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.9
[root@centos-qa-client-2 sbin]# ./gluster volume add-brick dist 10.1.12.134:/mnt/d-dist
Add Brick successful
[root@centos-qa-client-2 sbin]# ./gluster volume rebalance
Usage: volume rebalance <VOLNAME> [fix-layout|migrate-data] {start|stop|status}
[root@centos-qa-client-2 sbin]# ./gluster volume rebalance dist start
starting rebalance on volume dist has been successful
[root@centos-qa-3 d3]# ls -l
total 80
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.1
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.10
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.11
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:29 file.12
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.13
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.14
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.15
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.16
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:30 file.17
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.18
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.19
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.2
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.20
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.3
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.4
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.5
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.6
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.7
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.8
-rw-r-xr-t 1 saurabh wheel 0 Jun 1 05:37 file.9
[root@centos-qa-3 d3]#
|