zfs problem with LSI Raid 1

ivan.leon

New Member
Oct 21, 2022
4
0
1
Hi everyone.
I'm a teacher from a High School, I teach vocational training. I would love for my students to learn Proxmox.
I am using proxmox on fujitsu rs300 s6 with a LSi SAS controller.
I created a raid 1 on LSI configuration and installed proxmox VE 7.2 on it with default options and ZFS format.
the local node it’s ok but de local-ZFS it's work and received a error “could not activate storage 'local-zfs', zfs error: cannot import 'rpool': no such pool available (500)”

Please, help me!! i’m try to find solutions but didn’t find it.
Thanks.

P.S.:this is some information about my computer.

root@arwen2:~# more /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl

zfspool: local-zfs
pool rpool/data
content rootdir,images
nodes arwen2
sparse 1

root@galadriel3:~# pvecm status
Cluster information
-------------------
Name: iluvatar
Config Version: 4
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Mon Oct 24 12:10:30 2022
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000002
Ring ID: 2.3a
Quorate: No

Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 1
Quorum: 2 Activity blocked
Flags:

Membership information
----------------------
Nodeid Votes Name
0x00000002 1 10.230.165.203 (local)
root@galadriel3:~# zfs create rpool/data
cannot create 'rpool/data': no such pool 'rpool'
root@galadriel3:~# pvecm status
Cluster information
-------------------
Name: iluvatar
Config Version: 4
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Mon Oct 24 13:15:19 2022
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000002
Ring ID: 2.3a
Quorate: No

Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 1
Quorum: 2 Activity blocked
Flags:

Membership information
----------------------
Nodeid Votes Name
0x00000002 1 10.230.165.203 (local)


root@arwen2:~# zfs list
no datasets available

root@arwen2:~# zpool import -N rpool
cannot import 'rpool': no such pool available
 
Hello,

Are both nodes are installed on ZFS?


Can you please also post the output of the `systemctl status zfs-mount.service` command?
 
Hello,

Are both nodes are installed on ZFS?


Can you please also post the output of the `systemctl status zfs-mount.service` command?
Thanks for your help Moayad
Both server have same configurations.
this is the log
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: ena>
Active: active (exited) since Mon 2022-10-24 11:49:23 CEST; 23h ago
Docs: man:zfs(8)
Process: 635 ExecStart=/sbin/zfs mount -a (code=exited, status=0/SUCCESS)
Main PID: 635 (code=exited, status=0/SUCCESS)
CPU: 6ms

Oct 24 11:49:23 arwen2 systemd[1]: Starting Mount ZFS filesystems...
Oct 24 11:49:23 arwen2 systemd[1]: Finished Mount ZFS filesystems.
 
:eek::eek:I didn't know about this problems.
What do you recommend me? reinstall servers and use ext4?
That depends. Sounds like you are running a 2 node PVE cluster? Maybe with ZFS replication for HA? ZFS replication of cause wouldn't work without ZFS.
You also need at least 3 machines for a cluster, or otherwise you run into a split-brain situation once one of the two nodes will fail, so the whole cluster will become unavailable.
You should at least add something small like a thin-client as a qdevice as a third voter: https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_external_vote_support

If you really want to use ZFS I would recommend ditching that raid controller and getting a LSI HBA card. Sometimes its also possible to switch that raid card into an HBA mode or to flash it from a IR-mode firmware to a IT-mode firmware, so the raid card becomes a dumb HBA.
 
Last edited:
Dunuin thanks for hemping me, this is my enviment:
  1. one machine fujitsu rx100 s7 without raid controler, installed promox ve 7 in a logical raid 1with zfs (named eowyn1)
  2. 2 machines fujitsu rx300 s6 with raid controller raid 1, promox ve 7 in with zfs (named arwen2 y galadriel3)
  3. I tried join together in a custer, every thinkkg is working fine excep zfs pool in fujitsu rx300 machines (named iluvatar)
  4. in a few days I'm going add a external NAS for VM hd
what would be your recommendation for this enviroment?
Thaks for the help!!
P.S I'm a little bit fanatic of Lord of the rings LOL
 
Last edited: