SOLVED zpool disk partition md missing on some disks TrueNAS Scale 23.10.0

itet

Dabbler
Joined
Aug 19, 2020
Messages
26
I'm confused and maybe missed some changes in the past. lsblk shows some disk in the same pool with md partition and some without. What have changed and are some doings required?

Code:
❯ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda           8:0    0   2.7T  0 disk
├─sda1        8:1    0     2G  0 part
│ └─md127     9:127  0     2G  0 raid1
│   └─md127 253:0    0     2G  0 crypt [SWAP]
└─sda2        8:2    0   2.7T  0 part
sdb           8:16   0   2.7T  0 disk
├─sdb1        8:17   0     2G  0 part
│ └─md127     9:127  0     2G  0 raid1
│   └─md127 253:0    0     2G  0 crypt [SWAP]
└─sdb2        8:18   0   2.7T  0 part
sdc           8:32   0   2.7T  0 disk
├─sdc1        8:33   0     2G  0 part
└─sdc2        8:34   0   2.7T  0 part
sdd           8:48   0   2.7T  0 disk
├─sdd1        8:49   0     2G  0 part
│ └─md127     9:127  0     2G  0 raid1
│   └─md127 253:0    0     2G  0 crypt [SWAP]
└─sdd2        8:50   0   2.7T  0 part
sde           8:64   0   2.7T  0 disk
├─sde1        8:65   0     2G  0 part
└─sde2        8:66   0   2.7T  0 part
sdf           8:80   0  29.8G  0 disk
├─sdf1        8:81   0     1M  0 part
├─sdf2        8:82   0   512M  0 part
└─sdf3        8:83   0  29.3G  0 part
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The md devices are created on the fly at boot time matching the redundancy of your pool. If your pool is e.g. a RAIDZ1 vdev, which means single redundancy, then TrueNAS will create two-way mirrors for swap. If the pool is a RAIDZ2 vdev, it will create three-way mirrors to match the two-disk redundancy.

If there are disks left over, e.g. two disks in a 5 disk RAIDZ2, that cannot be put into another three-way mirrror, they are simply left as they are and no md devices are created.
 

itet

Dabbler
Joined
Aug 19, 2020
Messages
26
@Patrick M. Hausen thanks very much for this, sorry for my wrong understanding. That means all is fine with my system. But if I have a single disk pool, it will create no md partition?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I don't really know. A single disk has no redundancy so a single swap partition on that might match.
 

itet

Dabbler
Joined
Aug 19, 2020
Messages
26
It solved with TrueNAS update.
 
Top