| Summary: | CIFS volumes used space shows twice the value from linux on windows | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Harshavardhana <fharshav> | ||||
| Component: | core | Assignee: | Harshavardhana <fharshav> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | mainline | CC: | anush, cww, gluster-bugs, pavan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | RTNR | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
During some tests earlier with avail hardware there was an issue where in windows would show used space on a samba share reexported over glusterfs with twice the actual used value. This needs further investigation. Attached document clearly shows the windows "used space" value and linux side. (In reply to comment #1) > Created an attachment (id=148) [details] > Difference in used space After the initial level of testing it is seen that windows on its part does a different calculation of used space rather than linux. Linux - CIFS kernel module calculates ((b_blocksize * b_blocks) - (b_blocksize * b_avail) - This doesn't have journalled data. Now for CIFS on windows side its other scenario ((b_blocksize * b_blocks) - (b_blocksize * b_free)) - This also contains usage of journalled data. I guess this is just two way of showing used space to user. |
Created attachment 148 [details] The kickstart file