Software Raid auf Strato Server

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
_ash
Beiträge: 1219
Registriert: 13.05.2005 12:35:02

Software Raid auf Strato Server

Beitrag von _ash » 16.02.2010 23:05:27

Ich habe gerade einen Strato-Server angemietet und mit der Installation von Debian begonnen. Nach einem aptitude update && safe-upgrade bekomme ich folgende Warnung:

Code: Alles auswählen

W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Kann mir jmd erklären, was genau das bedeutet und wie ich den Fehler behebe?
Die fstab dazu sieht so aus:

Code: Alles auswählen

# file system     mount point    type     options                  dump pass
/dev/md1          /              ext3     defaults                 0    0
/dev/md0          /boot          ext2     nosuid,nodev             0    2
/dev/sda2         none           swap     sw                       0    0
/dev/sdb2         none           swap     sw                       0    0
proc              /proc          proc     defaults                 0    0
Und das ist die mdadm.conf:

Code: Alles auswählen

# 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 Mon, 16 Feb 2009 19:10:41 +0100
# by mkconf $Id$
Danke.

Danielx
Beiträge: 6419
Registriert: 14.08.2003 17:52:23

Re: Software Raid auf Strato Server

Beitrag von Danielx » 16.02.2010 23:11:22

_ash hat geschrieben:Kann mir jmd erklären, was genau das bedeutet
In der Datei mdadm.conf sind die RAID-Partitionen nicht explizit eingetragen, sondern es werden alle Partitionen nach den RAID-Superblöcken durchsucht.
_ash hat geschrieben:und wie ich den Fehler behebe?
Kein Fehler, nur eine Warnung.

Mehr dazu, siehe:

Code: Alles auswählen

man mdadm.conf
Gruß,
Daniel

Mictlan
Beiträge: 596
Registriert: 03.09.2007 11:55:28

Re: Software Raid auf Strato Server

Beitrag von Mictlan » 17.02.2010 08:55:55

die Warnung bekommst du mit folgendem Statement weg:

Code: Alles auswählen

mdadm --detail --scan >>  /etc/mdadm/mdadm.conf

Antworten