当我在 mdadm 中运行扫描时,我收到以下消息:
me@server:/sbin$ mdadm --monitor --scan
mdadm: unreconised word on DEVICE line: UUID=8eac0a3d-a22c-1a92-6ed9-f147f3dea64f
mdadm: unreconised word on DEVICE line: UUID=246226d0-a621-7f34-87b6-ff33b5c55906
mdadm: unreconised word on DEVICE line: UUID=52e1afa6-3ca6-a96e-f3dc-99bd0f56e878
mdadm: unreconised word on DEVICE line: UUID=16843e03-f177-97ef-07a7-6d761de9e99b
mdadm: must be super-user to perform this action
我的 /etc/mdadm/mdadm.conf 文件的内容如下所示:
# mdadm.conf
#
# 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
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
# definitions of existing MD arrays
# This file was auto-generated on Tue, 09 Dec 2014 22:43:32 +0100
# by mkconf $Id$
#DEVICE /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
#ARRAY /dev/md0 level=raid10 devices=/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1
#DEVICE /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
#ARRAY /dev/md0 level=raid10 devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1
#Use UUID so that we don't have to manually assemble the raid array
#each time the mount points change, since UID always stays the same
DEVICE UUID=8eac0a3d-a22c-1a92-6ed9-f147f3dea64f UUID=246226d0-a621-7f34-87b6-ff33b5c55906 UUID=52e1afa6-3ca6-a96e-f3dc-99bd0f56e878 UUID=16843e03-f177-97ef-07a7-6d761de9e99b
ARRAY UUID=bc6fa71d-d452-4cf1-ad73-a3de424c078d level=raid10 devices=UUID=8eac0a3d-a22c-1a92-6ed9-f147f3dea64f,UUID=246226d0-a621-7f34-87b6-ff33b5c55906,UUID=52e1afa6-3ca6-a96e-f3dc-99bd0f56e878,UUID=16843e03-f177-97ef-07a7-6d761de9e99b
是语法错误吗?或者它可能是什么?
就功能而言,据我所知,RAID 阵列运行良好。它正在安装,我可以使用它。
但是,如果我能找出导致该消息的原因,我会感觉更舒服。