Proxmox - Move Disk
My proxmox server's local storage was nearly full and I was at the point where I was deciding which guests were going to have to get deleted in order to save space. Luckily there is an alternative option that is probably a lot better. You can move your guest's storage drives to another "storage pool". You can add storage pools at any time, and that includes the option to use an NFS.
To move your guest's disks to another storage pool: 1. Select the guest you wish to move 2. Select "Hardware" 3. Click the Move Disk button.
Then select the storage pool you wish to move the guest to.
Select remove source if this is to save space.
Fixing Possible Issue
If when you try to clone the guest, you get a message like so:
create full clone of drive scsi0 (ssd3:111/vm-111-disk-0.qcow2) TASK ERROR: clone failed: unable to create image: Insecure dependency in exec while running with -T switch at /usr/share/perl/5.28/IPC/Open3.pm line 178.
... then all I had to do was move the disk from the CLI with:
qm move_disk 111 scsi0 ssd3
This will result in an "unattached disk" showing up for the VM. After that I was able to clone the VM and the clone had just one disk, and it works perfectly fine.
First published: 4th June 2020