<div dir="ltr">
Hello,
<br>
<br>I'm trying to add an additional disk to a container.
<br>
<br>The new disk image must be hosted on a different partition of the node.
<br>
<br>If we exclude the "--image PATH" parameter, the result is correct. But
we want to be able to define a different partition for the additional disk.
<br>
<br>According to the documentation, this should be possible.
<br>
<br>
<br>The error:
<br>
<br>
<br># prlctl set 100 --device-add hdd --image /backup/100 --size 100G --mnt
/backup
<br>Creating hdd1 (+) scsi:1 image='/backup/100' mnt=/backup subtype=virtio-scsi
<br>
<br>CT configuration validation result(s) :
<br>* The image file "/backup/100" used by hard disk 2 does not exist.Hard
disk 2 will not be connected at the virtual machine startup.
<br>Failed to configure the virtual machine.
<br>
<br>
<br># df -h
<br>Filesystem Size Used Avail Use% Mounted on
<br>/dev/mapper/openvz-root 9.8G 2.2G 7.1G 24% /
<br>devtmpfs 12G 0 12G 0% /dev
<br>tmpfs 12G 0 12G 0% /dev/shm
<br>tmpfs 12G 780K 12G 1% /run
<br>tmpfs 12G 0 12G 0% /sys/fs/cgroup
<br>/dev/sda2 976M 146M 764M 17% /boot
<br>/dev/mapper/backup-backup 148G 61M 140G 1% /backup
<br>/dev/mapper/openvz-vz 138G 1.7G 130G 2% /vz
<br>tmpfs 2.4G 0 2.4G 0% /run/user/0
<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">José Manuel Giner</div></div>