Reconsidering ProxMox
-
@stacksofplates said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
That's roughly it, and yes, it remains questionable at the best of times.
In the cases where you need LVM fat, you almost certainly also need to avoid LVM because that itty bitty overhead is still too much.
Preallocated qcow2 images are 99% as fast as LVM volumes. Even with just preallocating just the metadata I've had almost native disk write speeds. You lose all of the advantages of qcow2 like libguestfs, the qemu agent, internal and external snapshots, etc.
that said, no idea how the eff you do that with ProxMox. That was just KVM.
It's the default actually. We use Qcow2 on LVM-Thin mostly.
-
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
That's roughly it, and yes, it remains questionable at the best of times.
In the cases where you need LVM fat, you almost certainly also need to avoid LVM because that itty bitty overhead is still too much.
Preallocated qcow2 images are 99% as fast as LVM volumes. Even with just preallocating just the metadata I've had almost native disk write speeds. You lose all of the advantages of qcow2 like libguestfs, the qemu agent, internal and external snapshots, etc.
that said, no idea how the eff you do that with ProxMox. That was just KVM.
It's the default actually. We use Qcow2 on LVM-Thin mostly.
I meant the preallocation. I'd be surprised if they expose that because you can either fully preallocate and zero out the blocks, preallocate and just mark the beginning and end, or just preallocate the metadata.
-
I've been playing with Proxmox quite a bit. Still love xcp-ng but Proxmox does somethings that xcp-ng doesn't. A built in host management interface for instance is wonderful.
I do wish Proxmox supported MD. I know I can easily configure it but don't really want to do that.
-
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
That's roughly it, and yes, it remains questionable at the best of times.
In the cases where you need LVM fat, you almost certainly also need to avoid LVM because that itty bitty overhead is still too much.
Preallocated qcow2 images are 99% as fast as LVM volumes. Even with just preallocating just the metadata I've had almost native disk write speeds. You lose all of the advantages of qcow2 like libguestfs, the qemu agent, internal and external snapshots, etc.
that said, no idea how the eff you do that with ProxMox. That was just KVM.
It's the default actually. We use Qcow2 on LVM-Thin mostly.
I meant the preallocation. I'd be surprised if they expose that because you can either fully preallocate and zero out the blocks, preallocate and just mark the beginning and end, or just preallocate the metadata.
Gotcha. Prob not.
-
@biggen said in Reconsidering ProxMox:
I've been playing with Proxmox quite a bit. Still love xcp-ng but Proxmox does somethings that xcp-ng doesn't. A built in host management interface for instance is wonderful.
I do wish Proxmox supported MD. I know I can easily configure it but don't really want to do that.
So far we have been decently happy. Some bizarre quirky interfaces and non obvious processes. But so much included.
-
@VoIP_n00b said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
We do, shouldn't, but we do because customers don't want to pay for better backups.
I was referring to this ^ Snapshots are not a backup, just like RAID is not a backup.
When you use Proxmox backup feature, you end up creating a snapshot before it creates a backup. The same goes when creating a clone. You’ll have the option to create a clone from a snapshot if available.
-
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
I was influenced by this video.
Youtube Video -
@scottalanmiller Are you installing these at customer locations? Since you aren't using ZFS with Proxmox are you doing hardware RAID and then using LVM backed storage on top of that for customers?
-
@biggen said in Reconsidering ProxMox:
Since you aren't using ZFS with Proxmox are you doing hardware RAID and then using LVM backed storage on top of that for customers?
That's typically what we do, yes. Most SMB scale systems today have enterprise hardware RAID and it makes blind drive swaps on site far safer because you can have remote hands or vendor techs swap the drives for you.
-
-
Thanks @scottalanmiller. This is for my home system so I guess I'll just run with a ZFS mirror since no HW Raid on this machine.
-
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
That's roughly it, and yes, it remains questionable at the best of times.
In the cases where you need LVM fat, you almost certainly also need to avoid LVM because that itty bitty overhead is still too much.
Preallocated qcow2 images are 99% as fast as LVM volumes. Even with just preallocating just the metadata I've had almost native disk write speeds. You lose all of the advantages of qcow2 like libguestfs, the qemu agent, internal and external snapshots, etc.
that said, no idea how the eff you do that with ProxMox. That was just KVM.
It's the default actually. We use Qcow2 on LVM-Thin mostly.
Hi Scott (and everyone else),
I've been playing around with Proxmox for a week or so. I haven't used LVM thinpools before so I wanted to check if I'm making sense here. Proxmox doesn't let me put a qcow directly onto a thinpool (like the local-lvm created by default).
Do I need to create a volume group on top of the thinpool, and mount that as directory storage to be able to use qcow2 on LVM-Thin as you're doing?Cheers!
-
@Doyler3000 said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@stacksofplates said in Reconsidering ProxMox:
After all of this, I still don't get the use case for LVM backed VMs. Other than possibly, possibly a super IO heavy database. Even then, it's questionable.
That's roughly it, and yes, it remains questionable at the best of times.
In the cases where you need LVM fat, you almost certainly also need to avoid LVM because that itty bitty overhead is still too much.
Preallocated qcow2 images are 99% as fast as LVM volumes. Even with just preallocating just the metadata I've had almost native disk write speeds. You lose all of the advantages of qcow2 like libguestfs, the qemu agent, internal and external snapshots, etc.
that said, no idea how the eff you do that with ProxMox. That was just KVM.
It's the default actually. We use Qcow2 on LVM-Thin mostly.
Hi Scott (and everyone else),
I've been playing around with Proxmox for a week or so. I haven't used LVM thinpools before so I wanted to check if I'm making sense here. Proxmox doesn't let me put a qcow directly onto a thinpool (like the local-lvm created by default).
Do I need to create a volume group on top of the thinpool, and mount that as directory storage to be able to use qcow2 on LVM-Thin as you're doing?Cheers!
It's easier to do on a vanilla KVM setup. Proxmox moved away from creating qcow2 for awhile now, you end up creating a raw vm disk image (logical volumes). You can import qcow2, see https://www.republicofit.com/topic/21751/import-a-qcow2-into-proxmox
-
Yeah I'm considering moving form vanilla KVM, particularly for the simplified backup and restore options. Though I haven't yet tried the new proxmox backup server that's just been released. That might make the move more compelling.
Is there a philosophy behind them moving away from creating qcow2?
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
-
@Doyler3000 said in Reconsidering ProxMox:
Is there a philosophy behind them moving away from creating qcow2?
Likely just for performance. Since it's meant to be an appliance, qcow2 doesn't offer a big advantage.
-
@Doyler3000 said in Reconsidering ProxMox:
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
Nothing wrong with that at a technical level, but makes no sense to try to work around ProxMox' mechanisms if using ProxMox.
-
@scottalanmiller said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
Nothing wrong with that at a technical level, but makes no sense to try to work around ProxMox' mechanisms if using ProxMox.
So I'm wondering what I've missed. You use qcow2 on lvm-thin but I don't seem to have that option unless I create directory storage on top of the lvm-thin volume.
I'll keep playing around. -
@Doyler3000 said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
Nothing wrong with that at a technical level, but makes no sense to try to work around ProxMox' mechanisms if using ProxMox.
So I'm wondering what I've missed. You use qcow2 on lvm-thin but I don't seem to have that option unless I create directory storage on top of the lvm-thin volume.
I'll keep playing around.Why do you even care about qcow2 or lvm-thin in the first place? Click on the button that creates a vm within Proxmox and just use the default settings.
-
@travisdh1 said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
Nothing wrong with that at a technical level, but makes no sense to try to work around ProxMox' mechanisms if using ProxMox.
So I'm wondering what I've missed. You use qcow2 on lvm-thin but I don't seem to have that option unless I create directory storage on top of the lvm-thin volume.
I'll keep playing around.Why do you even care about qcow2 or lvm-thin in the first place? Click on the button that creates a vm within Proxmox and just use the default settings.
This is what I'm wondering. It sounds like "being weird", trying to work around a perfectly working solution for no particular reason. If I was building my own system from scratch, would I build with qcow2? Probably. But if I choose ProxMox would I try to get under the hood and change the guts, no.
-
@scottalanmiller said in Reconsidering ProxMox:
@travisdh1 said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
@scottalanmiller said in Reconsidering ProxMox:
@Doyler3000 said in Reconsidering ProxMox:
The method of creating a volume group on the thinpool and creating the qcow2 files in that works for me. Just wondered if anyone had thoughts on whether that's the right thing to do.
Nothing wrong with that at a technical level, but makes no sense to try to work around ProxMox' mechanisms if using ProxMox.
So I'm wondering what I've missed. You use qcow2 on lvm-thin but I don't seem to have that option unless I create directory storage on top of the lvm-thin volume.
I'll keep playing around.Why do you even care about qcow2 or lvm-thin in the first place? Click on the button that creates a vm within Proxmox and just use the default settings.
This is what I'm wondering. It sounds like "being weird", trying to work around a perfectly working solution for no particular reason. If I was building my own system from scratch, would I build with qcow2? Probably. But if I choose ProxMox would I try to get under the hood and change the guts, no.
If all you know is the manual system, using something that is appliance based can be a hard mindset to get into...of course one should get there, sometimes just need a reminder.