[PVE-User] storage migration failed: error with cfs lock 'storage-nfs-scratch': unable to create image: got lock timeout - aborting command

Marco Gaiarin gaio at sv.lnf.it
Thu Sep 16 09:46:10 CEST 2021


Mandi! Fabian Grünbichler
  In chel di` si favelave...

> the problem (as described in the patch I linked earlier) is that for 
> qcow2, we currently always allocate the metadata for the qcow2 file. if 
> the image file is big enough, and the storage slow enough, this can take 
> too long. for raw there is no metadata (well there is, but it does not 
> scale with the size of the file ;))

Perfectly clear. Thanks.


> obviously all of this should be carefully tested with non-production 
> images/guests/systems first, as you are leaving supported/tested 
> territory!

I've solved this in a more simpler way: i've discovered that a 'thin'
filesystem (in my case, ZFS) can allocate a 2TB RAW image in a 800GB
ZFS volume, obviously providing that there's no more then 800GB of data
in the volume.
So, i've simply moved the image as RAW.


Thanks!

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list