I am relatively new to Linux, and I am trying to mount a CIFS filesystem from an openfiler instance I have on my network in Red Hat. The openfiler instance is authenticating using AD.

I am able to connect using samba:

smbclient '\\\cluster_storage.cluster.Cluster' -U [DOMAIN]+[USERNAME]
Enter DOMAIN+USERNAME's password:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.5.6]
smb: \>

When I attempt to mount on boot via fstab, I am told that the line is bad during startup.

mount -t cifs -o username=[DOMAIN]+[USERNAME], password=[my password], 
domain=[domain.edu] '\\\cluster_storage.cluster.Cluster' /mnt/scratch

Any help would be greatly appreciated.


May not be this... but try forward slashes "/" instead of back slashes "\" in your specification of the share location.

So //

Update: As per the comments the below, the possible low hanging fruit of slashes was not it, but perhaps we are still dealing with a syntax issue. Take a look at the format provided here for various cases (including fstab syntax): https://access.redhat.com/solutions/448263

  • Unfortunately that did not appear to fix the problem :( – Hosty Aug 22 '14 at 19:51
  • Can you post the actual error you are getting? – beepBeep Aug 22 '14 at 19:55
  • Oh wait, is the mount line you posted what you entered into fstab? Or is that simply your manual mounting that is or is not working? fstab has a different syntax. – beepBeep Aug 22 '14 at 19:58
  • This is the mount line I pasted into fstab. I figured that this was likely a syntax error -_. Would you mind informing me of the proper syntax? – Hosty Aug 22 '14 at 20:08
  • Per your reference, I formatted my fstab entry in the following manner: \\\cluster_storage.cluster.Cluster /mnt/scratch cifs _netdev, username=[DOMAIN]+[USERNAME], password=[password], dir_mode=0755,file_mode=0755,uid=500,gid=500 0 0 Unfortunately I am still presented with an error at start up that the first line in fstab (this entry) is incorrect. – Hosty Aug 22 '14 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.