Bug 840485
Summary: | Explain how to mount volumes over CIFS | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Niels de Vos <ndevos> |
Component: | doc-Administration_Guide | Assignee: | Divya <divya> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 2.0 | CC: | asriram, mhideo, rwheeler, sdharane, storage-doc |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-10 07:14:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Niels de Vos
2012-07-16 13:32:04 UTC
I have added instructions on using Linux to mount over CIFS. The documentation of the same is available at: http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/sect-Administration_Guide-GlusterFS_Client-CIFS.html#id2857734 The above mentioned url is not browseable, so I verified it from source and it looks fine. https://svn.devel.redhat.com/repos/ecs/Red_Hat_Storage/2.0/Administration_Guide/en-US/admin_settingup_clients.xml Thanks! Two minor points I'd like to add for improving: 1. use the full filename for /etc/samba/smb.conf instead of smb.conf 2. instead of passing username+password in /etc/fstab, use the 'credentials=' option as advised in 'man mount.cifs': credentials=filename specifies a file that contains a username and/or password. The format of the file is: username=value password=value This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab. Be sure to protect any credentials file properly. I have incorporated Niels suggestions. Updated guide is available at: http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/sect-Administration_Guide-GlusterFS_Client-CIFS.html#sect-Administration_Guide-GlusterFS_Client-CIFS-Automatic Could you use a clearer example? I think it would be easier for users to understand if you have something like 'credentials=/etc/samba/mountpoint.passwd' instead of 'credentials=file1'. As the format of the (in this example) /etc/samba/mountpoint.passwd is important, it would be good to have a reference to the manual page of 'mount.cifs' which explains the format. Thanks again! I have added path for the password file and reference to man page, updated documentation is available at http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/sect-Administration_Guide-GlusterFS_Client-CIFS.html#sect-Administration_Guide-GlusterFS_Client-CIFS-Automatic Verified in the above mentioned link and it looks fine. |