Hide Forgot
Description of problem: du -sh command on cifs mount point shows wrong information , when there are activated snapshot and uss is enabled on volume. Version-Release number of selected component (if applicable): glusterfs-3.8.4-5.el7rhgs.x86_64 How reproducible: 100% Steps to Reproduce: 1. create 2*2 distribute replicate volume 2. Do cifs mount and create some date on mount point 3. create few snapshots and activate it 4. enable uss 5. check du -sh on mount mount Actual results: du -sh shows wrong information Expected results: du -sh should shows the correct size. Additional info:
This is an expected behavior. I think we should clearly document it. May be raise a separate doc bug or convert this to a doc bug.
As discussed with developer, Converting this bug to doc bug for adding this into known issue sectioned
Hi I did one round of verification by following the steps provided by anil. So there are two scenario :- Scene 1. --------- Fuse mount was already present so just did a du -sh and it showed me 6.4G data available. Then i did a fresh mount of cifs and run du -sh, it showed me 6.1G data available. [root@dhcp43-99 cifs]# du -sh 6.1G . [root@dhcp43-99 cifs]# cd [root@dhcp43-99 ~]# cd /mnt/glusterfs/ [root@dhcp43-99 glusterfs]# [root@dhcp43-99 glusterfs]# [root@dhcp43-99 glusterfs]# du -sh 6.4G . Then i unmounted both cifs & fuse and performed scene 2. Scene 2. --------- I did a fresh cifs and fuse mount and now the data seems to be equal. [root@dhcp43-99 cifs]# du -sh 6.4G . [root@dhcp43-99 cifs]# cd [root@dhcp43-99 ~]# cd /mnt/glusterfs/ [root@dhcp43-99 glusterfs]# [root@dhcp43-99 glusterfs]# [root@dhcp43-99 glusterfs]# du -sh 6.4G .