mount.cifs fails with mount error(2): No such file or directoryCIFS client behaving as root on serverCannot mount remote drive. I get the error: mount.cifs: bad UNC (/servername//data.xxx.xxx.ac.uk/)cifs mount fails with “mount error(112): Host is down”cifs mount returns input/output error on frequent file readLinux SMB file share setup issuesmount.cifs gives me “mount error: cifs filesystem not supported by the system”Creating directory on cifs mount returns error, but directory is indeed created
Why was the DC-9-80 so successful despite being obsolete almost from birth?
Can anyone give me feedback this encryption program?
If Space Shuttle flies "like a brick", why does it need the wings?
How did we arrive at Major/Minor tonality, and why did we settle on it?
Am I being run backwards?
Differences of latch and lock
How do I experimentally measure the surface area of a rock?
Simplify makes Mathematica forget that a matrix is Hermitian
How to manage publications on a local computer
In a topological space, if a subset is both closed and open then is the toplogy discrete?
Why does nobody understand the grapple rules?
Doubt on pronunciation of verbs (stressing)
Shoe shine shop model in Rust
What is the maximum number of squares 8 queens and 8 nightriders can attack on a 16x16 board?
Who is this famous person?
How can kinetic energy increase during a collision?
Equality operator does not get defined for a custom spaceship operator implementation in C++20
About an ambiguity that really prevents me from understanding the principle " the laws of physics are invariant in all inertial frames"
Was there a clearly identifiable "first computer" to use or demonstrate the use of virtual memory?
Driving distance between O'Hare (ORD) and Downtown Chicago is 20.5 mi and 1H 17min?
Why do Muslim refugees seek asylum in Europe and not in rich countries in the Middle East?
What is my volume?
Unexpected Code Coverage Reduction
I need a mindmap on latex that have children that begot children
mount.cifs fails with mount error(2): No such file or directory
CIFS client behaving as root on serverCannot mount remote drive. I get the error: mount.cifs: bad UNC (/servername//data.xxx.xxx.ac.uk/)cifs mount fails with “mount error(112): Host is down”cifs mount returns input/output error on frequent file readLinux SMB file share setup issuesmount.cifs gives me “mount error: cifs filesystem not supported by the system”Creating directory on cifs mount returns error, but directory is indeed created
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Mounting a samba share (from linux samba server) is not possible from shell on fresh kubuntu 19.04 installation
root@client:~# mount -t cifs -o user=myuser //myserver/myshare /home/user/myserver/myshare/
Password for myuser@//myserver/myshare: *****
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
But the share, mountpoint and user (credentials) exist and are correct:
smbclient -L myserver -U mygroup\myuser
Enter MYGROUPMYUSER's password:
Sharename Type Comment
--------- ---- -------
myshare Disk
[...]
~# ls -al /home/user/myserver/myshare/
insgesamt 8
drwxrwxrwx 2 user user 4096 Jul 30 19:21 .
drwxrwxr-x 3 user user 4096 Jul 30 19:21 ..
I can also open the share in e.g. dolphin with smb://
protocol
This used to work for years now with previous ubuntu versions.
client system:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
~# uname -a
Linux mypc 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
installed packages (from apt log):
install cifs-utils:amd64 <keine> 2:6.8-2
install keyutils:amd64 <keine> 1.6-6
install samba-common:all <none> 2:4.10.0+dfsg-0ubuntu2.2
install smbclient:amd64 <keine> 2:4.10.0+dfsg-0ubuntu2.2
Server samba version:
~# smbd --version
Version 3.6.25
samba 19.04 cifs
add a comment
|
Mounting a samba share (from linux samba server) is not possible from shell on fresh kubuntu 19.04 installation
root@client:~# mount -t cifs -o user=myuser //myserver/myshare /home/user/myserver/myshare/
Password for myuser@//myserver/myshare: *****
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
But the share, mountpoint and user (credentials) exist and are correct:
smbclient -L myserver -U mygroup\myuser
Enter MYGROUPMYUSER's password:
Sharename Type Comment
--------- ---- -------
myshare Disk
[...]
~# ls -al /home/user/myserver/myshare/
insgesamt 8
drwxrwxrwx 2 user user 4096 Jul 30 19:21 .
drwxrwxr-x 3 user user 4096 Jul 30 19:21 ..
I can also open the share in e.g. dolphin with smb://
protocol
This used to work for years now with previous ubuntu versions.
client system:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
~# uname -a
Linux mypc 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
installed packages (from apt log):
install cifs-utils:amd64 <keine> 2:6.8-2
install keyutils:amd64 <keine> 1.6-6
install samba-common:all <none> 2:4.10.0+dfsg-0ubuntu2.2
install smbclient:amd64 <keine> 2:4.10.0+dfsg-0ubuntu2.2
Server samba version:
~# smbd --version
Version 3.6.25
samba 19.04 cifs
add a comment
|
Mounting a samba share (from linux samba server) is not possible from shell on fresh kubuntu 19.04 installation
root@client:~# mount -t cifs -o user=myuser //myserver/myshare /home/user/myserver/myshare/
Password for myuser@//myserver/myshare: *****
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
But the share, mountpoint and user (credentials) exist and are correct:
smbclient -L myserver -U mygroup\myuser
Enter MYGROUPMYUSER's password:
Sharename Type Comment
--------- ---- -------
myshare Disk
[...]
~# ls -al /home/user/myserver/myshare/
insgesamt 8
drwxrwxrwx 2 user user 4096 Jul 30 19:21 .
drwxrwxr-x 3 user user 4096 Jul 30 19:21 ..
I can also open the share in e.g. dolphin with smb://
protocol
This used to work for years now with previous ubuntu versions.
client system:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
~# uname -a
Linux mypc 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
installed packages (from apt log):
install cifs-utils:amd64 <keine> 2:6.8-2
install keyutils:amd64 <keine> 1.6-6
install samba-common:all <none> 2:4.10.0+dfsg-0ubuntu2.2
install smbclient:amd64 <keine> 2:4.10.0+dfsg-0ubuntu2.2
Server samba version:
~# smbd --version
Version 3.6.25
samba 19.04 cifs
Mounting a samba share (from linux samba server) is not possible from shell on fresh kubuntu 19.04 installation
root@client:~# mount -t cifs -o user=myuser //myserver/myshare /home/user/myserver/myshare/
Password for myuser@//myserver/myshare: *****
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
But the share, mountpoint and user (credentials) exist and are correct:
smbclient -L myserver -U mygroup\myuser
Enter MYGROUPMYUSER's password:
Sharename Type Comment
--------- ---- -------
myshare Disk
[...]
~# ls -al /home/user/myserver/myshare/
insgesamt 8
drwxrwxrwx 2 user user 4096 Jul 30 19:21 .
drwxrwxr-x 3 user user 4096 Jul 30 19:21 ..
I can also open the share in e.g. dolphin with smb://
protocol
This used to work for years now with previous ubuntu versions.
client system:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
~# uname -a
Linux mypc 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
installed packages (from apt log):
install cifs-utils:amd64 <keine> 2:6.8-2
install keyutils:amd64 <keine> 1.6-6
install samba-common:all <none> 2:4.10.0+dfsg-0ubuntu2.2
install smbclient:amd64 <keine> 2:4.10.0+dfsg-0ubuntu2.2
Server samba version:
~# smbd --version
Version 3.6.25
samba 19.04 cifs
samba 19.04 cifs
asked Jul 30 at 18:10
PeterPeter
131 silver badge5 bronze badges
131 silver badge5 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
This is just a guess because I don't remember what the default settings were on Samba 3.6 but I think CIFS is trying to mount with an smb dialect that that version of samba didn't have yet.
Add the parameter vers=1.0 or maybe vers=2.0 to your list and see if you can connect:
mount -t cifs -o user=myuser,vers=1.0 //myserver/myshare /home/user/myserver/myshare/
EDIT: You may have to drop down the security level as well with another parameter: sec=ntlm
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1162199%2fmount-cifs-fails-with-mount-error2-no-such-file-or-directory%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is just a guess because I don't remember what the default settings were on Samba 3.6 but I think CIFS is trying to mount with an smb dialect that that version of samba didn't have yet.
Add the parameter vers=1.0 or maybe vers=2.0 to your list and see if you can connect:
mount -t cifs -o user=myuser,vers=1.0 //myserver/myshare /home/user/myserver/myshare/
EDIT: You may have to drop down the security level as well with another parameter: sec=ntlm
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
add a comment
|
This is just a guess because I don't remember what the default settings were on Samba 3.6 but I think CIFS is trying to mount with an smb dialect that that version of samba didn't have yet.
Add the parameter vers=1.0 or maybe vers=2.0 to your list and see if you can connect:
mount -t cifs -o user=myuser,vers=1.0 //myserver/myshare /home/user/myserver/myshare/
EDIT: You may have to drop down the security level as well with another parameter: sec=ntlm
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
add a comment
|
This is just a guess because I don't remember what the default settings were on Samba 3.6 but I think CIFS is trying to mount with an smb dialect that that version of samba didn't have yet.
Add the parameter vers=1.0 or maybe vers=2.0 to your list and see if you can connect:
mount -t cifs -o user=myuser,vers=1.0 //myserver/myshare /home/user/myserver/myshare/
EDIT: You may have to drop down the security level as well with another parameter: sec=ntlm
This is just a guess because I don't remember what the default settings were on Samba 3.6 but I think CIFS is trying to mount with an smb dialect that that version of samba didn't have yet.
Add the parameter vers=1.0 or maybe vers=2.0 to your list and see if you can connect:
mount -t cifs -o user=myuser,vers=1.0 //myserver/myshare /home/user/myserver/myshare/
EDIT: You may have to drop down the security level as well with another parameter: sec=ntlm
edited Jul 30 at 19:08
answered Jul 30 at 18:33
Morbius1Morbius1
2,3001 gold badge4 silver badges10 bronze badges
2,3001 gold badge4 silver badges10 bronze badges
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
add a comment
|
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
1
1
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
Perfect! The "vers=1.0" did it! Fun fact: I recently had to specify version 3.0 to mount a windows server 2019 share from linux... anyway, that error message is a real cheek!
– Peter
Jul 30 at 23:10
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1162199%2fmount-cifs-fails-with-mount-error2-no-such-file-or-directory%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown