[SOLVED] Problems adding a zfs node (raid1) to a cluster

dav.ge

Member
Feb 26, 2019
27
3
23
41
Hi,

i'm rebuilding a cluster.
I've a single node cluster with lvm storage (node1).
I tried to add a node (node2) to the cluster, Node2 have zfs storage (raid1) that works fine before i try to join to the cluster,
Join process seems fine but after the join the zfs storage on gui is displayed as local-lvm type and his status in "unknow". ZFS tab on node2 shows "rpool" and is status reports "No Known data errors", Disks are shown but reports "mirrir-0" instead of mirror 1.

What's going on?
 

Attachments

  • zfsproblems.JPG
    zfsproblems.JPG
    94.4 KB · Views: 5
other info

Node2 (tacul)
Kernel Version: Linux 5.3.13-2-pve #1 SMP PVE 5.3.13-2 (Fri, 24 Jan 2020 09:49:36 +0100)
PVE Manager Version: 6.1-5/9bf06119

Node1(tourronde):
Kernel Version
Linux 5.3.10-1-pve #1 SMP PVE 5.3.10-1 (Thu, 14 Nov 2019 10:43:13 +0100)
PVE Manager Version : 6.1-5/9bf06119


root@tacul:~# pvesm status
Name Type Status Total Used Available %
annapurna nfs active 3195698176 1082118144 2113039360 33.86%
local dir active 451016448 1266304 449750144 0.28%
local-lvm lvmthin inactive 0 0 0 0.00%


root@tourronde:~# pvesm status
Name Type Status Total Used Available %
annapurna nfs active 3195698176 1055212032 2139945472 33.02%
local dir active 98559220 2512576 90997096 2.55%
local-lvm lvmthin active 449957888 0 449957888 0.00%



Cluster information
-------------------
Name: infal1
Config Version: 3
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Mon Feb 3 18:01:07 2020
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.20
Quorate: Yes

Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate

Membership information
----------------------
Nodeid Votes Name
0x00000001 1 10.186.144.30 (local)
0x00000002 1 10.186.144.64

 
Hi,
by default pvesm expects a storage to be configured on all nodes. You can use
Code:
pvesm set local-lvm --nodes tourronde
so that pvesm knows that the storage is only available on that node. You also need to configure your ZFS storage with pvesm, see here for the details.
Example command:
Code:
pvesm add zfspool <NAME> --pool rpool --nodes tacul
 

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!