@oguz This is the default interface file and public connectivity works fine:
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp0s31f6
iface enp0s31f6 inet static
address xxx.xxx.xxx.55
netmask...
Oops, I missed the eno1. I've changed those to enp0s31f6 but still not getting any host connectivity.
Here's the output from ip -a:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet...
Thanks @oguz :)
For some reason, I'm having trouble with outgoing connectivity on the host. I can't ping google.com, 1.1.1.1 etc. This is my current config:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp0s31f6
#Real IP address
iface enp0s31f6 inet static...
Hey @spectryx, thanks for sharing. This was very helpful!
I was wondering what this part does:
post-up iptables -t nat -A PREROUTING -i enp9s0 -p tcp --dport 2210 -j DNAT --to 10.30.30.10:22
post-down iptables -t nat -D PREROUTING -i enp9s0 -p tcp --dport 2210 -j DNAT --to 10.30.30.10:22...
Hi, just wondering if there were still plans to implement this? I'm loving Proxmox so far! But one of the things I miss about oVirt is being able to manage multiple datacenters from one dashboard. Even if there are no special features in the beginning (like migration between datacenters) it...
Thanks @dietmar ! You posted while I was in the middle of my reply so I only just saw this :) Makes things a lot eaiser. Here's a tidied up script using PCT in case anyone finds it useful
### Trim Proxmox host volumes and all LXCs on node ###
# Run as weekly cron job
# !/bin/bash
# Script...
From what I can tell, it can only be done from the host at this time... The script I'm using is below. Tested and it works. I'm running it as a weekly cronjob
Thanks to http://wiki.csnu.org/index.php/Proxmox_:_TRIM_sous_LXC and...
Hi again
I've been trying all day to get fstrim working inside unprivileged LXC containers with no luck. Initially I thought it was just a Debian/Ubuntu issue, but I've tried multiple OS templates and it always results in: FITRIM ioctl failed: Operation not permitted. FYI it works fine in...
Thanks that's helpful. I have a few other things running directly on the host so even though there is not a lot of activity, I still run fstrim weekly as "good housekeeping" :)
Hi again.
Thanks for the info. Regarding the privileged containers, I'm just moving from a monolith setup where all 4 applications (web app, nginx, mysql, redis) were installed on bare metal, to separating them into containers for ease of migration and backup. From what I've read, running...
Hi all,
I've decided to just switch to priviledged containers. I'm the only one with SSH access to my machines so it's not really a security issue, and it solves this and several other problems. Also fstrim works perfectly in non-thin-provisioned storage when in a priviledged container...
Hi mir
Unfortunately I'm having the same problem with LXC containers in Debian. Please see: https://forum.proxmox.com/threads/deleting-data-in-lxc-lvm-thin-doesnt-release-space.32179/#post-173302 - looks like others having the same issue?
Are you able to run fstrim successfully inside an...
Thanks for the reply!
Sorry, just to clarify, my question was the opposite :) I'm * not* using thin provisioning. My LVM volumes are all fixed size thick volumes.
For this reason, I'm thinking that I don't need to run fstrim inside my containers. Is that correct?
Here's the link to the...
Hi all,
I've just discovered that debian/ubuntu has a bug with running fstrim inside containers. However, I am not using LVM-thin, just regular LVM. Therefore my raw disk image size won't change when files are deleted or added.
For this reason, I'm thinking maybe there's no need to run fstrim...
Hi guys,
I'm thinking about migrating from Xen and am about to start playing with Proxmox on my Hetzner cloud servers. I'll be mainly using LXC containers (mysql, nginx, wordpress and other web apps).
I'm just wondering which of your OS container images you would recommend for the best...
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.