我刚刚更换了服务器计算机的主板、CPU 和 RAM,我真的希望 RAID 在我重新启动时能够正常工作。但是,RAID 不会出现,而且 mdadm 似乎甚至不记得它。
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
但是,mdadm.conf 文件中似乎仍然有 RAID 的记录:
$ cat /etc/mdadm/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
# This configuration was auto-generated on Wed, 25 Mar 2020 15:22:26 -0600 by mkconf
ARRAY /dev/md0 metadata=1.2 name=clover:0 UUID=87dda574:9a1f83c3:4433dd3a:4b3d9847
我尝试了所有能找到的组装和扫描命令,但都没有用
另外,mdadm 检查的内容如下:
$ sudo mdadm --examine /dev/sd[a-z]
/dev/sda:
MBR Magic : aa55
Partition[0] : 250066944 sectors at 2048 (type 83)
/dev/sdb:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
/dev/sdc:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
我确实备份了所有数据,但重新组建突袭小组会简单得多。
有任何想法吗?