Search results

  1. L

    5.3 and lxc nesting

    -- Subject: Unit containerd.service has begun start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit containerd.service has begun starting up. Dec 21 13:29:54 dockertest systemd[1]: docker.service: Failed to reset devices.list: Operation not permitted Dec 21...
  2. L

    5.3 and lxc nesting

    Hi, I'm very happy too see, that you can now run docker inside a lxc container. So I tried that with my mailcow installation, which I ran before using lxc.apparmor.profile: unconfined lxc.cgroup.devices.allow: a lxc.cap.drop: in the containers config. By enabling nesting I also removed that...
  3. L

    Hohe CPU Last nach Serverausfall

    Hi, nein ich verwende kein ZFS, ich benutze Proxmox out of the box, also data als lvm-thin und root als directory. Ich habe mal auf 5.3 geupgradet, und nun scheint es, als hätte sich der Server auch wieder beruhigt, keine I/O und load peaks mehr. jetzt muss ich nur herausfinden, warum...
  4. L

    Hohe CPU Last nach Serverausfall

    Hallo, gestern ist mein Server ausgefallen, auf dem nur LXC Container laufen. Bei einem ist die Datenbank flöten gegangen, aber das konnte ich aus dem Snapshot wiederherstellen. Es ist nur komisch, dass nun die CPU Last ziemlich hoch ist, Load ist so um die 3 und peaked auf 5-10 hoch. CPU ist...
  5. L

    move from "directory" to lvm

    I think you don't really have to know linux to use apt-get update/upgrade/install. I just install it manually because I like the cli. I never worked with LVM before, so that's why I was asking here. I found myself this solution now: Step 1: Shrink the existing root LV Because it is mounted it...
  6. L

    move from "directory" to lvm

    I don't use the proxmox iso, I always install proxmox manually on debian stretch. (https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch) So I have another prod system with 400GB disk, where ~100GB is used. Can I shrink that disk to like 150GB and then create a lvm thin pool?
  7. L

    move from "directory" to lvm

    Hi, on my test system I have a 20GB Disk, splitted into 18.5GB lv_root and 1GB lv_swap. Production systems look the same, just with larger disks. I've set storage in proxmox as directory /var/lib/vz. It has been fine, but I want to use snapshots, so I have to use lvm. Is there a way to switch...
  8. L

    docker in lxc container

    ok, seems like aufs works in lxc, so the question is: am i missing some packages on the proxmox node, or is it limited by proxmox itself? http://ashish1099.github.io/blog/2015/05/23/docker-inside-lxc/
  9. L

    docker in lxc container

    hi guys, i found this tutorial to run docker in lxc for proxmox: https://www.solaris-cookbook.eu/virtualisation/proxmox/proxmox-lxc-running-docker-inside-container/ basically just add lxc.apparmor.profile: unconfined lxc.cgroup.devices.allow: a lxc.cap.drop: to the containers config. it...
  10. L

    Access hosts external IP from NATed container

    Hi, I always worked around this problem, but now I'm just tired of it and want to do it right. My containers have IP and internet connection like this: https://pve.proxmox.com/wiki/Network_Model#Masquerading_.28NAT.29_with_iptables Lets say 10.10.10.100 is a mail server, and 10.10.10.200 is a...
  11. L

    unreachable nfs causes high load

    I'm not entirely sure how to check this, I used 'ps -ax' and the only process with a 'D' is snmp. I guess it's trying to read to information from that mounted drive, and that doesn't work and the load goes up. On another server I had a script running every minute to remount the nfs storages...
  12. L

    unreachable nfs causes high load

    Hi, I have my local router connected to a proxmox installation via nfs (over vpn). It's working, I noticed, when my router is down, and so the nfs storage isn't reachable on the proxmox server, the server load goes up from 0.05 (test server, no vm's running) to 1, and from 0.5 to 3.5 (low used...
  13. L

    NFS doesn't remount automatically after turn on or restart the NAS

    Just run this every minute via crontab: #!/bin/bash list=$(ls /mnt/pve) for i in $list do status=$(ls /mnt/pve/$i 2>&1) if [[ $status =~ .*Stale.* ]] then umount /mnt/pve/$i fi done The service "pvestatd" tries to remount every nfs...
  14. L

    .raw disk files of containers keep it's size after deleting files inside the container

    Finally! [ 3206.096098] EXT4-fs warning (device loop0): ext4_multi_mount_protect:331: Device is already active on another node. So just shutdown the container, then mount on the nfs server and run fstrim. Thank you, I guess.
  15. L

    .raw disk files of containers keep it's size after deleting files inside the container

    blkid /storage/images/102/vm-102-disk-1.raw /storage/images/102/vm-102-disk-1.raw: UUID="3672c88b-d628-4634-b9bf-88ed605607b8" TYPE="ext4"
  16. L

    .raw disk files of containers keep it's size after deleting files inside the container

    kpartx looks promising, but i cannot get it working. kpartx -l /storage/images/102/vm-102-disk-1.raw loop deleted : /dev/loop0 shouldnt this pop up with -d option? anyway kpartx -a does not give any output, -d neither any /dev/loopX is not mountable, wrong fs type, bad option, bad superblock...
  17. L

    .raw disk files of containers keep it's size after deleting files inside the container

    I wont trim through NFS. All I do on the local pve host is to mount the raw disk image and then trim that mounted folder? NFS just places exactly the same raw disk image file on the nfs server, so why shouldnt it be possible to mount this file on the storage server itself and trim that? All...
  18. L

    .raw disk files of containers keep it's size after deleting files inside the container

    Dude, third time now: My disk space is full, not because of no trimming, but because the containers grew over time with data. REINSTALL WONT SOLVE MY PROBLEM Trim works fine on plain folder or lvm, no need for zfs. But trim on NFS does not work, so i need any method to trim the files on the...
  19. L

    .raw disk files of containers keep it's size after deleting files inside the container

    Ehm, did you read my start post? I can't solve my problem with using another file system on the main node, because I am limited to 50GB disk space! There is nothing I can change without buying a different machine, which I don't like to do. And I run proxmox inside a KVM because, as said, I...