samba mount failed with “CIFS VFS: cifs_mount failed w/return code = -6” and “is not a valid block...





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















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









share|improve this question































    2















    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









    share|improve this question



























      2












      2








      2








      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









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 14 '16 at 13:00







      user46935

















      asked Apr 14 '16 at 12:16









      user46935user46935

      89831119




      89831119






















          3 Answers
          3






          active

          oldest

          votes


















          1














          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/






          share|improve this answer

































            0














            Possible issue is CIFS/SMB version



            //192.168.1.1/MyShare/    /mnt/cifs  cifs vers=2.1,username=user1,password=passwd1   0       0





            share|improve this answer































              0














              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






              share|improve this answer
























                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
                });


                }
                });














                draft saved

                draft discarded


















                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









                1














                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/






                share|improve this answer






























                  1














                  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/






                  share|improve this answer




























                    1












                    1








                    1







                    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/






                    share|improve this answer















                    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/







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 8 at 22:39









                    fboaventura

                    16316




                    16316










                    answered Apr 14 '16 at 12:16









                    user46935user46935

                    89831119




                    89831119

























                        0














                        Possible issue is CIFS/SMB version



                        //192.168.1.1/MyShare/    /mnt/cifs  cifs vers=2.1,username=user1,password=passwd1   0       0





                        share|improve this answer




























                          0














                          Possible issue is CIFS/SMB version



                          //192.168.1.1/MyShare/    /mnt/cifs  cifs vers=2.1,username=user1,password=passwd1   0       0





                          share|improve this answer


























                            0












                            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





                            share|improve this answer













                            Possible issue is CIFS/SMB version



                            //192.168.1.1/MyShare/    /mnt/cifs  cifs vers=2.1,username=user1,password=passwd1   0       0






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Oct 23 '17 at 16:28









                            Amit VujicAmit Vujic

                            1013




                            1013























                                0














                                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






                                share|improve this answer




























                                  0














                                  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






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    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






                                    share|improve this answer













                                    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







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Oct 23 '17 at 16:38









                                    parallyzeparallyze

                                    17916




                                    17916






























                                        draft saved

                                        draft discarded




















































                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        Сан-Квентин

                                        Алькесар

                                        Josef Freinademetz