zfs pool

brucexx

Renowned Member
Mar 19, 2015
217
7
83
I have a two node test cluster with expected 1 setup. I created two zfs pools on two nodes. pve01 and pve02.

I see them being available/online:
root@pve01-nyc:~# zpool status
pool: zfspoolpve01
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
zfspoolpve01 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0

errors: No known data errors


...and

root@pve02-nyc:~# zpool status
pool: zfspoolpve02
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
zfspoolpve02 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0

errors: No known data errors

...however when I am trying to add storage via datacenter I see only zfspoolpvs01 and 02 pool is not available. I added the zfspoolpve01 with no issue but the 02 is just no showing up.


PVE Manager Version pve-manager/5.1-43/bdb08029

Thank you
 
I am refering to addtional storage, I have pve installed on a raid controller drive and have lvm there. I added additional hard drives to this machine and added two pools via cli:
on PVE01:
zpool create -f -o ashift=12 zfspoolpve01 mirror sda sdb

...and on PVE02:
zpool create -f -o ashift=12 zfspoolpve02 mirror sda sdb

the sda and sdb are additional SSD drives I added to each machine.

When I go to storage under Datacenter and want to add storage of type zfs I jsut see the zfspoolpve01 nothing else even if I select only node pve02. Shouldnt I see there two pools to select from when adding a zfs sorage ?
 

Attachments

  • Capture.JPG
    Capture.JPG
    19.4 KB · Views: 10
I understand it is a local storage. I am just adding the storage to the cluster a local storage within that particular node just like I would be adding LVM or directory but of type zfs and I don't see the second pool for the second node. What am I doing wrong ?
 
Last edited:
ok I was just able to edit the storage.conf and restart pve daemon - that did the trick. I see now local zfs pool on each node.

Still wondering if there is a bug in the GUI that I was not able to see second node's pool and be able to add it.
 
You need to log on to the respective node on the GUI or like you did, edit the storage.conf manually.
 

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!