You are not logged in.
My root zpool is like this:
$ zpool status -v
pool: rpool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
nvme0n1p2 ONLINE 0 0 0
errors: No known data errors
$
I booted my system with a archiso with zfs enabled and imported the pool with:
$ zpool import -d /dev/disk/by-id/
and the disk inside the pool showed up as
nvme-eui.002538d331af0f4b-part2
as expected. Then I rebooted normally and the disk is now showing as nvme0n1p2 as before.
Is there a way to make the by-id naming persistent? Am I missing something?
Linux user since 1996. Currently running Arch on an I7 11th gen laptop with root on zfs with zrepl.
Offline
Can't you reimport the pool by ID from the actual host?
https://wiki.archlinux.org/title/ZFS#Im … ated_by_id
Offline
That's exactly what I did, I have only one laptop... I must do it while running from an ISO because it's my root pool and that's what I did.
Linux user since 1996. Currently running Arch on an I7 11th gen laptop with root on zfs with zrepl.
Offline
Did you arch-chroot into the system from the live ISO, before importing the pool, so that the correct ZFS cache file gets updated?
Offline