Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-6) was last changed on 14-Apr-2010 14:30 by MaiantiAlberto  

This page was created on 14-Apr-2010 14:30 by MaiantiAlberto

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 38 changed one line
eseguire questi comandi per tutte le partizioni del disco nuovo (cambiando numero di partizione ovviamente!!)
eseguire questi comandi per tutte le partizioni del disco nuovo
(cambiando numero di partizione ovviamente!!)
At line 138 added 55 lines
Installiamo GRUB sul disco nuovo:
%%prettify
{{{
grub
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)
quit
}}}
/%
A questo punto è possibile effettuare un reboot.
Quando la macchina torna su bisogna effettuare ancora alcuni passaggi per aggiungere il disco origine all'array.
Cambiare il tipo di partizione in tutte le partizioni del disco origine.
%%prettify
{{{
fdisk /dev/sda
Command (m for help): <-- t
Partition number (1-4): <-- 1
Hex code (type L to list codes): <-- fd
}}}
/%
quindi aggiungere le partizioni al raid:
%%prettify
{{{
mdadm --add /dev/md0 /dev/sda1
mdadm --add /dev/md1 /dev/sda2
mdadm --add /dev/md2 /dev/sda3
}}}
/%
A questo punto il software RAID ricostruirà l'array che tornerà nello stato optimal.
Come ultimo passaggio bisogna rendere avviabile anche il secondo disco da GRUB questo è molto semplice basta aggiungere un kernel con hd0.
Quindi bisogna aggiornare la configurazione di mdadm:
%%prettify
{{{
cp /etc/mdadm/mdadm.conf_orig /etc/mdadm/mdadm.conf
mdadm --examine --scan >> /etc/mdadm/mdadm.conf
}}}
/%
Il sistema è ora funzionante con un raid software RAID-1.
Le informazioni sono state prese da: [How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration)|http://www.howtoforge.com/software-raid1-grub-boot-debian-etch]
At line 141 changed one line
# cat /proc/mdstat
cat /proc/mdstat
At line 161 changed 2 lines
# mdadmd start
# sysv-config
mdadmd start
sysv-rc-config
Version Date Modified Size Author Changes ... Change note
6 14-Apr-2010 14:30 5.05 kB MaiantiAlberto to previous
5 14-Apr-2010 14:30 3.699 kB Daloch to previous | to last
4 14-Apr-2010 14:30 2.914 kB MaiantiAlberto to previous | to last
3 14-Apr-2010 14:30 2.855 kB MaiantiAlberto to previous | to last
2 14-Apr-2010 14:30 1.63 kB MaiantiAlberto to previous | to last
1 14-Apr-2010 14:30 1.614 kB MaiantiAlberto to last
« This page (revision-6) was last changed on 14-Apr-2010 14:30 by MaiantiAlberto