Mount -T Cifs Works on One Version of Linux But Not Another

Install/Update cifs-utils before mount smb

Apparently my original question was downvoted for some reason. #whatever

As I mentioned in one of the comments above:

I managed to repackage and upload an updated version. Thanks for the advice. Its available in Atlas as "KptnKMan/bluefhypervalphacentos7repack".

Special thanks to @frédéric-henri :)

Problems with mount cifs

The Kernel 4.13 has introduced changes in SMB, Have a look at Linux kernel 4.13 and SMB protocol version fun for mor info.

In my case, the only thing that worked was a Kernel downgrade.

If I was you, I would try first to changing the vers=1.0 to vers=2.0 and/or vers=3.0

How do you force a CIFS connection to unmount

I use lazy unmount: umount -l (that's a lowercase L)

Lazy unmount. Detach the filesystem
from the filesystem hierarchy now, and
cleanup all references to the
filesystem as soon as it is not busy
anymore. (Requires kernel 2.4.11 or
later.)

SMB mount fails with execl()

Used strace() to find the arguments passed to execl(). Solved my issue by using system calls mount() and umount().



Related Topics



Leave a reply



Submit