Hello all,
I have a very specific issue with trying to move from the sda/sdb disk labels that are assigned at boot to the more permanent partuuid system.
This is the result of trying to export, then re-import using the " import -d /dev/disk/by-partuuid" command.
The odd thing is the rest of the disks just stay as sdb, sbc, etc. and I don’t know enough about ZFS to change them all, or even if this is bad. Perhaps the disks will be found regardless?
I need to migrate the system (new motherboard, CPU) and I know that the UUIDs are more stable. Will this pose an issue? Will the import still work even though the rest of the disks still use a labeling system that assigns letters based on read order in BIOS (or some early boot phase of linux)?
$ sudo zpool export archive_pool
$ sudo zpool import -d /dev/disk/by-partuuid/e6e3728b-aa97-4246-b19a-c96d989664e3 archive_pool
$ zpool status archive_pool
pool: archive_pool
state: ONLINE
scan: scrub repaired 0B in 02:56:30 with 0 errors on Sun Oct 8 03:20:32 2023
config:
NAME STATE READ WRITE CKSUM
archive_pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
e6e3728b-aa97-4246-b19a-c96d989664e3 ONLINE 0 0 0
cache
sdh ONLINE 0 0 0
System is a ubuntu server edition version 22.04
version: 2.1.5-1ubuntu6~22.04.1
srcversion: 5A94B4662A7A991696CC35F
vermagic: 5.15.0-87-generic SMP mod_unload modversions
[ 7.028468] ZFS: Loaded module v2.1.5-1ubuntu6~22.04.1, ZFS pool version 5000, ZFS filesystem version 5
ZFS version 5 as seen above
All disks in the archive_pool are WD RED 4tb, the cache is a samsung 256gb SATA SSD
systems runs a 4770k baseclock and 32gb of 2600mhz ram
All the best, thanks for any help.