bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB and RAID 1--discs out of sync after install


From: Gerard W. Patterson
Subject: Re: GRUB and RAID 1--discs out of sync after install
Date: Tue, 20 Nov 2001 14:03:56 -0700
User-agent: Mutt/1.3.20i

Ok, after thinking about this I realized what was happening.  The paramenter
that I was specifying as the root partition in GRUB was getting passed to
the kernel, overriding the /etc/fstab.  

So I added then parameter 'root=/dev/md0' to the kernel line in the grub
shell and the system boots now.  One thing I noticed was the entry in the
/proc/mounts now is this:

/dev/md/0 / xfs rw 0 0. 

I'm not sure what the forwardslash in front of the zero is but it doesn't seem
to affect anything.  Also, when running mount, the root partition is
reported to mount under '/dev/mo0' instead of '/dev/md0'.

My last test is to attempt to boot off the second drive and run in degraded
mode.

Regards,

  Gerry



On Tue, Nov 20, 2001 at 12:31:03PM -0700, Gerard W. Patterson wrote:
> Sorry I forgot to mention the kernel I was using.  It is the 2.4.14-xfs
> kernel from SGI under Debian/Sid.
> 
> Something else I have discovered.  The boot array '/dev/md0' is being
> described as '/dev/mo0' when I run the mount command.  This is strange, no?
> What is '/dev/mo0' I have also checked the /proc/mounts entry and get the
> following described as the root partition:
> 
> /dev/scsi/host0/bus0/target1/lun0/part1 / xfs rw 0 0
> 
> This agrees with the activity light as this is the SCSI id of my second
> drive.  However, I did specify (hd0,0) as the root under GRUB.  If anything
> I would think that this would be /dev/scsi/host0/bus0/target0/lun0/part1
> which is the SCSI ID of my first drive (hd0,0).
> 
> Just more info for someone who has more experience than me at this.
> 
> Regards,
> 
>   Gerry
> 
> -- 
> Gerard W. Patterson, B.Sc           |   Computalog Ltd.
> Software Engineering                |   Edmonton, AB
> <address@hidden>    |   Canada
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub

-- 
Gerard W. Patterson, B.Sc           |   Computalog Ltd.
Software Engineering                |   Edmonton, AB
<address@hidden>    |   Canada



reply via email to

[Prev in Thread] Current Thread [Next in Thread]