Search results

  1. wbumiller

    LXC containers fail to boot after upgrade

    Which ubuntu version are you running in the container? There's not much to see in those files. LXC starts the container's init which just fails with not much info in between and the journal doesn't seem to contain any messages relating to container 119. Maybe you'll get more information when...
  2. wbumiller

    Proxmox VE 7.0 (beta) released!

    Inside the container, yes, via quota-tools (quotacheck/edquota & friends). Supporting this will require some bigger changes to how we start up containers.
  3. wbumiller

    BTRFS and data.raw file instead of files

    This will eventually be supported. BTRFS has some quirks we need to deal with. Eg. merely enabling quota support on a btrfs file system causes a small but measurable performance impact, using btrfs send on a subvolume does not include the actual quota limits (so we need to copy this manually on...
  4. wbumiller

    Error: /var/lib/lxc/CT-ID/rules.seccomp.tmp.XXX - No such file or directory - Hack/Workaround

    This should be fixed since pve-container >= 4.0-6, please upgrade.
  5. wbumiller

    How to deal with degraded btrfs-arrays?

    If it's just for data and not critical for system startup (iow. it's not your /etc or /usr mountpoint ;-)), you probably want to add nofail to the fstab entry (see man 5 systemd.mount). When using it as a storage for PVE you can use the is_mountpoint storage option to tell pve to check that it's...
  6. wbumiller

    How to deal with degraded btrfs-arrays?

    So about booting a degraded btrfs: yes, you'll need to use the `rootflags` grub option there, or wait for the initramfs to pop up and then mount it manually to `/root` via `mount -o degraded /dev/sdXY /root` and hit Ctrl+D. You can of course add a custom grub entry to boot in degraded state...
  7. wbumiller

    Proxmox VE 7.0 (beta) released!

    Seems to be caused by differences in how the devices controller in cgroupv1 behaves vs what lxc emulates. We'll probably fix this by rolling out a default config for cgroupv2-devices to restore the previous behavior.
  8. wbumiller

    Proxmox VE 7.0 (beta) released!

    Both should work fine though. Have you by any chance been using systemd from backports? For the non-bpo version that boot option should have been the default anyway, with the version the unified one is the default, but the old setting should still be fully functional.
  9. wbumiller

    Proxmox VE 7.0 (beta) released!

    Could you tell us what parameters you had set there? In theory some things like for example moving only a subset of cgroups to v2 *could* work with lxc (but I wouldn't recommend it for production use).
  10. wbumiller

    Btrfs on hardware based RAID 10 - is it okay?

    I'd recommend against putting raid-capable file systems on hardware raid. It'll still detect errors, but it will not be able to recover from them. You'd be gaining very little. And given the issues people have been facing with ZFS in that regard I'm generally wary of such setups.
  11. wbumiller

    Why enable vlan aware linux bridge if VMs assigned to vlans are already working

    The only other thing we currently semi-expose is the `trunks` option you can configure only via the command line (see the qm(1) and pct(1) man pages on how to use their 'set' subcommand), this corresponds to using `bridge vlan add dev <iface> vid <ids>`. Note that any custom changes you do...
  12. wbumiller

    Why enable vlan aware linux bridge if VMs assigned to vlans are already working

    For vlan aware bridges it is possible to directly configure the vlans for each port connected to the bridge. (Which vlan ids should pass through, which should get tagged/untagged along the way). Without this setting, each vlan tag gets its vlan-bridge. This only works if the selected bridge is...
  13. wbumiller

    Did I extend LVM-Thin correctly?

    Correct, thin pools don't have a file system directly on them. However, I believe resizing this way may have only resized the data portion of the thin volume, not the metadata. This may become a problem in the future, so you need to monitor the `Meta%` value in the `lvs` output, or extend the...
  14. wbumiller

    How can I passthrough /dev/mem into lxc

    beside the devices cgroup, apparmor and possible `nodev` mount flags this also needs `CAP_SYS_RAWIO` which is dropped by default for containers, you can add an empty `lxc.cap.drop` line to the config to clear the dropped capability list then add a 2nd such line with the default entries you find...
  15. wbumiller

    container sshd connection issue after lxc id remapping

    Also, are you sure you want to map the user `1000` to be the user `1010`? If so, I think the `subu/gid` ranges also need to be adapted. EDIT: Just read the backlog. Yeah you want to change the lines from `x 1000 1010 10` to `x 1000 1000 10` and start the range after it with `1010` and bump the...
  16. wbumiller

    container sshd connection issue after lxc id remapping

    Looks like you're missing a mapping for `1010`. Either bump the `1000` entries to contain 11 users (1000 through including 1010), or start the next range at `1010`. Yay for counting from zero ;-)
  17. wbumiller

    [SOLVED] "Short read on command socket" error when running backup of LXC containers

    There's already another code for the v2 freezer, but it's currently not being used and apparently lxc doesn't provide any path at all when already on a pure cgroup v2 setup and querying it explicitly for the "unified" cgroup. This will be fixed with the next pve-container update.
  18. wbumiller

    [SOLVED] "Short read on command socket" error when running backup of LXC containers

    The step it fails at is the freeze step, which happens via cgroups, where we first connect to the container's monitor to query the exact cgroup paths. -) Have you done any cgroup specific changes to your host (eg. switch to cgroup v2?) -) Can you post the output of the following comands...
  19. wbumiller

    PSA -- Do not upgrade to systemd 247

    An alternative to the systemd overrides would be to allow systemd to do its thing (but I only recommend this for unprivileged containers) via # Append to /etc/pve/lxc/<arch ct ids>.conf lxc.apparmor.raw: mount fstype=proc options=(nosuid,nodev,noexec,rw) -> /run/systemd/unit-root/proc/, (Note...
  20. wbumiller

    How to do encrypted backups

    the current packages don't handle the `--encryption-key` CLI parameter on pvesm correctly, the file has to be manually created via `proxmox-backup-client key create --kdf=none /etc/pve/priv/storage/STORAGENAME.enc`

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!