* Problems with Roor RAID
@ 2000-10-11 4:00 Javier Pe�a
2000-10-11 4:00 ` Marble Head
0 siblings, 1 reply; 2+ messages in thread
From: Javier Pe�a @ 2000-10-11 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Problems with Roor RAID
2000-10-11 4:00 Problems with Roor RAID Javier Pe�a
@ 2000-10-11 4:00 ` Marble Head
0 siblings, 0 replies; 2+ messages in thread
From: Marble Head @ 2000-10-11 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-11 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-11 4:00 Problems with Roor RAID Javier Pe�a
2000-10-11 4:00 ` Marble Head
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox