From: Marble Head <Marble.Head@nospam.guacamole.com>
Subject: Re: Problems with Roor RAID
Date: 2000/10/11 [thread overview]
Message-ID: <39E4AC1A.AD1B97D8@nospam.guacamole.com> (raw)
In-Reply-To: 8s16o4$9c1$1@talia.mad.ttd.net
I think that your problem has nothing to do with raid. If hurried, just read
the last sentence and skip all the rest.
A few things, just to make sure I understand:
- You don't intend to stripe the root or boot partition.
- You will have two separate copies of the root partition (/dev/sda1 /dev/sdb1),
and you will only mount one of them. Presumably, this is for redundancy and
security of your data.
- You will have two separate copies of the boot partition (/dev/sda2 /dev/sdb2),
and you will only mount one of them. Presumably, this is for redundancy and
security of your data.
- I'm surprised that DKC0 corresponds with sda1.
A few things, just to make sure you understand:
- Some people say that you should never use the first or last cylinder of a
disk. This is a very small loss, and even if it's false, it doesn't hurt to do
it.
- SRM cannot mount anything.
- (Usually) SRM loads aboot. aboot can read ext2 or simply move to the next
sector. It needs to find a kernel. Your kernel must have RAID support, and
must have auto RAID support. See the Software RAID HOWTO. There are at least 3
howto's about raid, boot raid, and boot root raid.
- Assuming you want to use aboot, you need to use swriteboot to make a disk
bootable. This will clobber some of the first cylinder. Until you do this, SRM
will always say "not a valid boot block" Performing this task has nothing to do
with RAID.
"Javier Pe�a" wrote:
> Hi all
>
> Here I'm again with RAID problems.
>
> I decided to make a software root RAID in alpha.
>
> I have the following:
>
> /dev/sda .... partition 1: boot; partition 2: swap; partition 3: Raid
> autodetected
> /dev/sdb .... partition 1: boot; partition 2: swap; partition 3: Raid
> autodetected
>
> /dev/sdc temporal disk with inital installation.
>
> I make the raid, then format it (everything is ok), mount the raid in
> /raidtmp/, copy everything to /raidtmp
>
> I copy the boot directory to sda1 and sdb1, edit the fstab.
>
> When I reboot, from the SRM console I try to boot from sda (DKC0) but it
> always says that is not a valid block device.
>
> Thank you for your help.
>
> -----------------------
> Javier Pe�a
prev parent reply other threads:[~2000-10-11 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-11 4:00 Problems with Roor RAID Javier Pe�a
2000-10-11 4:00 ` Marble Head [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox