[SOLVED] cannot move vm disk

cdn123

Member
Aug 7, 2024
43
5
8
I try to move a vm disk in zfs from one pool to another via gui.
I got this error:

Code:
create full clone of drive scsi1 (fs01-SSD:vm-996-disk-2)
TASK ERROR: storage migration failed: timeout: no zvol device link for 'vm-996-disk-0' found after 300 sec.

Already searched in form but only what I can find to this error message are vms that will not boot after restart the node.
 
Last edited:
Working with block storage isn't as easy like with file storage but the first is the default way of pve.*
Anyway ... try in console to create the zvol first with same size as the old one and then try again moving by gui:
1) Check the size of your vm-996-disk-2 (in old pool) in the pve gui.
2) "zfs create -V 60G other-pool/vm-996-disk-2" # eg. for a 60 GB vm of same name but defined in other pool.
3) Try again moving your vm from one to other pool.
4) If that (3.) doesn't work either, stop vm 996 and "dd if=/dev/zd-old-zvol-nr of=/dev/zd-old-zvol-nr bs=32k" # take right numbers here !!
5) Exchange in gui the disk of vm 996 from old to new zvol-nr and start vm 996.

PS: Perhaps keep in mind to try running a (new defined) vm instead from a dataset instead of a zvol.
Same problem would be solved by "mv /one-pool/pve-ds/images/996 /other-pool/pve-ds/images/." (vm files are then layed down in dir's).
 
Working with block storage isn't as easy like with file storage but the first is the default way of pve.*
Anyway ... try in console to create the zvol first with same size as the old one and then try again moving by gui:
1) Check the size of your vm-996-disk-2 (in old pool) in the pve gui.
2) "zfs create -V 60G other-pool/vm-996-disk-2" # eg. for a 60 GB vm of same name but defined in other pool.
3) Try again moving your vm from one to other pool.
4) If that (3.) doesn't work either, stop vm 996 and "dd if=/dev/zd-old-zvol-nr of=/dev/zd-old-zvol-nr bs=32k" # take right numbers here !!
5) Exchange in gui the disk of vm 996 from old to new zvol-nr and start vm 996.

PS: Perhaps keep in mind to try running a (new defined) vm instead from a dataset instead of a zvol.
Same problem would be solved by "mv /one-pool/pve-ds/images/996 /other-pool/pve-ds/images/." (vm files are then layed down in dir's).
Thank you! Don't know why, but after restart moving will work via GUI.
 
  • Like
Reactions: waltar

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!