bonsoir
J'ai voulu profiter de la baisse de température pour offrir une
nouvelle machine à ma Debian (kit complet boîtier, carte mère RAM, un
don de mon employeur d'une machine décommissionnée pour absence de
support W11). Ma Debian est une version stable amd64
D'habitude, je prends le disque de l'ancienne machine, je le mets dans
la nouvelle, et pouf ça marche. Enfin ça démarre ; après faut mettre les
drivers à niveau, mais ce n'est pas le sujet
Seulement depuis que j'ai l'ancien boîtier j'ai migré mon système sous
RAID1, qui fonctionnait sans pb sur l'ancienne machine.
Là ça ne démarre pas, il bloque après Grub sur un message mdadm : "No
device listed in conf file where found" répété plusieurs fois
Puis Alert UUID-machin not found, dropping to a shell
donc busybox initramfs
J'ai booté sur systemrescuecd 12.01 où j'ai pu monter et vérifier les
partitions RAID.
Donc un changement de machine ne fait pas perdre le RAID.
un blkid m'informe que l'UUID de la partition "manquante" est /dev/md127
correspondant à /
Le BIOS me confirme avoir correctement détecté les deux disques du RAID.
Systemrescuecd aussi.
Je suis en legacy boot, systemrescuecd également, donc pas de pb de là.
Je manque d'idée, je suis preneur des vôtres.
Je vous joins à toute fin utile un blkid et la config mdadm :
BLKID :
/dev/loop1: BLOCK_SIZE="524288" TYPE="squashfs"
/dev/md127: LABEL="/ quietty"
UUID="6b73ab49-5d8d-4cbe-88a1-a127f33c21e5" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdb4: UUID="6fa5e6c8-bc1d-4f2e-28f5-a35fad0ce707"
UUID_SUB="57e97a89-306a-284b-c23d-8b2283a4038d" LABEL="quietty:3"
TYPE="linux_raid_member" PARTUUID="c878eefe-04"
/dev/sdb2: UUID="fb2ad272-7978-d66a-92aa-f11e6598c488"
UUID_SUB="b0240d48-a6b0-6b8e-1761-21b99796116b" LABEL="quietty:1"
TYPE="linux_raid_member" PARTUUID="c878eefe-02"
/dev/sdb3: UUID="5be537fd-deb7-2baa-6019-1d3fa8dc7267"
UUID_SUB="430cfd51-2527-fbfc-6afd-1facd9cda82e" LABEL="quietty:2"
TYPE="linux_raid_member" PARTUUID="c878eefe-03"
/dev/sdb1: UUID="fd36a04f-1e55-ea3b-bd30-1747ac5e5323"
UUID_SUB="d5574b21-6708-e703-6ac8-bbaff8c5d9c6" LABEL="quietty:0"
TYPE="linux_raid_member" PARTUUID="c878eefe-01"
/dev/md125: UUID="5108453d-57fe-4174-9d35-a7604688f1ff"
BLOCK_SIZE="4096" TYPE="ext4"
/dev/loop0: BLOCK_SIZE="2048" UUID="2025-05-26-11-36-03-00"
LABEL="RESCUE1201" TYPE="iso9660" PTUUID="3b254143" PTTYPE="dos"
/dev/sdc1: LABEL_FATBOOT="GLIM" LABEL="GLIM" UUID="E244-F931"
BLOCK_SIZE="512" TYPE="vfat" PARTUUID="cfbd527d-01"
/dev/md126: UUID="feff2889-d7ca-4bad-9c0d-52f38c5b7e89"
BLOCK_SIZE="4096" TYPE="ext4"
FDISK
[root@sysrescue ~]# fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000VN008-3CW1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe0353632
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 117186559 117184512 55.9G fd Linux raid
autodetect
/dev/sda2 117186560 156248063 39061504 18.6G fd Linux raid
autodetect
/dev/sda3 156248064 1132810239 976562176 465.7G fd Linux raid
autodetect
/dev/sda4 1132810240 1953523711 820713472 391.3G fd Linux raid
autodetect
Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000VN008-3CW1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xc878eefe
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 117186559 117184512 55.9G fd Linux raid
autodetect
/dev/sdb2 117186560 156248063 39061504 18.6G fd Linux raid
autodetect
/dev/sdb3 156248064 1132810239 976562176 465.7G fd Linux raid
autodetect
/dev/sdb4 1132810240 1953523711 820713472 391.3G fd Linux raid
autodetect
Disk /dev/sdc: 931.51 GiB, 1000204885504 bytes, 1953525167 sectors
Disk model: Expansion
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcfbd527d
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 1953523711 1953521664 931.5G b W95 FAT32
Disk /dev/md127: 55.85 GiB, 59963867136 bytes, 117116928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/md126: 18.61 GiB, 19981664256 bytes, 39026688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/md125: 391.22 GiB, 420070031360 bytes, 820449280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/md124: 465.54 GiB, 499864567808 bytes, 976297984 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.02 GiB, 1092157440 bytes, 2133120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3b254143
Device Boot Start End Sectors Size Id Type
/dev/loop0p1 * 0 2133119 2133120 1G 0 Empty
/dev/loop0p2 248 3127 2880 1.4M ef EFI (FAT-12/16/32)
Disk /dev/loop1: 903.15 MiB, 947023872 bytes, 1849656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
MDADM.CONF
/dev/md124 (/) monté sur /mnt
[root@sysrescue /mnt/etc/mdadm]# cat mdadm.conf
# mdadm.conf
#
# !NB! Run update-initramfs -u after updating this file.
# !NB! This will ensure that initramfs has an uptodate copy.
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to
scan, using
# wildcards if desired.
#DEVICE partitions containers
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
ARRAY /dev/md/0 metadata=1.2 UUID=fd36a04f:1e55ea3b:bd301747:ac5e5323
name=quietty:0
ARRAY /dev/md/1 metadata=1.2 UUID=fb2ad272:7978d66a:92aaf11e:6598c488
name=quietty:1
ARRAY /dev/md/2 metadata=1.2 UUID=5be537fd:deb72baa:60191d3f:a8dc7267
name=quietty:2
ARRAY /dev/md/3 metadata=1.2 UUID=6fa5e6c8:bc1d4f2e:28f5a35f:ad0ce707
name=quietty:3
# This configuration was auto-generated on Mon, 04 Aug 2025 16:09:52
+0200 by mkconf
[root@sysrescue /mnt/etc/mdadm]# cd /mnt
[root@sysrescue /mnt]# mount --bind /sys /mnt/sys
[root@sysrescue /mnt]# mount --bind /proc /mnt/proc
[root@sysrescue /mnt]# mount --bind /dev /mnt/dev
[root@sysrescue /mnt]# chroot /mnt /bin/bash
root@sysrescue:/# mdadm -D /dev/md126
/dev/md126:
Version : 1.2
Creation Time : Mon Aug 4 15:54:40 2025
Raid Level : raid1
Array Size : 19513344 (18.61 GiB 19.98 GB)
Used Dev Size : 19513344 (18.61 GiB 19.98 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun May 31 18:30:19 2026
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Name : quietty:1
UUID : fb2ad272:7978d66a:92aaf11e:6598c488
Events : 81
Number Major Minor RaidDevice State
0 8 18 0 active sync /dev/sdb2
1 8 2 1 active sync /dev/sda2
root@sysrescue:/# mdadm -D /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Mon Aug 4 15:54:13 2025
Raid Level : raid1
Array Size : 58558464 (55.85 GiB 59.96 GB)
Used Dev Size : 58558464 (55.85 GiB 59.96 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun May 31 23:15:57 2026
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Name : quietty:0
UUID : fd36a04f:1e55ea3b:bd301747:ac5e5323
Events : 2145
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 1 1 active sync /dev/sda1
root@sysrescue:/# mdadm -D /dev/md125
/dev/md125:
Version : 1.2
Creation Time : Mon Aug 4 15:56:11 2025
Raid Level : raid1
Array Size : 410224640 (391.22 GiB 420.07 GB)
Used Dev Size : 410224640 (391.22 GiB 420.07 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Sun May 31 23:00:19 2026
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : bitmap
Name : quietty:3
UUID : 6fa5e6c8:bc1d4f2e:28f5a35f:ad0ce707
Events : 8772
Number Major Minor RaidDevice State
0 8 20 0 active sync /dev/sdb4
1 8 4 1 active sync /dev/sda4
root@sysrescue:/# mdadm -D /dev/md124
/dev/md124:
Version : 1.2
Creation Time : Mon Aug 4 15:54:53 2025
Raid Level : raid1
Array Size : 488148992 (465.54 GiB 499.86 GB)
Used Dev Size : 488148992 (465.54 GiB 499.86 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Sun May 31 23:01:11 2026
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : bitmap
Name : quietty:2
UUID : 5be537fd:deb72baa:60191d3f:a8dc7267
Events : 12654
Number Major Minor RaidDevice State
0 8 19 0 active sync /dev/sdb3
1 8 3 1 active sync /dev/sda3
root@sysrescue:/#
amitiés
Erwann