Can't mirror boot-pool

pinoli

Dabbler
Joined
Feb 20, 2021
Messages
34
As the title say, after a clean install of TrueNAS SCALE 21.04 ALPHA-1 on my server, it seems I cannot mirror the boot pool, the three dots don't show.

FhmVCjC.png


I have installed the OS on a NVMe SSD (Samsung 970 Evo Plus 250GB) plugged to a USB3 port through a RTL9210 controller (FW version 1.21.17) in a neat USB-stick like enclosure.
CYvEgjm.png


I have two of these USB NVMe sticks, they are both recognized, but whichever I choose to install the OS on, I still can't mirror the boot-pool once in TrueNAS SCALE, the three dots don't show.

I swear I saw the option to mirror the boot-pool in version 21.02, so I am not sure if this depends on my hardware (the RTL9210) or on the state of development of TrueNAS SCALE. I also tried different browsers to no avail.
If you have any clue it would be much appreciated.

P.S.: during install I tried installing the 16GB partition on the drive, and tried without it.
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
@pinoli - Please go ahead and file a ticket on https://jira.ixsystems.com with a debug attached (after plugging in your additional device). I'm guessing its indeed a bug of some type in 21.04 and we'll want to get that solved before BETA 21.06.
 

pinoli

Dabbler
Joined
Feb 20, 2021
Messages
34
thanks @Kris Moore I filed a ticket as you suggested, you can find it here
 

1337beo

Cadet
Joined
Jul 20, 2021
Messages
5
you can do it on the cli if you want, you need sudo rights!

Code:
find the right disk:
sudo fdisk -l 
find the boot-pool:
sudo zpool status
attach a second disk to it:
sudo zpool attach boot-pool sdd3 sde
in my example sdd3 is the "old" boot disk and sde is the new
review:
sudo zpool status
->
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sdd3    ONLINE       0     0     0
            sde     ONLINE       0     0     0  (resilvering)
!!!!!
Wait for resilvering to be finished before rebooting etc.
 

ok1718

Cadet
Joined
May 25, 2021
Messages
6
you can do it on the cli if you want, you need sudo rights!

Code:
find the right disk:
sudo fdisk -l
find the boot-pool:
sudo zpool status
attach a second disk to it:
sudo zpool attach boot-pool sdd3 sde
in my example sdd3 is the "old" boot disk and sde is the new
review:
sudo zpool status
->
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sdd3    ONLINE       0     0     0
            sde     ONLINE       0     0     0  (resilvering)
!!!!!
Wait for resilvering to be finished before rebooting etc.

thats cool, thanks! Will this show up in the truenas gui?
 

1337beo

Cadet
Joined
Jul 20, 2021
Messages
5
Screenshot 2021-07-21 083929.png

it does. the only thing I noticed, aber a reboot the usb stickt got a new name and under Disks you see it as "free". before the reboot it was market for boot-pool, but I need to check with labeling, as I am not a Linux Pro and just starting for truenas with it :smile:
but on cli and gui the boot pool is still listed as mirrored, didn´t had time to test it with removing one usb stick
Code:
config:

        NAME                        STATE     READ WRITE CKSUM
        boot-pool                   ONLINE       0     0     0
          mirror-0                  ONLINE       0     0     0
            sdh3                    ONLINE       0     0     0
            usb-USB_Flash_Disk-0:0  ONLINE       0     0     0

 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
sdX3 seems like the third partition on sdX to me... that may be a problem if partitions 1 & 2 are used as part of the boot process.
 

1337beo

Cadet
Joined
Jul 20, 2021
Messages
5
sdX3 seems like the third partition on sdX to me... that may be a problem if partitions 1 & 2 are used as part of the boot process.
sdX3 is the original partition, I didn´t touch it. It's the usb stick I installed scale on. But it seems you are right,
Code:
Device        Start      End  Sectors  Size Type
/dev/sdg1        40     2087     2048    1M BIOS boot
/dev/sdg2      2088  1050663  1048576  512M EFI System
/dev/sdg3  34605096 62963678 28358583 13.5G Solaris /usr & Apple ZFS
/dev/sdg4   1050664 34605095 33554432   16G Linux swap


I removed the usb stick which was inserted during installation und tried the "mirror" usb stick.
Unfortunatly it didn´t come up with gui or cli, but I don´t have a monitor nearby for it, so I can´t check the bios messages. I can check next week.

So I guess you are right and he doesn´t mirror 1+2 in the boot-pool because there is just part 3 included. But he needs it during booting.
 

1337beo

Cadet
Joined
Jul 20, 2021
Messages
5
what i just tried, chose during a fresh install 2 boot devices, it worked..but after booting for first time one drive directly faulted..maybe we really need to wait for a later release
 

pinoli

Dabbler
Joined
Feb 20, 2021
Messages
34
what i just tried, chose during a fresh install 2 boot devices, it worked..but after booting for first time one drive directly faulted..maybe we really need to wait for a later release
yes, this is what I did during the last clean install of TrueNAS SCALE 21.06 BETA. It works and it shows in System Settings --> Boot Pool but still no sign of the three dots. Anyway, I see my ticket has been worked on and I am positive they will be back in 21.08
 
Top