Bug 1781486 - gluster-smb:glusto-test access gluster by cifs test write report Device or resource busy
Summary: gluster-smb:glusto-test access gluster by cifs test write report Device or re...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: gluster-smb
Version: 7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anoop C S
QA Contact:
URL:
Whiteboard:
Depends On: 1741734
Blocks: 1783232
TreeView+ depends on / blocked
 
Reported: 2019-12-10 06:32 UTC by Anoop C S
Modified: 2020-02-10 09:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of: 1741734
Environment:
Last Closed: 2019-12-13 07:03:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23845 0 None Merged gluster-smb:add smb parameter when access gluster by cifs 2019-12-13 07:03:24 UTC

Description Anoop C S 2019-12-10 06:32:50 UTC
+++ This bug was initially created as a clone of Bug #1741734 +++

Description of problem:
Write data Device or resource busy by client access volume when do gluster volume set testvol_distributed-replicated user.cifs on.

Version-Release number of selected component (if applicable):
gluster-6 extras/hook-scripts/start/post/S30samba-start.sh and ./extras/hook-scripts/set/post/S30samba-set.sh script

How reproducible:
enable gluster cifs and access volume by cifs. Smb client will report Device or resource busy when we echo or do cat command file

Steps to Reproduce:
1.create 2*(2+1) test volume
2.gluster v set test user.cifs on
3.On the client and mount test by cifs
4.create file and echo "11111" >> file, will report Device or resource busy.

Actual results:
can not write or read file

Expected results:
can write or read file as usual

Additional info:
smb client:
mount.cifs //10.10.51.22/gluster-testvol_dispersed /mnt/testvol_dispersed
cd /mnt/testvol_dispersed
cat file 
cat: file: Device or resource busy
echo "11111" >> file 
-bash: file: Device or resource busy

--- Additional comment from Worker Ant on 2019-08-16 08:01:58 IST ---

REVIEW: https://review.gluster.org/23240 (gluster-smb:add smb parameter when  access gluster by cifs) posted (#1) for review on master by None

--- Additional comment from Worker Ant on 2019-08-21 19:30:32 IST ---

REVIEW: https://review.gluster.org/23240 (gluster-smb:add smb parameter when  access gluster by cifs) merged (#4) on master by Amar Tumballi

Comment 1 Worker Ant 2019-12-10 06:36:01 UTC
REVIEW: https://review.gluster.org/23845 (gluster-smb:add smb parameter when access gluster by cifs) posted (#1) for review on release-7 by Anoop C S

Comment 2 Worker Ant 2019-12-13 07:03:25 UTC
REVIEW: https://review.gluster.org/23845 (gluster-smb:add smb parameter when access gluster by cifs) merged (#1) on release-7 by Anoop C S


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