Proxomx 3.4 zfs root install not using by-id?

I have installed using the newest 3.4-102d4547-6 ISO and setup zfs raid 1 however i get this on my first boot

prox3.jpg



It worked before so i tried this routine again unsuccessfully

zpool export rpool && zpool import -d /dev/disk/by-id rpool -R /root
exit # which will boot proxmox
actually i had to exit 2 times

Once proxmox is booted i took a look around not sure what is going on with the by-label thing but it is not working for me

ls -al /dev/disk/by-label/
total 0
drwxr-xr-x 2 root root 60 Jun 1 09:19 .
drwxr-xr-x 6 root root 120 Jun 1 09:16 ..
lrwxrwxrwx 1 root root 10 Jun 1 09:19 PVE -> ../../sdg3

If i reboot now i will get the same failed to mount root error so i do the below also NOTE there is no cachefile being used by proxmox installer which i think is a good thing more portable? however i do not know how to make by-label work so i created a cachefile to get system to bootable state.

zpool get cachefile
NAME PROPERTY VALUE SOURCE
rpool cachefile none local

sudo zpool set cachefile=/etc/zfs/zpool.cache rpool
update-initramfs -u

However system does still not boot fully and i need to manually mount the rpool each time
 

Attachments

  • prox1.jpg
    prox1.jpg
    15.1 KB · Views: 14
Last edited:
I am having a few issues with version 4 too however had not had much time to do testing or prepare a post to the forum but i will
 
This thread got me going:

forum.proxmox.com/threads/24295

The trick was to edit the ZPOOL_IMPORT_PATH in /etc/default/zfs and take out the /dev/disk/by-vdev part, and then update the initramfs
 

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!