I'm not sure about how it displays usage, but if you qm set the disk directly you should be good.
In my case, I only pass through a partition and not a whole disk.
By the way, I'm pretty happy with LVM, so...
99% time you want scsi.
Use virtio if you specifically want /dev/vdX instead of /dev/sdX. (I hit a case when I needed vdX, but you shouldn't need it.)
Use sata if you want to play with the sata controller feature (like if you want to do debugging or development around sata controller.)
And...
I'm in a similar situation. I created a separate enhancement ticket 3282.
As a side note, 4kn seems to be broken here and there. I'm getting all kinds of sector accessing issue and I'm reverting myself back to 512e.
Last working version 5.0.0-13
First non-working version 5.1.0-1
Steps:
1. Upgrade pve-qemu-kvm to 5.1
2. Start VM in a specific config
Expected:
VM boots up as it was.
Actual:
Grub cannot find main drive.
error: no such device: xxx.
error: unknown filesystem.
Only (hd0) is found.
System...
screenie: From the word You either download them from official I assumed the KVM templates shall come from official just like LXC temlpates. Sorry if that caused confusion.
Currently LXC templates in PVE can be downloaded by just a few clicks. The functionality has been there for a long time.
For commercial and production use, sure you can choose to build your own templates, and that's what we did with our SolusVM installation.
But think of this. You installed PVE...
Just want to be clear I'm not trying to accomplish the work using existing functions. Those sounds "workaround" to me, like, it can be done in a nice and clean way but somehow it can also be done using what we have, and you have been suggesting that. I understand that there are workarounds but...
You see, I said in the first paragraph that SolusVM has been doing this for a long time. It was used in production, for commercial purpose, and it went very well. Having a collection of templates provides a good way to manage all things, one of it being a central template storage for multiple...
I just had a very quick POC.
# lvchange -ay vg0/vm-101-disk-0
# virt-resize --expand /dev/sda1 my-debian-10-x86_64-2019-12.gz /dev/mapper/vg0-vm--101--disk--0
[ 0.0] Examining my-debian-10-x86_64-2019-12.gz
**********
Summary of changes:
/dev/sda1: This partition will be resized from 767.0M...
Well, "technically" that's the only lacking function that I wanted. But to be honest, having to have a "VM-like template" sitting in the VM list doesn't make me as comfortable.
Comparing to how LXC template works:
You have a few prepared templates, let's say there's 10 Linux flavors. You...
Unfortunately I've worked with SolusVM and I'm very used to their VM deployment process. You create a few KVM templates beforehand, place them in a folder just like ISO images (but qcow2 images instead), and deploy them into varies size of VM in one shot.
PVE seems to lack this feature on KVM...
Hit this strange issue recently.
I'm on latest kernel version and I've seen multiple times this error occurs when I start a new KVM guest.
At the time I have plenty of available memory.
# free -m
total used free shared buff/cache available
Mem...
Yeah still remember last week we were chatting about how suck the April update is, when all in a sudden we noticed that half of us were mentioning Windows 18.04 and the other half Ubuntu 18.04. XD
An important reason to use Debian is that Debian offers a much more smooth experience when doing major version upgrades.
I almost never hit issues upgrading Debian from 5 to 6, 6 to 7, all the way up to 10 beta.
Ubuntu, however, brings much more problems when you dist-upgrade.
On the kernel...
If your source server has proper disk layout and MBR partition table -- /dev/sda + /dev/sda1 layout, you can install kernel and grub inside source server before migration.
So I'm not sure if it's a known issue, or PVE problem, or KVM problem, but I'm trying to describe the problem here.
I had a fresh manual installation of Debian (10 beta) inside a KVM.
Partition layout:
sda: GPT
sda1: bios boot
sdb: xfs at /
grub-install /dev/sda reports no error.
After...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.