Mailinglist Archive: opensuse-amd64 (84 mails)

< Previous Next >
RAID not starting at boot time & superblock errors
  • From: "James D. Parra" <Jamesp@xxxxxxxxxxxxxxxx>
  • Date: Fri, 17 Feb 2006 17:58:33 -0800
  • Message-id: <531F1E080638384C9623B00D71AA546D09EBA6@xxxxxxxxxxxxxxxxxxxxxxxxx>
Okay, did a lot of digging around and I found a few things. Checked
/etc/mdadm.conf and found that it had the old data for a previous RAID and
not the current info. Corrected the devices and changed the UUID from the
output shown from running 'mdadm --detail /dev/md0'.

dmesg shows the following;

SCSI device sdb: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
Vendor: ATA Model: WDC WD740GD-50FL Rev: 31.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdc: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdc: drive cache: write back
sdc: sdc1
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0, type 0
Vendor: ATA Model: WDC WD740GD-50FL Rev: 31.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdd: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdd: drive cache: write back
SCSI device sdd: 145226112 512-byte hdwr sectors (74356 MB)
SCSI device sdd: drive cache: write back
sdd: sdd1
Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg3 at scsi4, channel 0, id 0, lun 0, type 0

However, upon bootup the following info scrolls by;

md: md0 stopped
Initializing Multiple Devices
mdadm: no device found for /dev/md0
md: Auto detecting RAID arrays
md: autorun
md: ..autorun done.
mount: /dev/md0: can't read superblock

Although, after logging in and running 'mdadm --assemble --scan' the RAID
starts and it can be mounted.

Fdisk shows all three drives with an ID of 'fd', for a Linux RAID
Autodetect.

Any ideas on how I can have device md0 start at boot time?

Many thanks,

James






James

< Previous Next >
This Thread
  • No further messages