fritzbee21
Hacker
ich habe wie in
http://www.linux-club.de/viewtopic.php?f=4&t=97073
beschrieben, meine 120 gb Platten gegen 500er getauscht, dabei sind mir einige komische Dinge an meinem Raid 1 aufgefallen, das ich 2005 mit yast (suse 10.0) erstellt hatte.
meine menu.lst
hat unter resume kein mdxyz sondern noch resume=/dev/hdc1 bzw resume=/dev/hdb1 drin .. wobei hdb1/hdb1 aber der swap bereich ist
schaut soweit gut aus NUR
in der mdadm.conf fehlt das
??
außerdem habe ich noch nie eine email bekommen, Postfix ist installiert.
Sendet der mdadm die Fehlermail nicht über Postfix nach extern ?
die Ausgabe
schaut aber gut aus
http://www.linux-club.de/viewtopic.php?f=4&t=97073
beschrieben, meine 120 gb Platten gegen 500er getauscht, dabei sind mir einige komische Dinge an meinem Raid 1 aufgefallen, das ich 2005 mit yast (suse 10.0) erstellt hatte.
meine menu.lst
Code:
cat menu.lst
# Modified by YaST2. Last modification on Mi Dez 21 17:53:46 CET 2005
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,1)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,1)
kernel /boot/vmlinuz root=/dev/md0 vga=0x317 selinux=0 resume=/dev/hdc1 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: SUSE LINUX 10.0 (/dev/hdb2)###
title SUSE LINUX 10.0 (/dev/hdb2)
root (hd0,1)
kernel (hd0,1)/boot/vmlinuz root=/dev/md0 vga=0x317 selinux=0 resume=/dev/hdb1 splash=silent showopts
initrd (hd0,1)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,1)
kernel /boot/vmlinuz root=/dev/md0 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: 2.6.13-15-default###
title 2.6.13-15-default
root (hd1,1)
kernel /boot/vmlinuz-2.6.13-15-default root=/dev/md0 vga=0x317 selinux=0 resume=/dev/hdb1 splash=silent showopts
initrd /boot/initrd-2.6.13-15-default
hat unter resume kein mdxyz sondern noch resume=/dev/hdc1 bzw resume=/dev/hdb1 drin .. wobei hdb1/hdb1 aber der swap bereich ist
Code:
fdisk -l
Disk /dev/hdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 113 907641 82 Linux swap / Solaris
/dev/hdb2 * 114 60801 487476360 fd Linux raid autodetect
Disk /dev/hdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 113 907641 82 Linux swap / Solaris
/dev/hdc2 * 114 60801 487476360 fd Linux raid autodetect
Disk /dev/md0: 499.1 GB, 499175718912 bytes
2 heads, 4 sectors/track, 121869072 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System
Code:
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdc2[1] hdb2[0]
487476288 blocks [2/2] [UU]
unused devices: <none>
Code:
cat /etc/mdadm.conf
DEVICE /dev/hdb2 /dev/hdc2
ARRAY /dev/md0 level=raid1 UUID=2ef91f93:774e7737:150f657e:7469ca8b
MAILADDR email@gmx.de
in der mdadm.conf fehlt das
Code:
num-devices=2
außerdem habe ich noch nie eine email bekommen, Postfix ist installiert.
Sendet der mdadm die Fehlermail nicht über Postfix nach extern ?
die Ausgabe
Code:
mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.02
Creation Time : Sun Oct 23 19:25:36 2005
Raid Level : raid1
Array Size : 487476288 (464.89 GiB 499.18 GB)
Device Size : 487476288 (464.89 GiB 499.18 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Tue Dec 16 13:29:25 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 2ef91f93:774e7737:150f657e:7469ca8b
Events : 0.14343118
Number Major Minor RaidDevice State
0 3 66 0 active sync /dev/hdb2
1 22 2 1 active sync /dev/hdc2