When I reboot one of my nodes, the zfs pool does not come back online. On investigation it seems like the GPT is not active and I can recover manually but looking for assisatnce on the issue and how to fix.
Code:
root@pve-1:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 894.3G 0 disk
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 1G 0 part
└─nvme0n1p3 259:3 0 118.2G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
├─pve-root 252:1 0 39.6G 0 lvm /
├─pve-data_tmeta 252:2 0 1G 0 lvm
│ └─pve-data-tpool 252:4 0 53.9G 0 lvm
│ └─pve-data 252:5 0 53.9G 1 lvm
└─pve-data_tdata 252:3 0 53.9G 0 lvm
└─pve-data-tpool 252:4 0 53.9G 0 lvm
└─pve-data 252:5 0 53.9G 1 lvm
root@pve-1:~#
root@pve-1:~# zpool status
no pools available
root@pve-1:~#
root@pve-1:~# gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
root@pve-1:~#
root@pve-1:~#
root@pve-1:~#
root@pve-1:~# zpool status
pool: zfs-cluster-share
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 00:07:58 with 0 errors on Sun Jun 14 00:31:59 2026
config:
NAME STATE READ WRITE CKSUM
zfs-cluster-share ONLINE 0 0 0
scsi-35002538e01867047 ONLINE 0 0 0
errors: No known data errors
root@pve-1:~#