Storage is gone after joining cluster

a13519

Member
Sep 27, 2019
12
0
6
52
I have 2 HDD drive on my node 2, after joining the cluster on node 1, one of my node 2 drive is gone, I try to mount it but failed, there are some VM backup data in it, how can I recover them back?

the sda is the drive I want to add to my storage.

root@pve2:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 894.3G 0 disk ├─pve2_thinpool-pve2_thinpool_tmeta 253:0 0 112M 0 lvm │ └─pve2_thinpool-pve2_thinpool-tpool 253:6 0 894G 0 lvm │ ├─pve2_thinpool-pve2_thinpool 253:7 0 894G 1 lvm │ └─pve2_thinpool-vm--106--disk--1 253:8 0 32G 0 lvm └─pve2_thinpool-pve2_thinpool_tdata 253:1 0 894G 0 lvm └─pve2_thinpool-pve2_thinpool-tpool 253:6 0 894G 0 lvm ├─pve2_thinpool-pve2_thinpool 253:7 0 894G 1 lvm └─pve2_thinpool-vm--106--disk--1 253:8 0 32G 0 lvm sdb 8:16 0 119.2G 0 disk ├─sdb1 8:17 0 1007K 0 part ├─sdb2 8:18 0 512M 0 part /boot/efi └─sdb3 8:19 0 118.7G 0 part ├─pve-swap 253:2 0 8G 0 lvm [SWAP] ├─pve-root 253:3 0 29.5G 0 lvm / ├─pve-data_tmeta 253:4 0 1G 0 lvm │ └─pve-data 253:9 0 64.5G 0 lvm └─pve-data_tdata 253:5 0 64.5G 0 lvm └─pve-data 253:9 0 64.5G 0 lvm
 
Code:
A node that is about to be added to the cluster cannot hold any guests. All existing configuration in /etc/pve is overwritten when joining a cluster, since guest IDs could otherwise conflict. As a workaround, you can create a backup of the guest (vzdump) and restore it under a different ID, after the node has been added to the cluster.
https://pve.proxmox.com/wiki/Cluster_Manager#pvecm_join_node_to_cluster

https://forum.proxmox.com/threads/after-joining-a-cluster-internal-storage-is-lost.101702/

Storage configuration is also stored in /etc/pve so it also gets overwritten. The data itself is most likely still there.
Do you have a backup of your /etc/pve from joined node? What is the context of /etc/pve/storage.cfg now? What command are you running that fails? What is the error message? What is the output of lvs and vgs on each node?


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!