Recent content by interstellar

  1. I

    Multiple VM's with only 1 public IP on Hetzner

    @oguz Got it working :) Turns out it was a switch problem. Thanks for your help!
  2. I

    Multiple VM's with only 1 public IP on Hetzner

    @oguz Sorry, that was a typo in the original post. I've fixed the post. The gateway is the same in both
  3. I

    Multiple VM's with only 1 public IP on Hetzner

    @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...
  4. I

    Multiple VM's with only 1 public IP on Hetzner

    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...
  5. I

    Multiple VM's with only 1 public IP on Hetzner

    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...
  6. I

    Multiple VM's with only 1 public IP on Hetzner

    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...
  7. I

    Multi-datacenter ?

    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...
  8. I

    fstrim doesn't work in containers (any OS) - workarounds?

    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...
  9. I

    fstrim doesn't work in containers (any OS) - workarounds?

    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...
  10. I

    fstrim doesn't work in containers (any OS) - workarounds?

    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...
  11. I

    Is fstrim needed on LVM-thick containers?

    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" :)
  12. I

    Is fstrim needed on LVM-thick containers?

    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...
  13. I

    Is fstrim needed on LVM-thick containers?

    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...
  14. I

    Is fstrim needed on LVM-thick containers?

    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...
  15. I

    Is fstrim needed on LVM-thick containers?

    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...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!