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;
}
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
add a comment |
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
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
add a comment |
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
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
networking mount samba cifs plex
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
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%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
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
add a comment |
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
add a comment |
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
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
answered Feb 4 at 23:15
AndyAndy
1,050311
1,050311
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%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
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
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