为什么kvm池这么小

为什么kvm池这么小

我在 1TB 磁盘上全新安装的 ubuntu server 18.04 上设置了 kvm。磁盘上没有其他东西。无论我使用 virt-manager 还是 virsh on cli 创建池,我总是得到一个 3.75GB 的池池大小的屏幕截图池中剩余空间这么少的原因是我有一个用于我试图创建的虚拟服务器的 ubuntu 服务器映像。

默认池的大小为 3.75GB,我创建的每个新池都以此大小创建。我试图为我的虚拟服务器创建一个 750GB 的池,但搞不清楚。我从未被提供指定池大小的选项,只有卷大小,但这受到池大小的限制。我想象 qemu 会默认将磁盘上的所有可用空间用作池。所有在线设置 kvm 虚拟服务器的示例都有比我更大的池。我错过了什么?

DF-H

Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 787M 1.2M 786M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.8G 0 100% / tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/loop0 92M 92M 0 100% /snap/core/8592 /dev/sda2 976M 144M 765M 16% /boot /dev/loop2 92M 92M 0 100% /snap/core/8689 tmpfs 787M 0 787M 0% /run/user/1000

fdisk -l

Disk /dev/loop0: 91.3 MiB, 95748096 bytes, 187008 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 91.4 MiB, 95805440 bytes, 187120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 8E855DDE-1DBD-41AC-9F1A-C6D5097E0016

Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 2101247 2097152 1G Linux filesystem /dev/sda3 2101248 1953521663 1951420416 930.5G Linux filesystem

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x08b44167

Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 4 GiB, 4294967296 bytes, 8388608 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes

相关内容