Bug 762350 (GLUSTER-618) - CIFS volumes used space shows twice the value from linux on windows
Summary: CIFS volumes used space shows twice the value from linux on windows
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-618
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
urgent
medium
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-15 19:23 UTC by Harshavardhana
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
Difference in used space (163.28 KB, application/pdf)
2010-02-15 16:26 UTC, Harshavardhana
no flags Details

Description Harshavardhana 2010-02-15 16:26:17 UTC
Created attachment 148 [details]
The kickstart file

Comment 1 Harshavardhana 2010-02-15 19:23:46 UTC
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.

Comment 2 Harshavardhana 2010-02-17 10:11:23 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.