logoalt Hacker News

nZactoday at 4:26 PM5 repliesview on HN

> SmartOS is a "live OS", it is always booted via PXE, ISO, or USB Key and runs entirely from memory, allowing the local disks to be used entirely for hosting virtual machines without wasting disks for the root OS.

Does anyone know if something like this is possible with Proxmox? I've got three servers I'm thinking of setting up as a small cluster and would like to boot them from a single image instead of manually setting PVE on each. Ansible or salt is an option but that tends to degrade over time.


Replies

ktm5jtoday at 6:35 PM

It's close, but there are some missing pieces I think. The way it manages storage pools would fit your use case, if you import a zpool, for example, it will scan the datasets and can figure out what zvols should be attached to which VMs..

but there's also VM config info under `/etc/pve` or something similar. I'm pretty sure that's some kind of FUSE filesystem, it's supposed to be synchronized between cluster members.. you might be able to host that externally somehow. But that'll probably take some effort.

You'll also need to figure out how to configure `/etc/network/interfaces` on boot for your network config. But that's doable.

Would be pretty neat.

jeffbeetoday at 4:52 PM

It depends on what "this" you meant, but in general the ways of netbooting an OS are many and varied. You'd have to declare what kind of root device you ultimately want, such as root on iSCSI.

Personally, I feel that "smartOS does not support booting from a local block device like a normal, sane operating system" might be a drawback and is a peculiar thing to brag about.

show 3 replies
oooyaytoday at 6:59 PM

Kind of. You can run Talos on Proxmox so I don't see why you couldn't run this, but frankly I'd just install Talos or SmartOS on the metal like god intended.

xenophonftoday at 4:45 PM

You can boot ProxMox VMs via PXE:

https://blog.kail.io/pxe-booting-on-proxmox.html

But why bother? A read-only disk image would be simpler.

show 1 reply