A matriz mdadm está ativa, mas não está listada

1

Estou executando o Ubuntu Server 12.04. Eu fiz o apt-get upgrade e recebi um aviso do mdadm.

update-initramfs: Generating /boot/initrd.img-3.11.0-24-generic
W: mdadm: the array /dev/md3 with UUID e3d153f0:6edf1702:1f51fb89:78ee93fe
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/mdadm/mkconf, compare
W: mdadm: it to /etc/mdadm/mdadm.conf, and make the necessary changes.
W: mdadm: the array /dev/md1 with UUID 76492e25:648c4dcd:1f51fb89:78ee93fe
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/mdadm/mkconf, compare
W: mdadm: it to /etc/mdadm/mdadm.conf, and make the necessary changes.

Meu mdadm.conf atual é:

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# 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
MAILADDR root

# definitions of existing MD arrays

# This file was auto-generated on Tue, 11 May 2010 20:53:30 +0200
# by mkconf $Id$

ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md3 level=raid1 num-devices=2 devices=/dev/sda3,/dev/sdb3

A configuração gerada por /usr/share/mdadm/mkconf é:

# 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

# 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
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md1 UUID=76492e25:648c4dcd:1f51fb89:78ee93fe
ARRAY /dev/md3 UUID=e3d153f0:6edf1702:1f51fb89:78ee93fe

O aviso diz que / dev / md1 e / dev / md3 não estão listados, mesmo que estejam na configuração. Está tudo bem mudar a configuração para o segundo ou isso vai causar problemas?

    
por Ripster 07.07.2014 / 16:47

1 resposta

1

A única diferença que vejo é esta linha:

#DEVICE partitions

Isso é comentado no arquivo de configuração gerado, mas não no seu. Eu apenas descomentei isso e confirmei as mudanças. Avisos como esse tendem a ser uma coisa de "cabeça para cima" em vez de um problema real se as configurações se alinharem.

    
por 07.07.2014 / 16:54

Tags