My server consists of 2x512GB and 1x3.5TB disks.
root@bb2 ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:3 0 10.7G 0 part
│ └─md0 9:0 0 32G 0 raid0 [SWAP]
├─nvme0n1p2 259:4 0 1G 0 part
│ └─md1 9:1 0 1022M 0 raid1 /boot
└─nvme0n1p3 259:5 0 465.3G 0 part
└─md2 9:2 0 1.4T 0 raid0 /
nvme1n1 259:1 0 3.5T 0 disk
├─nvme1n1p1 259:6 0 10.7G 0 part
│ └─md0 9:0 0 32G 0 raid0 [SWAP]
├─nvme1n1p2 259:7 0 1G 0 part
│ └─md1 9:1 0 1022M 0 raid1 /boot
└─nvme1n1p3 259:8 0 465.3G 0 part
└─md2 9:2 0 1.4T 0 raid0 /
nvme2n1 259:2 0 476.9G 0 disk
├─nvme2n1p1 259:9 0 10.7G 0 part
│ └─md0 9:0 0 32G 0 raid0 [SWAP]
├─nvme2n1p2 259:10 0 1G 0 part
│ └─md1 9:1 0 1022M 0 raid1 /boot
└─nvme2n1p3 259:11 0 465.3G 0 part
└─md2 9:2 0 1.4T 0 raid0 /
The disk nvme1n1 259:1 0 3.5T 0 disk
is not fully involved into RAID0
root@bb2 ~ # mdadm --detail /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Thu May 4 18:14:01 2023
Raid Level : raid0
Array Size : 1463221248 (1395.44 GiB 1498.34 GB)
My attempt to increase md2
to the max was not successful.
root@bb2 ~ # sudo mdadm --grow /dev/md2 -z max
mdadm: Cannot set device size in this type of array.
Can you suggest to me how I can utilize all space from nvme1n1
?