Rookie question: adding disk to centos KVM host
-
I've added an U.2 SSD disk to my KVM test system. It shows up as /dev/nvme0n1 and it's working. So far, so fine.
I'm using virt-manager and latest centos. What do I need to do with the disk so I can put some VMs on it?
I want thick provisioning or whatever the highest performing is where I can put multiple VMs on the disk.
PS. I'm used to xen where you would run
xe sr-create
on the device and it would create a storage repository with LVM for you and that would be it. I find a gazillion guides on the web how to add a disk to the KVM guest but that's not what I'm looking for. -
Depending on the type of storage pool you want, you could partition your block device device or create LVM volumes to be used as storage pool. This is more of a how to add storage to a Linux host.
-
@pete-s
Use Virt Manager and create new storage pool this is the easy way, you make it directory type. there are many other types like LVM.
-
Thanks to you guys I got it sorted out now!