I need serious help

Dr.ooz

Active Member
Dec 24, 2017
8
0
41
28
I did a really dumb mistake due to my lack of experience I was trying to remove cifs from hetzner there causing problems. By mistake, I ran this code

root@z1 /mnt # mount -f -a /mnt/pve/Google
my df went from this
df: /mnt/pve/Google: Host is down

df: /mnt/pve/Test: Host is down

df: /mnt/pve/stg: Host is down

df: /mnt/pve/remote: Host is down

df: /mnt/pve/test: Host is down

Filesystem 1K-blocks Used Available Use% Mounted on

udev 131885636 0 131885636 0% /dev

tmpfs 26382708 131108 26251600 1% /run

/dev/mapper/vg0-root 15377944 7897724 6693788 55% /

tmpfs 131913524 49920 131863604 1% /dev/shm

tmpfs 5120 0 5120 0% /run/lock

tmpfs 131913524 0 131913524 0% /sys/fs/cgroup

/dev/md0 496228 356934 113131 76% /boot

/dev/fuse 30720 36 30684 1% /etc/pve

tmpfs 26382704 0 26382704 0% /run/user/0


TO THIS


df: /mnt/pve/stg: Host is down

Filesystem 1K-blocks Used Available Use% Mounted on

udev 131885636 0 131885636 0% /dev

tmpfs 26382708 131096 26251612 1% /run

/dev/mapper/vg0-root 15377944 7892888 6698624 55% /

tmpfs 131913524 28080 131885444 1% /dev/shm

tmpfs 5120 0 5120 0% /run/lock

tmpfs 131913524 0 131913524 0% /sys/fs/cgroup

tmpfs 26382704 0 26382704 0% /run/user/0



of course, my GUI went down, is there a way to fix it without reinstall? I am really not having a good day that's why I did this stupid mistake. I just can not think properly.
 
, is there a way to fix it without reinstall?
Probably.
Do you have still access to the console?
A mount is something during runtime. I'd just unmount it and see if things come back.
If that does not work i'd try a reboot to get to a clean state
 
I doubt it's that command that caused the problem.. it seems what is missing now is /etc/pve (pmxcfs) and /boot

could you provide the following:
- pveversion -v
- cat /etc/fstab
- systemctl status pve-cluster
 
I did remount boot andI restart the cluster to get pve back but if I try to reboot a vm on the same dive i get

()


















Task viewer: CT 109 - Start

OutputStatus

Stop
run_apparmor_parser: 882 Failed to run apparmor_parser on "/var/lib/lxc/109/apparmor/lxc-109_<-var-lib-lxc>": Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
remove_apparmor_namespace: 850 No such file or directory - Error removing AppArmor namespace
apparmor_prepare: 1052 Failed to load generated AppArmor profile
lxc_init: 832 Failed to initialize LSM
__lxc_start: 1945 Failed to initialize container "109"
TASK ERROR: startup for container '109' failed
 
proxmox-ve: 6.4-1 (running kernel: 5.4.195-1-pve)


pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)


pve-kernel-5.4: 6.4-20


pve-kernel-helper: 6.4-20


pve-kernel-5.4.203-1-pve: 5.4.203-1


pve-kernel-5.4.195-1-pve: 5.4.195-1


pve-kernel-5.4.140-1-pve: 5.4.140-1


ceph-fuse: 12.2.11+dfsg1-2.1+b1


corosync: 3.1.5-pve2~bpo10+1


criu: 3.11-3








glusterfs-client: 5.5-3


ifupdown: residual config


ifupdown2: 3.0.0-1+pve4~bpo10


libjs-extjs: 6.0.1-10


libknet1: 1.22-pve2~bpo10+1


libproxmox-acme-perl: 1.1.0


libproxmox-backup-qemu0: 1.1.0-1


libpve-access-control: 6.4-3


libpve-apiclient-perl: 3.1-3


libpve-common-perl: 6.4-5


libpve-guest-common-perl: 3.1-5


libpve-http-server-perl: 3.2-5


libpve-storage-perl: 6.4-1


libqb0: 1.0.5-1


libspice-server1: 0.14.2-4~pve6+1


lvm2: 2.03.02-pve4


lxc-pve: 4.0.6-2


lxcfs: 4.0.6-pve1


novnc-pve: 1.1.0-1


proxmox-backup-client: 1.1.14-1


proxmox-mini-journalreader: 1.1-1


proxmox-widget-toolkit: 2.6-2


pve-cluster: 6.4-1


pve-container: 3.3-6


pve-docs: 6.4-2


pve-edk2-firmware: 2.20200531-1


pve-firewall: 4.1-4


pve-firmware: 3.3-2


pve-ha-manager: 3.1-1


pve-i18n: 2.3-1


pve-qemu-kvm: 5.2.0-8


pve-xtermjs: 4.7.0-3


qemu-server: 6.4-2


smartmontools: 7.2-pve2


spiceterm: 3.1-1


vncterm: 1.6-2




========================



proc /proc proc defaults 0 0


# /dev/md/0


UUID=165e5555-001c-4d4d-b60a-2d3a89ddf772 /boot ext3 defaults 0 0


# /dev/md/1 belongs to LVM volume group 'vg0'


/dev/vg0/root / ext3 defaults 0 0


/dev/vg0/swap swap swap defaults 0 0



====================



pve-cluster.service - The Proxmox VE cluster filesystem

Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor pres

Active: active (running) since Thu 2022-10-20 23:06:05 CEST; 24h ago

Process: 31614 ExecStart=/usr/bin/pmxcfs (code=exited, status=0/SUCCESS)

Main PID: 31617 (pmxcfs)

Tasks: 7 (limit: 4915)

Memory: 55.7M

CGroup: /system.slice/pve-cluster.service

└─31617 /usr/bin/pmxcfs



Oct 20 23:06:04 z1 systemd[1]: Starting The Proxmox VE cluster filesystem...

Oct 20 23:06:05 z1 systemd[1]: Started The Proxmox VE cluster filesystem.
 
what is the output of mount? please put it in code tags so that it remains readable..
 

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!