On Fri, 07 Jan 2005 16:35:17 -0800, David Busby <[EMAIL PROTECTED]> wrote:
> David Busby wrote:
> > List,
> >   I had a power failure today, no UPS.  I had my gentoo box setup to use
> > raid on /dev/md1 and /dev/md0.  I have devfs on.  When I reboot my
> > system cannot find /dev/md1, but can find /dev/md0.  /etc/raidtab is OK,
> > if I boot off the livecd (2004.3) I can say raidstart /dev/md0 and
> > /dev/md1, file system is intact (sweet!) and all that.  So how do I make
> > the devfs see my /dev/md1 file?  Making the file in /mnt/gentoo/dev/
> > when booting from the livecd doesn't persist when I reboot cause devfs
> > is overwriting it.  Help!  I need devfs to make /dev/md1 properly, ideas?
> >
> > /djb
> >
> 
> So now I've discovered that devfs used /dev/md/0 and /dev/md/1  My
> rootfs is on /dev/md/1.  I edited /etc/raidtab and /etc/fstab to reflect
>    this fact.  No when I reboot I can successfully remount root
> (/dev/md/1) rw,noatime (ext3).  But when /etc/init.d/checkfs runs it
> tries to start up the raid devices (via raidstart) that are already
> running and mounted and states that /dev/md/1 is not valid RAID0
> device!, but it is and is currently mounted and useable.  I tried to
> chmod 0444 /etc/init.d/checkfs to stop it from doing this nonsense but
> to no avail.  What should I try now?  My raid is in good shape, but
> can't boot.
> 
> /djb
> 
> --
> [email protected] mailing list
> 
> 

If you're not familiar with mdadm I highly recommend that you and
anyone else running md devices emerge this tool.  The tool is pretty
easy to use so I won't go into any details on this list.  But with it
you should be able to inspect and rebuild your md devices.  It has
saved me a couple of times with my RAID5 md devices.
-- 
David Miller

--
[email protected] mailing list

Reply via email to