Mirrored boot pool not using GPTID using GUI.

unreg

Cadet
Joined
Jan 10, 2021
Messages
2
Hi,

I have mirrored my boot-pool through the GUI as described on this URL. However it seems that TrueNAS seems to have used the device name rather than the GPTID. Is this expected for the boot pool?

The TrueNAS version is 12.0-U1. The system was installed on this version, never been upgraded.
Both boot disks are 128 GB SSDs (SAMSUNG MZ7PA128).

Gigabyte GA-Z68MA-D2H-B3
Intel i7-2600
16GB RAM (non-ECC)
5x WDC WD3000FYYZ-0 in Z2 pool
2x SAMSUNG MZ7PA128 for boot pool
LSI 9211-8i HBA in IT mode for all disks (including boot pool)
Quad Intel 1Gbit NIC

It now looks like this:
Code:
root@truenas[~]# zpool status -v boot-pool
  pool: boot-pool
 state: ONLINE
  scan: resilvered 1.64G in 00:00:20 with 0 errors on Mon Jan 11 17:28:02 2021
config:

        NAME                                            STATE     READ WRITE CKSUM
        boot-pool                                       ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/6d2f8fd5-40ec-11eb-a6e6-50e549400a19  ONLINE       0     0     0
            da6p2                                       ONLINE       0     0     0

errors: No known data errors
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Is this expected for the boot pool?
Sometimes. I have seen it go both ways. I have two systems that are as close as I could get to identical and one is using the gptid while the other is using the device name. The thing to notice is, it says da6p2 which means (in human speak) drive 6 partition 2, so the middleware did create a partition and use the partition instead of the whole disk, it just didn't use the gptid of the partition. I figured it wasn't a big deal, but it probably is a bug, of sorts. It appears to depend on how the change is made, so it might be that there is one subroutine that handles it one way and another that handles it the other and there is some conditional difference that makes the choice. I have not figured out a consistent method of getting the same result every time.
 

unreg

Cadet
Joined
Jan 10, 2021
Messages
2
Right, so the main question then becomes, is this an issue?
Will it need fixing if device IDs change? For example I would connect additional disks or use different ports. I'm not sure what generates the block device name but I assume they just come in the order of HBA and attached Device IDs.
Should I fix this or can I just leave it as is?
I guess it would be possible to remove the mirrored partition and then re-add on the CLI using the gptid although I'm not sure of the exact commands I would use.
 
Top