Sunday, February 14, 2021

Mounting an SMB share in linux

 There are lots of docs on this, heres a situation i have.

Trying to mount a SMB share in linux.  In my situation, CENTOS7, the GUI i could see the smb share and browse, but i couldn't see/mount anything in the GUI as one normally would want to.

my issue, I kept getting "HOST DOWN" or other errors and I couldn't figure out why.

In my situation, i discovered it was my SMB version that was messing things up.  My device was older SMB1.0 and i think everything was using 3.0.  Anyway, THIS command got it working for me.

mount -t cifs "//192.168.2.15/Movies" -o username=admin,domain=WORKGROUP,\vers=1\.0 (your mount point)


You can change the version to \vers=3\.0  if you want 3.0

No comments:

Post a Comment