Bug 1244759
| Summary: | Symlink are ending up with unexpected xattrs | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Bhaskarakiran <byarlaga> |
| Component: | disperse | Assignee: | Pranith Kumar K <pkarampu> |
| Status: | CLOSED WORKSFORME | QA Contact: | Bhaskarakiran <byarlaga> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | asriram, byarlaga, mzywusko, pkarampu, rhs-bugs, sankarshan, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
Sometimes "gluster volume heal <volname> info" shows some symlinks which need to be healed for hours. To confirm this issue, the files must have the following extended attributes:
# getfattr -d -m. -e hex -h /path/to/file/on/brick | grep trusted.ec
Example output:
trusted.ec.dirty=0x3000
trusted.ec.size=0x3000
trusted.ec.version=0x30000000000000000000000000000001
The first 4 digits must be '3000' and the file must be a symlink/softlink.
Workaround:
Execute the following commands on the files in each brick and ensure to stop all operations on them.
1) trusted.ec.size must be deleted.
# setfattr -x trusted.ec.size /path/to/file/on/brick
2) First 16 digits must have '0' in both trusted.ec.dirty and trusted.ec.version attributes and the rest of the 16 digits should remain as is. If the number of digits is less than 32, then use '0' s as padding.
Example:
# setfattr -n trusted.ec.dirty -v 0x00000000000000000000000000000000 /path/to/file/on/brick
# setfattr -n trusted.ec.version -v 0x00000000000000000000000000000001 /path/to/file/on/brick
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-09 05:31:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bhaskarakiran
2015-07-20 12:46:27 UTC
Please review and sign off. Looks good to me Anjana This can be closed i guess since it was hit only once. Can re-open if hit again. |