Im making a plex server on a raspberry pi, but i am unable to mount a network drive





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







1















I write the following command:



sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share


and it returns with the following error:




mount error(22): Invalid argument

Refer to mount.cifs(8) manual page (e.g. man mount.cifs)




I'm all new to Linux, sorry if it's an easy mistake. What can I do to fix this?










share|improve this question

























  • Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

    – Pimp Juice IT
    Feb 5 at 1:24


















1















I write the following command:



sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share


and it returns with the following error:




mount error(22): Invalid argument

Refer to mount.cifs(8) manual page (e.g. man mount.cifs)




I'm all new to Linux, sorry if it's an easy mistake. What can I do to fix this?










share|improve this question

























  • Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

    – Pimp Juice IT
    Feb 5 at 1:24














1












1








1








I write the following command:



sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share


and it returns with the following error:




mount error(22): Invalid argument

Refer to mount.cifs(8) manual page (e.g. man mount.cifs)




I'm all new to Linux, sorry if it's an easy mistake. What can I do to fix this?










share|improve this question
















I write the following command:



sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share


and it returns with the following error:




mount error(22): Invalid argument

Refer to mount.cifs(8) manual page (e.g. man mount.cifs)




I'm all new to Linux, sorry if it's an easy mistake. What can I do to fix this?







networking mount samba cifs plex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 at 0:09









Run5k

11.7k73354




11.7k73354










asked Feb 4 at 21:50









FrosteFroste

82




82













  • Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

    – Pimp Juice IT
    Feb 5 at 1:24



















  • Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

    – Pimp Juice IT
    Feb 5 at 1:24

















Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

– Pimp Juice IT
Feb 5 at 1:24





Sample syntax of what works for me . . . sudo mount -t cifs //<IPAddress>/<ShareName> -o username=<username>,password=<password> /mnt/<ServerName>

– Pimp Juice IT
Feb 5 at 1:24










1 Answer
1






active

oldest

votes


















1














The error is pointing you to the man page (the manual) for mount.cifs, which is available here online or by typing man mount.cifs into terminal:



You have put your arguments in the wrong order. The manual indicated the order is...



mount.cifs {service} {mount-point} [-o options]


also, "username" is not the correct option for specifying username; it's "user".



so the correct mount command would be...



mount -t cifs //192.168.0.29/mp3/ /home/pi/DRIVE/share -o user=XXX,password=XXX





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%2f1402016%2fim-making-a-plex-server-on-a-raspberry-pi-but-i-am-unable-to-mount-a-network-dr%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









    1














    The error is pointing you to the man page (the manual) for mount.cifs, which is available here online or by typing man mount.cifs into terminal:



    You have put your arguments in the wrong order. The manual indicated the order is...



    mount.cifs {service} {mount-point} [-o options]


    also, "username" is not the correct option for specifying username; it's "user".



    so the correct mount command would be...



    mount -t cifs //192.168.0.29/mp3/ /home/pi/DRIVE/share -o user=XXX,password=XXX





    share|improve this answer




























      1














      The error is pointing you to the man page (the manual) for mount.cifs, which is available here online or by typing man mount.cifs into terminal:



      You have put your arguments in the wrong order. The manual indicated the order is...



      mount.cifs {service} {mount-point} [-o options]


      also, "username" is not the correct option for specifying username; it's "user".



      so the correct mount command would be...



      mount -t cifs //192.168.0.29/mp3/ /home/pi/DRIVE/share -o user=XXX,password=XXX





      share|improve this answer


























        1












        1








        1







        The error is pointing you to the man page (the manual) for mount.cifs, which is available here online or by typing man mount.cifs into terminal:



        You have put your arguments in the wrong order. The manual indicated the order is...



        mount.cifs {service} {mount-point} [-o options]


        also, "username" is not the correct option for specifying username; it's "user".



        so the correct mount command would be...



        mount -t cifs //192.168.0.29/mp3/ /home/pi/DRIVE/share -o user=XXX,password=XXX





        share|improve this answer













        The error is pointing you to the man page (the manual) for mount.cifs, which is available here online or by typing man mount.cifs into terminal:



        You have put your arguments in the wrong order. The manual indicated the order is...



        mount.cifs {service} {mount-point} [-o options]


        also, "username" is not the correct option for specifying username; it's "user".



        so the correct mount command would be...



        mount -t cifs //192.168.0.29/mp3/ /home/pi/DRIVE/share -o user=XXX,password=XXX






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 4 at 23:15









        AndyAndy

        1,050311




        1,050311






























            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%2f1402016%2fim-making-a-plex-server-on-a-raspberry-pi-but-i-am-unable-to-mount-a-network-dr%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa