Unable to mount cifs in redhat 6

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 '\\10.25.214.26\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] '\\10.25.214.26\cluster_storage.cluster.Cluster' /mnt/scratch

Any help would be greatly appreciated.

Answer

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

So //10.25.214.26/cluster_storage.cluster.Cluster

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

Attribution
Source : Link , Question Author : Plurarian , Answer Author : beepBeep

Leave a Comment