SV: Boot + Root + Raid + Silo (instead of Lilo)

Fredrik Pettai <[email protected]>
Newsgroups gmane.linux.suse.sparc
Message-ID <67CD8E4253F9D41182BB0002B3151E5A3C3F0F@QUEENS>
Ok.

Then making a mirrored / (root) partition, according to RAID HOWTO...

- Make partitions on the (empty) mirrordisk
- Make the partition type to RAID (8e?)
- Make filesystems, mount as raid
- Copy all files to the mirrordisk.
- Make the nessesary changes in Silo.conf, fstab, raidtab etc. on the
mirrordisk
- Install Silo on mirrordisk
- Boot up on the mirrordisk (which is configured as RAID?)
- Change the state in RAID of the orginal disk from "broken" to "good"

QUESTION1: Is this the preferable way to do it??? Or are there any easier
way???
( I only have to disks )

QUESTION2: Can (anybody) show me a good example of the silo.conf with RAID
configured.
( Some of the options in the Boot+Root+RAID+Lilo HOWTO doesn't work in silo,
which makes me chick-out :-) 

QUESTION3: Should or could i mirror the /boot and swap? RAID HOWTO doesn't
recommend mirroring the swap, so i that maybe answers half the question...


Well, heres some info on my system:

Sparc 5. to internal disks...
SuSE dist version i'm running is 7.3.
The kernel version is the included 2.2.20 with RAID support compiled in
staticly.

fdisk -l /dev/sda looks like this:

Disk /dev/sda (Sun disk label): 16 heads, 135 sectors, 3880 cylinders
Units = cylinders of 2160 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0        24     25920   83  Linux native
/dev/sda2  u         24       267    262440   82  Linux swap
/dev/sda3  u          0      3880   4190400    5  Whole disk
/dev/sda4           267      3586   3584520   83  Linux native
/dev/sda5          3586      3880    317520   83  Linux native

And mounted like this:

/dev/sda1 is /boot
/dev/sda4 is / (root)
/dev/sda5 is /var

(just say if you need more info from me...)

TIA,
Fredrik


> 
> Fredrik Pettai wrote:
> 
> > 
> > I'm using a old Sparc5 with to scsi-disk on target 3 and 1.
> > The disk have the same geometry (and size of course)...
> 
> 
> I have the same setup, but with RAID0 rather than RAID1.
> 
> It's been a year and a bit since i set it up, so my memory 
> would not be 
> good enough to write a howto, but if you describe the 
> problems you are 
> having perhaps i can help.  I just followed the instructions 
> in the root 
> on RAID howto.
> 
> I've got /dev/sda and /dev/sdb
> 
> sda1 = swap
> sda2 = raid
> sda3 = whole disc
> sdb1 = swap
> sdb2 = boot
> sdb3 = whole disc
> sdb4 = raid
> 
> 
> silo is installed into sdb3
> For a reliable mirror setup you would want to duplicate the boot 
> partition on both discs, and install silo to both discs.
> 
> I found that raid autodetection doesn't work on sparc so my silo.conf 
> contains
> 
> append=" md=0,/dev/sda2,/dev/sdb4"
> 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.