Connecting to smb2 share from RHEL 6.4
This has been puzzling me for days now and I'm hoping someone can help me...
I have RHEL 6.4 and I am trying to mount a NAS share using smb2. I want to use the RHEL 6.4 machine as an smb client, not an smb server. I have no idea how to do this. I can mount it using "mount -t cifs" but can't seem to figure out how to do smb2?
Also, it would be nice to verify after it mounts that it is indeed an smb2 mount.
Anyone?
Thanks.
Responses
Hi mark,
Unfortunately i do not think you will be able to accomplish this. Let me explain in some additional detail. For RHEL when you use the mount command your are using the kernel driver for cifs. The features for cifs commections are tied to the kernel module providing this. You can see details for this with module "man mount.cifs" The RHEL6 kernel is only capabable of mounting older 1.0 smb protocol mounts. RHEL7 however can mount smb2 version of the protocal since the kernel is using a newer cifs module. On RHEL7 in "man mount.cifs" you will see the options to specify vers= 1.0, 2.0, 2.1, or 3.0.
RHEL6 using samba-3.6.X will however be able to run as a fileserver and clients can use smb2 to access this server. Unfortunatly it does not sound like this will help with what your trying to accomplish.
How to enable SMB2 protocol support on RHEL
Regards,
Jeremy
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
