Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 882769 - Both NFS and CIFS are started automatically by default
Both NFS and CIFS are started automatically by default
Status: CLOSED WONTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: samba (Show other bugs)
2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Ira Cooper
storage-qa-internal@redhat.com
config
: ZStream
Depends On:
Blocks: 956495 957769
  Show dependency treegraph
 
Reported: 2012-12-02 23:53 EST by Jin Zhou
Modified: 2015-03-23 03:39 EDT (History)
13 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-23 03:37:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jin Zhou 2012-12-02 23:53:04 EST
Description of problem:

When a Gluster volume is started, by default both NFS and CIFS server processes are also started automatically. But since we do not support simultaneous CIFS and NFS access to the same volume, we should not autostart CIFS and NFS for the Gluster volume at the same time.

I suggest that we leave them both disabled by default. Or only make NFS server auto started.
Comment 2 Amar Tumballi 2012-12-03 01:51:34 EST
> " But since we do not support simultaneous CIFS and NFS access to the same volume, we should not autostart CIFS and NFS for the Gluster volume at the same time."

Jin,

Where did you get the above confirmation? (any doc, someone stating it in email etc)

because, from storage philosophy, we think once a volume is started, it should be made available in all the access protocols as possible, and hence we start both CIFS and NFS when a volume starts.
Comment 3 Jin Zhou 2012-12-05 01:24:54 EST
Hi Amar,

Certain protocols are not compatible to be enabled at the same time on the same volume.

While I'm still trying to get more complete picture, here are two email threads you can refer to

http://post-office.corp.redhat.com/archives/sme-storage/2012-August/msg00163.html

http://post-office.corp.redhat.com/archives/sme-storage/2012-November/msg00097.html

Thanks

Jin
Comment 4 Niels de Vos 2012-12-05 03:42:39 EST
Note that the volume is only exported by samba when the samba service is enabled and running. If the samba service is disabled, the volume will only be exported over NFS.

I guess we could change the hook-scripts and have them check 'nfs.disable' before adding the volume to a smb.conf and restarting samba.
Comment 5 Amar Tumballi 2013-02-04 07:22:31 EST
adding two more dev from Samba team to confirm the behavior on comment #3.
Comment 6 Scott Haines 2013-03-08 16:01:50 EST
Per 03/05 email exchange w/ PM, targeting for Big Bend.
Comment 7 Christopher R. Hertel 2013-08-05 16:25:08 EDT
Re-confirming the behavior described in comment #3.
At this point in time, we do not consider NFS and SMB services to be compatible on top of GlusterFS.

Work is ongoing to make SMB compatible with other access methods.  Fixes to Gluster byte-range locking support, which were applied several months ago, are a major step toward protocol interoperability but new features (such as OpLock support) will be needed in order to fully synchronize behaviors.
Comment 11 Vivek Agarwal 2015-03-23 03:37:37 EDT
The product version of Red Hat Storage on which this issue was reported has reached End Of Life (EOL) [1], hence this bug report is being closed. If the issue is still observed on a current version of Red Hat Storage, please file a new bug report on the current version.







[1] https://rhn.redhat.com/errata/RHSA-2014-0821.html
Comment 12 Vivek Agarwal 2015-03-23 03:39:29 EDT
The product version of Red Hat Storage on which this issue was reported has reached End Of Life (EOL) [1], hence this bug report is being closed. If the issue is still observed on a current version of Red Hat Storage, please file a new bug report on the current version.







[1] https://rhn.redhat.com/errata/RHSA-2014-0821.html

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