[PVE-User] Moving a disk from Ceph to thin-lvm, troubles...

Marco Gaiarin gaio at sv.lnf.it
Fri Nov 18 14:04:48 CET 2016


> What i'm missing?! Thanks.

Sorry, probably i'm missing some background info on LVM. Trying to
reset and restart from the ground.


With LVM, you define a storage with a VG, and proxmox itself create a
LV for every disk. Simple, clear.


With Thin-LVM, insted, i've to creare a LV, define it as 'thin' with
(taken from the wiki):

	lvcreate -L 100G -n data pve
	lvconvert --type thin-pool pve/data

and in definition of the storage, in proxmox interface, i've to specify
the VG (clear) but also the LV.
OK. But done that, where the disk image get created? Proxmox take care
of formatting and mounting the LV, and create the disk image inside?

Sorry, but i've not clear how works...


Also, seems that the trouble with Thin LVM came from the fact that i've
exausted the 'metadata' space, and the default LVM configuration does
not extend automatically the metadata space
(thin_pool_autoextend_threshold = 100).

Right?


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/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


More information about the pve-user mailing list