Created a simple two node cluster (6.3.2) to test ZFS sharing and having problems. Below are the steps I took and the problem I'm seeing.
1. Created 2 node cluster (pve01 & pve02) - no errors. Did not create any shared storage at this point, just bare bones cluster.
2. Created zfs01 on pve01 without any issues.
3. On the main cluster I created a new mainZFS using zfs01 on pve01 and did not restrict to any nodes.
4. Everything shows up fine on pve01 just fine. The problem I'm having is with pve02.
I see the mainZFS show up but is has a ? in the icon. When I click on the icon I get the error message:
"could not activate storage 'mainZFS', zfs error: cannot open 'zfs01': no such pool (500).
I thought when using a cluster that a ZFS pool could be accessed by all nodes of the cluster as long as there were no restrictions. Any advice would be appreciated.
As info: Did the same test with a directory and basically the same error is occuring. I can see it in the other node but get an error:
"unable to activate storage 'dir' - directory is expected to be a mount point but is not mounted: '/mnt/pve/dir' (500)
Your help would be appreciated. Thank you!
Troubleshoot data:
root@pve01:~# pvecm status
Cluster information
-------------------
Name: Signal
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Dec 26 18:56:54 2020
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.9
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.0.0.11 (local)
0x00000002 1 10.0.0.12
1. Created 2 node cluster (pve01 & pve02) - no errors. Did not create any shared storage at this point, just bare bones cluster.
2. Created zfs01 on pve01 without any issues.
3. On the main cluster I created a new mainZFS using zfs01 on pve01 and did not restrict to any nodes.
4. Everything shows up fine on pve01 just fine. The problem I'm having is with pve02.
I see the mainZFS show up but is has a ? in the icon. When I click on the icon I get the error message:
"could not activate storage 'mainZFS', zfs error: cannot open 'zfs01': no such pool (500).
I thought when using a cluster that a ZFS pool could be accessed by all nodes of the cluster as long as there were no restrictions. Any advice would be appreciated.
As info: Did the same test with a directory and basically the same error is occuring. I can see it in the other node but get an error:
"unable to activate storage 'dir' - directory is expected to be a mount point but is not mounted: '/mnt/pve/dir' (500)
Your help would be appreciated. Thank you!
Troubleshoot data:
root@pve01:~# pvecm status
Cluster information
-------------------
Name: Signal
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Dec 26 18:56:54 2020
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 1.9
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.0.0.11 (local)
0x00000002 1 10.0.0.12