Hello,
for the last 5 years i have been able to answer my questions by searching and there was no need for an account. that time seems to have passed.
i know there is nothing like /dev/disk/by-id like there is on linux when playing around with openzfs, BUT freebsd-11.2-live gives me /dev/diskid which seems to serve the same purpose: not relying on the logic of zfs to "figure it out" where and what my disks are and importing the pool correctly. this seems to be a problem mainly when the pool wasnt exported on a different system and i try to reimport it using
/dev/diskid/ solved that on freebsd live and i was able to access the pool.
does anybody now what manages that directory on a regular freebsd-install? /dev/diskid doesnt seem to be there by default and i would like to use it to import my pool on my 'real' system now. (although, through some magic all the disks on all the pools are discovered right now with there /dev/ada* and /dev/da* paths ... still i would like to do it with the extra layer of abstraction so i wont run into this problem anymore at some later point.)
any hints are greatly appreciated.
for the last 5 years i have been able to answer my questions by searching and there was no need for an account. that time seems to have passed.
i know there is nothing like /dev/disk/by-id like there is on linux when playing around with openzfs, BUT freebsd-11.2-live gives me /dev/diskid which seems to serve the same purpose: not relying on the logic of zfs to "figure it out" where and what my disks are and importing the pool correctly. this seems to be a problem mainly when the pool wasnt exported on a different system and i try to reimport it using
zpool import -d
command. there is always some disk or disks that are unavailable and the pool is either degraded or faulted as a result./dev/diskid/ solved that on freebsd live and i was able to access the pool.
does anybody now what manages that directory on a regular freebsd-install? /dev/diskid doesnt seem to be there by default and i would like to use it to import my pool on my 'real' system now. (although, through some magic all the disks on all the pools are discovered right now with there /dev/ada* and /dev/da* paths ... still i would like to do it with the extra layer of abstraction so i wont run into this problem anymore at some later point.)
any hints are greatly appreciated.