samba mount failed with “CIFS VFS: cifs_mount failed w/return code = -6” and “is not a valid block...
Environment:
- server: Windows
- client: RHEL 6.7 (samba-common-3.6.23-20.el6.x86_64) or Debian Wheezy (samba-common-bin 2:3.6.6-6+deb7u7)
Client's /etc/fstab:
//10.0.0.10/share/ /media/smb cifs _netdev,user,uid=1000,forceuid,gid=1000,forcegid,noperm,username=XXXX,password=XXXX,domain=aa.bb.cc
Mounting:
$ sudo mount /media/smb/
mount: //10.0.0.10/share/ is not a valid block device
$ dmesg | tail
CIFS VFS: cifs_mount failed w/return code = -6
mount samba cifs
add a comment |
Environment:
- server: Windows
- client: RHEL 6.7 (samba-common-3.6.23-20.el6.x86_64) or Debian Wheezy (samba-common-bin 2:3.6.6-6+deb7u7)
Client's /etc/fstab:
//10.0.0.10/share/ /media/smb cifs _netdev,user,uid=1000,forceuid,gid=1000,forcegid,noperm,username=XXXX,password=XXXX,domain=aa.bb.cc
Mounting:
$ sudo mount /media/smb/
mount: //10.0.0.10/share/ is not a valid block device
$ dmesg | tail
CIFS VFS: cifs_mount failed w/return code = -6
mount samba cifs
add a comment |
Environment:
- server: Windows
- client: RHEL 6.7 (samba-common-3.6.23-20.el6.x86_64) or Debian Wheezy (samba-common-bin 2:3.6.6-6+deb7u7)
Client's /etc/fstab:
//10.0.0.10/share/ /media/smb cifs _netdev,user,uid=1000,forceuid,gid=1000,forcegid,noperm,username=XXXX,password=XXXX,domain=aa.bb.cc
Mounting:
$ sudo mount /media/smb/
mount: //10.0.0.10/share/ is not a valid block device
$ dmesg | tail
CIFS VFS: cifs_mount failed w/return code = -6
mount samba cifs
Environment:
- server: Windows
- client: RHEL 6.7 (samba-common-3.6.23-20.el6.x86_64) or Debian Wheezy (samba-common-bin 2:3.6.6-6+deb7u7)
Client's /etc/fstab:
//10.0.0.10/share/ /media/smb cifs _netdev,user,uid=1000,forceuid,gid=1000,forcegid,noperm,username=XXXX,password=XXXX,domain=aa.bb.cc
Mounting:
$ sudo mount /media/smb/
mount: //10.0.0.10/share/ is not a valid block device
$ dmesg | tail
CIFS VFS: cifs_mount failed w/return code = -6
mount samba cifs
mount samba cifs
edited Apr 14 '16 at 13:00
user46935
asked Apr 14 '16 at 12:16
user46935user46935
89321019
89321019
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You have to add cifs-utils
to be able to mount CIFS shares:
Red Hat/CentOS related:
$ sudo yum install cifs-utils
Debian/Ubuntu related:
$ sudo apt install cifs-utils
Solution found here: http://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/
add a comment |
Possible issue is CIFS/SMB version
//192.168.1.1/MyShare/ /mnt/cifs cifs vers=2.1,username=user1,password=passwd1 0 0
add a comment |
Might be related to SMBv1/CIFS removal in Windows 10 / Windows Server v1709 (RS3):
https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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/3.0/"u003ecc by-sa 3.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%2fsuperuser.com%2fquestions%2f1065353%2fsamba-mount-failed-with-cifs-vfs-cifs-mount-failed-w-return-code-6-and-is%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to add cifs-utils
to be able to mount CIFS shares:
Red Hat/CentOS related:
$ sudo yum install cifs-utils
Debian/Ubuntu related:
$ sudo apt install cifs-utils
Solution found here: http://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/
add a comment |
You have to add cifs-utils
to be able to mount CIFS shares:
Red Hat/CentOS related:
$ sudo yum install cifs-utils
Debian/Ubuntu related:
$ sudo apt install cifs-utils
Solution found here: http://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/
add a comment |
You have to add cifs-utils
to be able to mount CIFS shares:
Red Hat/CentOS related:
$ sudo yum install cifs-utils
Debian/Ubuntu related:
$ sudo apt install cifs-utils
Solution found here: http://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/
You have to add cifs-utils
to be able to mount CIFS shares:
Red Hat/CentOS related:
$ sudo yum install cifs-utils
Debian/Ubuntu related:
$ sudo apt install cifs-utils
Solution found here: http://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/
edited Feb 8 at 22:39
fboaventura
16316
16316
answered Apr 14 '16 at 12:16
user46935user46935
89321019
89321019
add a comment |
add a comment |
Possible issue is CIFS/SMB version
//192.168.1.1/MyShare/ /mnt/cifs cifs vers=2.1,username=user1,password=passwd1 0 0
add a comment |
Possible issue is CIFS/SMB version
//192.168.1.1/MyShare/ /mnt/cifs cifs vers=2.1,username=user1,password=passwd1 0 0
add a comment |
Possible issue is CIFS/SMB version
//192.168.1.1/MyShare/ /mnt/cifs cifs vers=2.1,username=user1,password=passwd1 0 0
Possible issue is CIFS/SMB version
//192.168.1.1/MyShare/ /mnt/cifs cifs vers=2.1,username=user1,password=passwd1 0 0
answered Oct 23 '17 at 16:28
Amit VujicAmit Vujic
1013
1013
add a comment |
add a comment |
Might be related to SMBv1/CIFS removal in Windows 10 / Windows Server v1709 (RS3):
https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709
add a comment |
Might be related to SMBv1/CIFS removal in Windows 10 / Windows Server v1709 (RS3):
https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709
add a comment |
Might be related to SMBv1/CIFS removal in Windows 10 / Windows Server v1709 (RS3):
https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709
Might be related to SMBv1/CIFS removal in Windows 10 / Windows Server v1709 (RS3):
https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709
answered Oct 23 '17 at 16:38
parallyzeparallyze
17916
17916
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1065353%2fsamba-mount-failed-with-cifs-vfs-cifs-mount-failed-w-return-code-6-and-is%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