whiskerz007 / proxmox_hassio_lxc

MIT License
208 stars 83 forks source link

Can the disk size/RAM amount be configurable? #8

Open MarcJenningsUK opened 4 years ago

MarcJenningsUK commented 4 years ago

I greatly appreciate your efforts in making this available. Thank you.

Can the disk size/RAM amount be configurable? I've forked the code and edited my version to hard-code a 16G disk rather than 4 but a config option would be nice.. (Maybe it canm be done after the fact in Proxmox, but I've only just figured out how to add a new physical disk so I'm not best placed to judge!)

whiskerz007 commented 4 years ago

@MarcJenningsUK From the Proxmox UI, click on LXC ID -> Resources. You can increase RAM, CPUs, and expand HDD size. These changes do not require a restart of the container.

MarcJenningsUK commented 4 years ago

I couldn't make that work. I did add a second physical disk and may well have done that wrong. The container uses a slice of that disk (in its own lvm, because I don't know how to add devices to an existing pool)

On Fri, 29 Nov 2019, 21:25 whiskerz007, notifications@github.com wrote:

@MarcJenningsUK https://github.com/MarcJenningsUK From the Proxmox UI, click on LXC ID -> Resources. You can increase RAM, CPUs, and expand HDD size. These changes do not require a restart of the container.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/whiskerz007/proxmox_hassio_lxc/issues/8?email_source=notifications&email_token=AGATKUCFQP7L6MJTEGTNKVDQWGCGFA5CNFSM4JTBTM5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPSEHY#issuecomment-559882783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGATKUCLU4B45W6ASRLGJRLQWGCGFANCNFSM4JTBTM5A .

whiskerz007 commented 4 years ago

@MarcJenningsUK Please elaborate; you have not provided enough information to assist beyond I couldn't make that work.

MarcJenningsUK commented 4 years ago

It's OK - I've made it work currently by re-specifying the disk size in the creation script. I don't feel that I've set Proxmox up optimally - I have an NVME drive and a standard SATA one, and they are in separate volume groups. I don't really know if that's right nor not. If you have any resources you can recommend for setting up that kind of environment I'd appreciate it. A lot of the Proxmox documentation assumes a level of linux/container/infrastructure knowledge that I as a humble windows developer just don't have