Re: Boot su Raid Software
On Thu, Sep 19, 2002 at 11:11:12AM +0200, Bernoni wrote:
> Innanzitutto grazie per l'aiuto, ma purtroppo ho fatto entrambe le cose!
> Non so se ti è mai capitato di leggerlo:
> http://www.arcetri.astro.it/irlab/softir/Linux-Howto/Software-RAID.HOWTO.it-
> 4.html
L'HOWTO e' ben fatto, ma un po' vecchiotto, a dire il vero.
Ad ogni modo, io ci sono riuscito: ti allego la parte rilevante del mio
lilo.conf e l'/etc/raidtab.
Ricordati, come ha detto Francesco, di marcare le partizioni 0xFD.
--- lilo.conf ---
# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/md1
raid-extra-boot="/dev/sda,/dev/sdb"
# Specifies the device that should be mounted as root. (/')
#
root=/dev/md0
--- end lilo.conf ---
--- /etc/raidtab ---
# RAID-1 configuration
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
device /dev/sdb6
raid-disk 0
device /dev/sda6
raid-disk 1
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
device /dev/sdb5
raid-disk 0
device /dev/sda5
raid-disk 1
(in realta' le partizioni sono 6, ma penso che come esempio basti)
--- end /etc/raidtab ---
Come riferimento, per il setup del tutto ho usato il "metodo 2" dell'HOWTO,
simulando il disk failure del primo device e aggiungendolo in seguito con il
raidhotadd.
--
BlueRaven
There are only 10 types of people in this world...
those who understand binary, and those who don't.
Reply to: