Search results

  1. O

    Shared folders between host and container

    Yes, I realized that difference about replacing "=" with ":" , I guess it's proxmox software itself which does the changes automatically. I've tried rewriting with "=" but I still get the same result. Also, I'm not sure if I could do nothing about uid remapping, since I don't find it necessary...
  2. O

    Shared folders between host and container

    Thanks for your answer. Here is what I've tried: I just have reserved a gid in the host (2120) for the CTID 120 and I've just chgrped the folder. Then, I've set in the config file lxc.idmap: u 0 100000 65535 lxc.idmap: g 0 100000 2120 lxc.idmap: g 2120 2120 1 lxc.idmap: g 2121 102121 63415...
  3. O

    Shared folders between host and container

    Hi. I read this and there's something that I'm unable to understand. In an unprivileged container, I have a bind mount. From the host, I don't mind the uid/gid (it's a local btrfs filesystem), but I just want the root user in the container to be able to manage the shared tree for storing...
  4. O

    Custom hook script specific for just a container

    Ok, but there's at least one problem: I have to back up that data (of course to another encrypted disk) and it's several hundreds GB, so I don't think a vm provides a real working solution with this scenario. And also there has to be a real simple solution for the current permissions issue...
  5. O

    Custom hook script specific for just a container

    What is your proposal? I'm open to any solution.
  6. O

    Custom hook script specific for just a container

    I'm aware I can do that at host level and by being root (or sudo), but it's for a user who has access to the guest via proxmox and tries to prevent that others can access to the data if the vm isn't "properly booted". The reason why is beyond, but take that someone steals the server from the...
  7. O

    Custom hook script specific for just a container

    Thanks, but I want to force to type the password via console at every reboot, for security reasons.
  8. O

    Custom hook script specific for just a container

    Thanks for your answer. It looks like it MUST be a perl script, because a bash script returns a error code 1. I run it from the terminal and prompts for password, but this doesn't happen in the console, what I need to do. I took the example with perl (I'm not good at perl) and I customized it...
  9. O

    Custom hook script specific for just a container

    Hi. I'm using Proxmox 6.1 with Debian buster as host (and as guest while this is possible). I use several containers and in one I need to have a crypted mount point (it could even be the whole container). So, I use a lvmthin for just the system and a non-lvmthin for the data, and this is what...
  10. O

    [SOLVED] lxc-start fails! --> unsupported debian version '9.1'

    My two cents about this: I don't think that, and mostly talking about Debian, are any issues between major versions. I say this because as long as a template exists (and there's one for 9.0), upgrading to 9.x shouldn't be an issue. Also, as long as there aren't any news about any kind of...
  11. O

    Restore backup of mount points on the original storage

    I've been playing for a while with the command line "pct restore ..." with a test container having a root disk and just one mount point on different storages and I haven't been able to restore the way that I wanted, on a specific storage different from local storage. A command line "pct restore...
  12. O

    Restore backup of mount points on the original storage

    Well, I didn't test the command line, but the Proxmox UI. If you mean that there's a simple way to get a restore taking into account the original storages, then it sounds like it's a feature/bug in the UI, by not allowing the mentioned behavior and forcing everything to go into a specific...
  13. O

    Restore backup of mount points on the original storage

    Thanks for your reply. Anyway, I think it's perfectly possible, taking that the original mp info is kept, to provide a way to "respect" those settings. I guess that the current behaviour is parsing the settings to see the mps and restore them all, but this parsing "forgets" to watch the...
  14. O

    Restore backup of mount points on the original storage

    Hi. I use Proxmox 4.4-13/7ea56165 (updated yesterday) on Debian Jessie. I have the PVE VG defined as LVM storage and a thin pool storage for the root disk of containers. I have some mount points with big data separated from the root disk, all of these on PVE. I choose to backup some of these...
  15. O

    iscsi lxc restore vzdump issue.

    Hi. The duplicate PV is because the volumes are mirrored, so it's not an issue to worry about. I came here because in a new installation using proxmox 4.4-12/e71b7a74, restoring via UI fails with permission errors (I'd say for *ALL* files from the very beginning). However, "pct restore" from...
  16. O

    LXC Snapshot no available yet ? Will it work on LVM ?

    Ok, then the workaround is easy: backup the conf file, comment the mount points (mp) in the original and that's all. Then, when the snapshot is not necessary, restore the mps or the backup file. I've just tested and it works.
  17. O

    LXC Snapshot no available yet ? Will it work on LVM ?

    OK, here is what you request: # pveversion -v proxmox-ve: 4.2-64 (running kernel: 4.4.15-1-pve) pve-manager: 4.2-18 (running version: 4.2-18/158720b9) pve-kernel-3.19.8-1-pve: 3.19.8-3 pve-kernel-4.4.15-1-pve: 4.4.15-60 pve-kernel-4.4.16-1-pve: 4.4.16-64 lvm2: 2.02.116-pve3 corosync-pve...
  18. O

    Move partitions after backup on lxc

    In partition terms, you just need to provide a partition on the SSD for lvm as usual, i.e., don't need to do anything different. Then, look in the docs about creating a lvm-thin pool (and a lvm-thin storage in proxmox linked to that pool for proxmox to be aware of the pool).
  19. O

    LXC Snapshot no available yet ? Will it work on LVM ?

    Hi. As I said, i use lvm-thin. How can I debug what's wrong?
  20. O

    Move partitions after backup on lxc

    You don't seem to have a lvm-thin pool on your SSD. I mention this because without this, you won't be able to backup your containers without downtime because snapshot mode in backup is only possible when your container rootfs is stored this way. If you somehow get the lvm-thin pool on your SSD...