400 too many arguments

magber68

Member
Nov 1, 2017
10
0
21
35
Hello everyone, I'm trying to add a disk to a container and it gives me this error:

pct set 123 -mp0 mp =/server/shared,/mnt /nextcloud
400 too many arguments

Can someone tell me how to solve it?
Thanks in advance.
 
Your syntax is wrong and you have blanks in the paths
Right command would be right like this:
Code:
pct set 123 -mp0 /server/shared,mp=/mnt/nextcloud
 
You can also changing the config file

open /etc/pve/lxc/123.conf and add
mp0: /server/shared,mp=/mnt/nextcloud