Container or Vm wont start after update!

Michael S Ortega

Active Member
Aug 19, 2018
27
0
41
44
Hello guys after months of use of proxmox without any problem, last day i hit the update proxmox button on the UI itself, after that all my vms and container cant start up... see the screenshots plz. hope you can guide me to fix this. thank you
 

Attachments

  • Selection_014.png
    Selection_014.png
    27.9 KB · Views: 14
  • Selection_015.png
    Selection_015.png
    94.7 KB · Views: 13
  • Selection_016.png
    Selection_016.png
    20.1 KB · Views: 12
Hi,
pleas run the following command and return the logfile.

Code:
lxc-start -n 100 -F --logfile lxc.log --logpriority DEBUG
 
We need the log.txt file.
 
You generate it when you run the lxc-start command.
I guess you did not change the directory when you run lxc-start?
If so the log.txt should in the /root/ directory.
Code:
cat log.txt
 
It look like you disable or remove a storage.

Code:
 conf - conf.c:run_buffer:326 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 100 lxc pre-start with output: storage 'zfsVM' does not exists
 
i did not, thats the weird part... i just update the proxmox host and then this happened... weird, what the proper way to fix since it looks like it also affected the vms as well. thanks
 
Sent the output of

Code:
pvesm status
zpool status
zfs get mountpoint
 
Why to you use a dir storage on ZFS for Conteiners?
please send the output of this commands.
Code:
zfs get mounted
ls -Rhal /Local-proxmox/vm/
 
/Local-proxmox/vm/images: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. /Local-proxmox/vm/private: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. /Local-proxmox/vm/template: total 12K drwxr-xr-x 3 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. drwxr-xr-x 2 root root 4.0K Sep 28 15:49 cache /Local-proxmox/vm/template/cache: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 3 root root 4.0K Sep 28 15:49 .. root@ITechnifyPVE:~# clear root@ITechnifyPVE:~# zfs get mounted NAME PROPERTY VALUE SOURCE Local-proxmox mounted no - Local-proxmox/Macrium mounted yes - Local-proxmox/Macrium/subvol-100-disk-0 mounted yes - Local-proxmox/Macrium/subvol-100-disk-0@good mounted - - Local-proxmox/backup mounted no - Local-proxmox/data mounted yes - Local-proxmox/data/subvol-100-disk-0 mounted yes - Local-proxmox/data/subvol-100-disk-0@good mounted - - Local-proxmox/iso mounted no - Local-proxmox/subvol-104-disk-0 mounted yes - Local-proxmox/subvol-104-disk-0@odooinstallation mounted - - Local-proxmox/subvol-104-disk-0@installedclean mounted - - Local-proxmox/vm mounted no - Local-proxmox/vms mounted yes - Local-proxmox/vms/subvol-100-disk-0 mounted yes - Local-proxmox/vms/subvol-100-disk-0@good mounted - - Local-proxmox/vms/subvol-102-disk-0 mounted yes - Local-proxmox/vms/subvol-105-disk-0 mounted yes - Local-proxmox/vms/subvol-106-disk-0 mounted yes - Local-proxmox/vms/vm-101-disk-0 mounted - - Local-proxmox/vms/vm-103-disk-0 mounted - - Local-proxmox/vms/vm-103-disk-0@b4configuration mounted - - Local-proxmox/vms/vm-103-state-b4configuration mounted - - Local-proxmox/vms/vm-107-disk-0 mounted - - root@ITechnifyPVE:~#


root@ITechnifyPVE:~# zfs get mounted NAME PROPERTY VALUE SOURCE Local-proxmox mounted no - Local-proxmox/Macrium mounted yes - Local-proxmox/Macrium/subvol-100-disk-0 mounted yes - Local-proxmox/Macrium/subvol-100-disk-0@good mounted - - Local-proxmox/backup mounted no - Local-proxmox/data mounted yes - Local-proxmox/data/subvol-100-disk-0 mounted yes - Local-proxmox/data/subvol-100-disk-0@good mounted - - Local-proxmox/iso mounted no - Local-proxmox/subvol-104-disk-0 mounted yes - Local-proxmox/subvol-104-disk-0@odooinstallation mounted - - Local-proxmox/subvol-104-disk-0@installedclean mounted - - Local-proxmox/vm mounted no - Local-proxmox/vms mounted yes - Local-proxmox/vms/subvol-100-disk-0 mounted yes - Local-proxmox/vms/subvol-100-disk-0@good mounted - - Local-proxmox/vms/subvol-102-disk-0 mounted yes - Local-proxmox/vms/subvol-105-disk-0 mounted yes - Local-proxmox/vms/subvol-106-disk-0 mounted yes - Local-proxmox/vms/vm-101-disk-0 mounted - - Local-proxmox/vms/vm-103-disk-0 mounted - - Local-proxmox/vms/vm-103-disk-0@b4configuration mounted - - Local-proxmox/vms/vm-103-state-b4configuration mounted - - Local-proxmox/vms/vm-107-disk-0 mounted - - root@ITechnifyPVE:~# clear root@ITechnifyPVE:~# ls -Rhal /Local-proxmox/vm/ /Local-proxmox/vm/: total 24K drwxr-xr-x 6 root root 4.0K Sep 28 15:49 . drwxr-xr-x 9 root root 4.0K Sep 28 15:44 .. drwxr-xr-x 2 root root 4.0K Sep 28 15:49 dump drwxr-xr-x 2 root root 4.0K Sep 28 15:49 images drwxr-xr-x 2 root root 4.0K Sep 28 15:49 private drwxr-xr-x 3 root root 4.0K Sep 28 15:49 template /Local-proxmox/vm/dump: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. /Local-proxmox/vm/images: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. /Local-proxmox/vm/private: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. /Local-proxmox/vm/template: total 12K drwxr-xr-x 3 root root 4.0K Sep 28 15:49 . drwxr-xr-x 6 root root 4.0K Sep 28 15:49 .. drwxr-xr-x 2 root root 4.0K Sep 28 15:49 cache /Local-proxmox/vm/template/cache: total 8.0K drwxr-xr-x 2 root root 4.0K Sep 28 15:49 . drwxr-xr-x 3 root root 4.0K Sep 28 15:49 .. root@ITechnifyPVE:~#
 
The problem is you Dataset Local-proxmox/vm is not mounted.
remove the content of the /Local-proxmox/vm/ directory and the call
Code:
zfs mount Local-proxmox/vm
 
The problem is you Dataset Local-proxmox/vm is not mounted.
remove the conntend of the /Local-proxmox/vm/ directory and the call
Code:
zfs mount Local-proxmox/vm
i am getting error "

root@ITechnifyPVE:~# cannot mount '/Local-proxmox/vm': directory is not empty

but the directory has nothing there! even checked with filezilla

"
 
You have to disable the storage in the Proxmox VE configuration.
And then remove all directories in this path
 
i did all that, worked, but was getting some others errors, so i decide to install fresh proxmox and recreate, HOWEVER, today after restart the thing is doing the same problem, (cant start vms or lxc), it looks like the zfs pool is getting unmounted or something, not sure whats going on, am i doing something wrong in here ? kinda disappointing
 
Do you use any zfs snapshot tools?
 
not at all, also noticed on reddit that many people having the same problem, suddenly after updating it just stop working, is kinda disappointing since i was about to put proxmox on production, but with this problem i am not confident with the product.
 
i am not confident with the product.

Please post your storage config, looks like there is something wrong with the way you use/configure your ZFS .?

Code:
cat /etc/pve/storage.cfg
 

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!