2017-01-28 4 views
0

Wenn ich einen Scan in mdadm laufen bekomme ich diese Meldung:mdadm: unreconised Wort auf DEVICE Linie

[email protected]:/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 

Die Inhalte meiner /etc/mdadm/mdadm.conf Datei sieht wie folgt aus:

# 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 

Ist es ein Syntaxfehler? Oder was könnte es sein?

Soweit Funktionalität funktioniert das RAID-Array gut, was ich sagen kann. Es ist montiert und ich kann es benutzen.

Ich würde mich jedoch wohler fühlen, wenn ich herausfinden könnte, was diese Nachricht verursacht.

Antwort

0

Nach der Manpage von mdadm.conf, muss das Gerät Zeile in dem Format:

DEVICE /dev/hda* /dev/hdc* 
DEV /dev/sd* 
DEVICE /dev/disk/by-path/pci* 
DEVICE partitions 

Der Standard DEVICE partitions containers ist, was bedeutet, im Grunde alle Partition scannen und alle RAID-Arrays suchen Array Mitglieder. Es scheint nicht, dass UUID ein gültiger Bezeichner ist, wie er in/etc/fstab verwendet werden kann. Normalerweise müssen Sie die Festplatten nicht angeben, da die DEVICE-Zeile nur das Gerät scannt, das nach einem Array-Mitglied sucht, und nicht erfordert, dass es Teil eines Arrays ist. Wenn Sie die Geräte angeben müssen, suchen Sie einen geeigneten Symlink in /dev/disks/by-*/ zu verwenden.