ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Rookie question: adding disk to centos KVM host

    IT Discussion
    kvm virt-manager centos
    3
    4
    738
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by 1337

      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.

      Emad RE 1 Reply Last reply Reply Quote 0
      • RomoR
        Romo
        last edited by

        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.

        Here's more info https://docs.fedoraproject.org/en-US/Fedora/18/html/Virtualization_Administration_Guide/chap-Virtualization_Administration_Guide-Storage_Pools-Storage_Pools.html#sect-part-based-storage-pool-cli

        1 Reply Last reply Reply Quote 3
        • Emad RE
          Emad R @1337
          last edited by

          @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.

          1 Reply Last reply Reply Quote 3
          • 1
            1337
            last edited by

            Thanks to you guys I got it sorted out now!

            1 Reply Last reply Reply Quote 2
            • 1 / 1
            • First post
              Last post