Bug 882769 - Both NFS and CIFS are started automatically by default
Summary: Both NFS and CIFS are started automatically by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ira Cooper
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard: config
Depends On:
Blocks: 956495 957769
TreeView+ depends on / blocked
 
Reported: 2012-12-03 04:53 UTC by Jin Zhou
Modified: 2015-03-23 07:39 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-23 07:37:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Jin Zhou 2012-12-03 04:53:04 UTC
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 06:51:34 UTC
> " 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 06:24:54 UTC
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 08:42:39 UTC
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 12:22:31 UTC
adding two more dev from Samba team to confirm the behavior on comment #3.

Comment 6 Scott Haines 2013-03-08 21:01:50 UTC
Per 03/05 email exchange w/ PM, targeting for Big Bend.

Comment 7 Christopher R. Hertel 2013-08-05 20:25:08 UTC
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 07:37:37 UTC
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 07:39:29 UTC
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.