[SOLVED] qm option to reattach unused disks


Active Member
Apr 15, 2015
planet earth
# qm rescan <VMID>
Thanks Dietmar,

Digging through the "qm" manual, I ended up using "qm set" instead. The "qm rescan" did not reattach the unused disk as useable again.

qm set <VMID> --scsi[n] local-zfs:vm-<VMID>-disk-[n],discard=on


The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!