Recent content by cserem

  1. C

    Using ZFS Snapshots on rpool/ROOT/pve-1?

    BEWARE: Rolling back the root filesystem on a running system is serious footgun territory. After the rollback, running userspace is in an undefined/inconsistent state: open file descriptors, mapped binaries/libraries, daemons, logs, package state, etc. may no longer correspond to what is now on...
  2. C

    GUIDE Change Disk.

    CAUTION! There is a typeo in the above message. The disks should be: # sgdisk <healthy bootable device> -R <new device> # sgdisk -G <new device> https://pve.proxmox.com/pve-docs/pve-admin-guide.html
  3. C

    [solved] Replication schedule

    Oh this is new to me, but the 6.2 release notes do say live migration is possible with zfs replication: ...What a time to be operating a zfs-qemu cluster :)
  4. C

    [solved] Replication schedule

    I think there is nothing preventing you from doing that. But to somewhat hijack the thread: does anyone know if the replication logic has a lock to prevent execution when the same task is running already?
  5. C

    Shrinking ZFS filesystem for LXC CT

    I belive you can update the container/qemu storage configs, after manual resizing with: pct rescan or qm rescan
  6. C

    Using ZFS Snapshots on rpool/ROOT/pve-1?

    Hello! I can't find anything regarding this in the Proxmox VE administration Guide, could you elabore the zfs rollback process with grub? Thanks
  7. C

    [SOLVED] lxc subvol on additional zpool

    ohh, I have just noticed my rpool-hdd was created too small: zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT rpool-hdd 496M 273M 223M - 47% 55% 1.00x ONLINE -
  8. C

    [SOLVED] lxc subvol on additional zpool

    Hello! The limits I am setting on the GUI don't get reflected inside the lxc. For example, if I create a mountpoint with 8GB of max size, inside the container it is only shown as around 100MB of space. pveversion pve-manager/5.3-11/d4907f84 (running kernel: 4.15.18-11-pve) cat...
  9. C

    [SOLVED] lxc quota

    Hello! Thank you for your answer. Yes, I was talking about user quotas. My findings about this is, ZFS itself does support user quotas, though not compatible with existing "quota-utils": For example zfs set userquota@myuser=1M rpool/ROOT/pve-1 is respected properly on the pve itself. If I...
  10. C

    [SOLVED] lxc quota

    Hello! I have recently moved a physical machine into a Proxmox LXC container. Apparently i haven't done my research properly beforehand, because i'm stuck without quota support on the ZFS subvol based LXC filesystem. My questions, findings about this: - On the GUI, the CT creation wizard, or...
  11. C

    Automate snapshots to a local backup pool

    I had great success with: https://github.com/oetiker/znapzend (has local and remote destinations, configurable retention per target, but it has no error reporting features) The new kid on the block is https://zrepl.github.io/ It looks really promising because of the remote pull feature, but i...
  12. C

    Problem Connecting Containers to OpenVPN after Reboot

    I might not fully understand your problem, but have you tried adding these lines to your /etc/pve/lxc/CONTAINERID.conf ? lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file lxc.cgroup.devices.allow: c 10:200 rwm
  13. C

    ZFS vs PERC H710P Mini

    I have used bonnie++ before with success. If possible I would establish a baseline in the current setup (benchmark of choice, or better yet perfomance statistics from the database application itself), then move to ZFS, if it is too slow you could switch to hw raid 10 with lvm. Ofcourse, for...