Festplatten sind immer "busy", RAID1 Problem

amöbe

amöbe

Tripel-As
Hi,

ich hab ein Problem mit meinen Festplatten. Ich hab ein neues Mainboard und seitdem zeigt debian beim booten immer:

fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?
fsck.ext3: Device or resource busy fsck.ext3: Device or resource busy while trying to open /dev/sda6
Filesystem mounted or opened exclusively by another program?
while trying to open /dev/sdb5
Filesystem mounted or opened exclusively by another program?
/dev/md0: clean, 321/51879936 files, 3308248/207519600 blocks
fsck died with exit status 8

Also ist ein Software-RAID1. Ich hab irgendwie das Gefühl die Partitionen sind durcheinander gekommen oder so. Auf jeden Fall werden sdb5 und sda6, die als raid markiert sind immer auf 2 unterschiedlich Ordner versucht zu mounten, die Ordner sind dann leer. Die md0 Partition ist aber trotzdem da (und benutzbar).

Ja irgendwie weiß ich jetzt nicht so recht, was ich da machen soll, wäre um Hilfe dankbar.

Hier mal die Konfigurationsdateien etc. die angelegt wurden:

cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb5[0] sda6[1]
830078400 blocks [2/2] [UU]

unused devices: <none>
cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 errors=remount-ro 0 1
/dev/sda1 /boot ext2 defaults 0 2
/dev/md0 /home ext3 defaults 0 2
/dev/sdb5 /home/backups ext3 defaults 0 2
/dev/sda6 /home/sharing ext3 defaults 0 2
/dev/sda2 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
fdisk -l

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00039522

Device Boot Start End Blocks Id System
/dev/sda1 6114 182401 1416033360 5 Extended
/dev/sda5 109456 182401 585938745 83 Linux
/dev/sda6 6115 109454 830078518+ fd Linux raid autodetect

Partition table entries are not in disk order

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000edf1f

Device Boot Start End Blocks Id System
/dev/sdb1 1 31 248976 83 Linux
/dev/sdb2 32 1368 10739452+ 82 Linux swap / Solaris
/dev/sdb3 * 1369 2219 6835657+ 83 Linux
/dev/sdb4 2220 178505 1416017295 5 Extended
/dev/sdb5 2220 105559 830078518+ fd Linux raid autodetect
/dev/sdb6 105560 178505 585938713+ 83 Linux

Disk /dev/md0: 850.0 GB, 850000281600 bytes
2 heads, 4 sectors/track, 207519600 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table
mount -l
/dev/sda3 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /home type ext3 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/hda on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=icke) [CDROM]
 
Heißer Tipp:

Der Eintrag in der fstab ist falsch.
 
Fast perfekt, danke! Also die Dateien werden jetzt wieder alle richtig angeizegt, nachdem ich etwas rumprobiert habe, welche Partition nun in welchen Ordner muss.

Aber irgendwie hat debian beim booten immer noch Probleme. Die Fehlermeldungen sind allerdings kürzer geworden:

Log of fsck -C -R -A -a
Sun May 3 06:19:25 2009

fsck 1.41.3 (12-Oct-2008)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?
/dev/sdb6: clean, 14/36626432 files, 2349354/146484678 blocks
/dev/sda5: clean, 24/36626432 files, 2349364/146484686 blocks
/dev/md0: clean, 603/51879936 files, 3314045/207519600 blocks
fsck died with exit status 8

Sun May 3 06:19:26 2009

Kann jemand was damit anfangen?
 
Ist immer noch 'n Fehler drin. /boot ist mit Sicherheit nicht /dev/sda1.
 
Zuletzt bearbeitet:
Ah ok, jetzt macht das ganze irgendwie auch Sinn... offensichtlich hat sich sda und sdb überall getauscht.
Danke!
[SOLVED]
 

Ähnliche Themen

SSD auf einen (geringfügig) kleineren USB-Stick wiederherstellen

CentOS 6 - Kernel crashes mit 2.6.32-573.*

Raid-1 einrichten

Software RAID 1 verkleinern

Neue Partition unter openSUSE 12.2 erstellen

Zurück
Oben