400 too many arguments

magber68

Member
Nov 1, 2017
10
0
21
34
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!