[virt-tools-list] Using LV as guest disk on KVM

Richard Taubo ort at bergersen.no
Tue Nov 18 23:26:47 UTC 2014


Hi!

I have created a guest disk like this:
a) lvcreate -L 30G -n Vm1 VolGroup
b) mkfs.xfs /dev/VolGroup/Vm1

And installed the VM like this:
c) virt-install --name=vm1.mydomain.com \
	--disk path=/dev/VolGroup/Vm1 \
	… rest_of_arguments

Questions:
1) 	Is b) above necessary, or are a) and c) sufficient?

2) 	If b) is necessary, should /dev/VolGroup/Vm1 be mounted while installing and 
	while running the VM?


Thanks!

Best regards,
Richard Taubo




More information about the virt-tools-list mailing list