Re: Mdadm not starting at boot



you know I had/have the same problem ...

I finally broke down and wrote my own init script that I run in
runlevels 2-5 that basically has

mdadm -A -s
vgscan
vgchange -A y

And then my mounts in it ... I run it as an S19 so it starts right
before Samba and NFS which are what my raid array exports.

As for the bad superblock, it could be a hardware problem, or it could
be the power issues you've had ... if it persists even with clean
shutdowns, I'd start looking at the hardware. Hope that helps.

H

On Thu, Dec 08, 2005 at 02:42:55AM -0500, Hal Vaughan wrote:
> I have two systems, both freshly installed Sarge systems, both with a RAID 5
> array (3 drives plus a spare each). One is working perfectly. The other has
> a problem whenever it boots (and I've had a number of power failures lately).
> When the system boots, the RAID is not started. I have to run mdrun to start
> the RAID. Once it's started, when I try mounting it, I always get a message
> that it has a bad superblock. I have to run fsck, which fixes it, and then I
> can mount it and it works fine.
>
> I tried dpkg-reconfigure and specifically told it to start on boot and to
> start the monitor on boot, but that hasn't helped. This array, when running,
> is a 290GB RAID, so it takes a long time to fsck and it currently holds 115GB
> of data.
>
> So why won't this RAID restart on boot when the other does?
>
> Thanks for any help!
>
> Hal
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
> with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
>

--
Hank Marquardt <hank@xxxxxxxxxx>
http://web.yerpso.net
GPG Id: 2BB5E60C
Fingerprint: D807 61BC FD18 370A AC1D 3EDF 2BF9 8A2D 2BB5 E60C


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Problems with software RAID on SATA
    ... Connected to this are two 320GB drives ... >>which I want to turn into a RAID1 array. ... >>I'm almost certain it's a problem with initting the RAID arrays at boot. ...
    (Debian-User)
  • Re: M2N-SLI Deluxe Raid setup questions
    ... I had assumed that since Windows recognized my array at one time that it should work. ... For #4, After I built the RAID array, I had to unplug the IDE drive (the original boot drive) for the RAID array to boot. ... Then I added two WD 250 GB SATA drives and after a little futzing around I got them configured. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: how to select the boot RAID-1 set
    ... But the BIOS defines as boot set A, and I do not know how to boot from ... So did a search for "setting boot drive on adaptec raid 2100s" in ASK database. ... When a RAID array is created, a LSU is assigned to it. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: mkraid could not lock sda2
    ... are you able to initialize the array ... You can't get the sda2 array to come up until you boot without ... I forgot your ultimate goal here, but if you want to use raid for your root ... add your "damaged" disks to the array ...
    (Debian-User)
  • Re: 2003 OS Server Hard drive install limit.
    ... a Hardware Raid problem I wasn't able to recover from. ... software Raid beacause of the boot drive or other softwaare issues that I ... >> To make informed disk array purchase decisions, ...
    (microsoft.public.windows.server.sbs)