[SOLVED] How do I attach a VM disk from local-zfs to a VM

mswag

New Member
Apr 3, 2025
1
0
1
I have a VM disk I replicated from my other node (VM 102), and I want to attach it to this VM (VM 103). As far as I can tell I can add a brand new disk or detach current disks, I cannot figure out how to add an existing disk. If I attach the disk (VM-102) to my VM 103 and keep the replication on will the storage between the two VM's be synced?vmdisks.pngaddisk.png
 
With the CLI/shell:

qm disk import <vmid> <source> <storage> [OPTIONS]