pct

  1. Diagnosing mount: /var/lib/lxc/.pve-staged-mounts/rootfs: can't read superblock on /dev/loop3

    Hello proxmox fourms! I'm recently getting this error (and the same error minus line 1 when starting without using HA) when attempting to start this container. Im a bit stressed, because the backup for this container is a bit old, and id really like to restore this container to functionality. I...
  2. pct fstrim <CT_ID> ignore /mnt ?

    any way to get the pct fstrim command to ignore the /mnt directory or mountpoints in the LXC? i get an error on all LXC with ZFS mountpoints: fstrim: /var/lib/lxc/121/rootfs/mnt/Media: the discard operation is not supported command 'fstrim -v /var/lib/lxc/121/rootfs/mnt/Media' failed: exit code 1
  3. [SOLVED] Backup lxc Container from pve 4.4

    Hi, might sound a little stupid, but I am searching on Google since yesterday evening and don't know if I just search wrong. I tried to Upgrade my Proxmox from 4.4 to 6.3 So i backuped my VM and my Containers (via WebGUI) and tried to upgrade the Server. Well, this went horribly wrong, and...
  4. pct unmount error: exit code 32

    I'm getting a consistent error when manually unmounting .raw lxc disks. I have several containers that I wanted to setup mount points within them for users /home directories and other "core" directories, so to do it without borking a live system, I had to shutdown the containers, manually...
  5. Löschung volume mount Disk bei LXC Container bei pct destroy <id> über Konsole

    Es wäre praktisch eine Abfrage zu implementieren, bevor einem die gesamte 2. angehängte Disk (als mount point wohl gemerkt) unterm Hintern weg gelöscht wird, oder diese schlicht zu ignorieren, wie bei anderen mounts. In meinem Fall war diese als "volume mount point mpX" angehängt und wurde...
  6. How to add device (disk storage) in container

    Hi for everyone, Our context: We wish to install a database with cluster features in two or more containers. To do this kind of installation we need as mandatory requeriment, have availables disks to create a disk group which will be use as a global storage for both containers. I tried with NFS...
  7. What is the exact difference between pct and lxc-[...]?

    Hello, what is the exact difference between pct and lxc-[...]? I have the perception that many commands are the same or similar e.g. pct create and lxc-create. Unfortunately, I didn't really find anything about lxc-[...] in the Wiki. So are there concrete reasons why you should use one or the...
  8. [SOLVED] How to determine if a container is locked?

    How to determine if a container is locked? I want to check all containers and identify locked.
  9. No Space Left on Device when restoring from tar.lzo

    Hello. I'm in the process of migrating all my VMs and containers from version 3.3.5 and 4.x of proxmox to version 5.4. On several occasions, I have run into errors on restore: tar: ./usr/lib/pymodules/python2.7/ndg/httpsclient/test/scripts/openssl_https_server.sh: Cannot create symlink to...
  10. Ubuntu VM Root Passwort vergessen

    Hallo, bin neu hier und hoffe Ihr könnt mir helfen. Ich verzweifele daran mich an einem Ubuntu VM anzumelden. Leider ist das Root Passwort nicht mehr auffindbar. Gibt es einen Trick dieses über den Host zu ändern ? Ich habe es schon mit dem Befehl "pct enter 500" versucht. Dann kommt die...
  11. pct list endless

    Hi, on my Proxmox host I cannot run pct list anymore because it's endless and I don't have any output: root@node11:~# pct list (no return to console...) If I try to run it with strace I get one endless timeout but I cannot realize which program is creating it: root@node11:~# strace pct list...
  12. pct start failed

    I installed Proxmox VE 5.1-38 on (OVH) They worked with 14 containers until I shutdowned them. After the shutdown they only start 12 containers I tried to start with pct start 120 results: Job for pve-container@120.service failed because the control process exited with error code. See...
  13. pct df fails with error

    Greetings! I am trying to use 'pct df' to get free space for the container, but it fails. Please advise. # pct df 107 Insecure dependency in printf while running with -T switch at /usr/share/perl5/PVE/CLI/pct.pm line 403. # dpkg -S /usr/sbin/pct pve-container: /usr/sbin/pct # dpkg -S...
  14. -ssh-public-keys flag to pct create

    How is the -ssh-public-keys flag to pct create intended to be used? Is the for setting up host keys or user keys? How can it be either when only the public key is specified?
  15. 400 too many arguments

    Hello everyone, I'm trying to add a disk to a container and it gives me this error: pct set 123 -mp0 mp =/server/shared,/mnt /nextcloud 400 too many arguments Can someone tell me how to solve it? Thanks in advance.
  16. [SOLVED] Setting LXC user password with pct when calling from a script

    Hello everyone, I am looking for a non-interactive way to set the password for the root user (or any user really) when creating a LXC container from the official Proxmox Ubuntu 16.04 template using pct. For some background: I am currently trying to automate most of my homelab, including LXC...
  17. pct restore wasting disk space

    Hi there, I found a problem in my backup strategy. I'm not sure what i did wrong. I have two remote proxmox nodes running 3 containers each one. The running containers on the first node are daily backed up in the second node and vice versa. The idea, is to have a restored recent version of each...
  18. [SOLVED] How to define lxc.cgroup.cpuset.cpus with pct?

    SOLVED: [appended 'lxc.cgroup.cpuset.cpus = 0,1 appended to /etc/pve/lxc/<CTID>.conf to get rid of the error as below in §1, fyi] Hi, 1§ I am getting the following error inside a ubuntu 16.04 container inside proxmox v4.4: "ufs: temp directory created at "/tmp/ufs" nodejs...
  19. "pct" & "qm" hanging on most servers in a cluster

    Hello, I have been very slowly migrating my containers from the old style VZ containers to LXC, and while things got off to a rocky start, they have seemed to be working better lately, until, that is, today. This morning I went to go look at a node in the cluster, and I ran "pct list" and it...
  20. [SOLVED] [PVE 4.3] How clone a container with pct

    Hi everyone, I discovered Proxmox (4.3) and I have one question for you. I would like update my LXC containers to Proxmox and mostly I used bash command lxc-copy and i would like find equivalent with Proxmox. When I try command pct clone in CT Proxmox; I always this answer : Same with LVM...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!