Re: qcow2 --> logical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le 12/04/2017 à 15:31, Scott Gennari a écrit :
How would can you import/migrate this .qcow2 into a logical volume? Any
advice would be greatly appreciated.


- get size of qcow2 image:

qemu-img info yourFile.qcow2

- create a logical volume of same size:

ssm create -s xxxxxxxb -n yourLvName -p centos

- copy image:

qemu-img convert yourFile.qcow2 -O raw /dev/centos/yourLvName

--
Philippe BOURDEU d'AGUERRE
AIME - Campus de l'INSA			http://aime-toulouse.fr/
135 av. de Rangueil			Tél +33 561 559 885
31077 TOULOUSE Cedex 4 - FRANCE		Fax +33 561 559 870
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux