Search results

  1. F

    Check enabled LXC features from INSIDE container?

    Thank you very much @pikey!!! Unfortunately keyctl needs an additional package installed into container: # keyctl Command 'keyctl' not found, but can be installed with: apt install keyutils Do you know any alternate way that doesn't require additional packages? Perfect! For the record, I...
  2. F

    Check enabled LXC features from INSIDE container?

    Given these two LXC features (keyctl and nesting): there is a way to programmatically query them from inside the container? I found /sys/module/kvm_intel/parameters/nested but unfortunately it returns "Y" for both nesting=0 and nesting=1 containers.
  3. F

    Find the files occupying most space in a backup archive?

    How could I find the files occupying most space in a backup archive? I have a LXC with around ~37GB of data (or so it seems). In my PVE host: # du -sh /rpool/data/subvol-215-disk-0 37G /rpool/data/subvol-215-disk-0 However my backups for this LXC are around ~60GB (!?), according to web...
  4. F

    About disk names in 'qm import disk'

    Thanks @bbgeek17 for the detailed information. ;) When I said PREFERABLY without grep / regex it was only to highlight that I was looking for a more "programmatically inclined" solution. But your usage of jq to query the VM config is also very educative and useful. I'm a complete noob in...
  5. F

    About disk names in 'qm import disk'

    1. How could I get (e.g. in a bash script) the name of disk created after a successfull invocation of qm import disk ? # qm importdisk 201 ubuntu-20.04-server-cloudimg-amd64.img local-zfs (...) transferred 2.2 GiB of 2.2 GiB (100.00%) Successfully imported disk as...