Remove disk:
# mdadm /dev/md2 –fail /dev/hda3
Add disk:
# mdadm /dev/md2 -a /dev/hda3
Check rebuild status:
# wacth -n 0.1 ‘cat /proc/mdstat’
Stop raid device
# mdadm /dev/md2 –stop
Start raid devices (config in /etc/mdadm.conf)
# mdadm -A -s
Remove disk:
# mdadm /dev/md2 –fail /dev/hda3
Add disk:
# mdadm /dev/md2 -a /dev/hda3
Check rebuild status:
# wacth -n 0.1 ‘cat /proc/mdstat’
Stop raid device
# mdadm /dev/md2 –stop
Start raid devices (config in /etc/mdadm.conf)
# mdadm -A -s
Steps to take to add a project named ‘test’:
Usefull to start with:
git config --global user.name "Olivier Van Acker"git config --global user.email cyberroadie_@_gmail.com Or add this info under [user] in .gitconfig file in your home directory like this:[user] name = Olivier Van Acker email = cyberroadie_@_gmail.com Creating and adding the project:
(http://www.kernel.org/pub/software/scm/git/docs/hooks.html)
git push --force --all ssh://www.cyberroadie.org/var/git/test.git
Based on the GIT cheat sheet: http://www.gnome.org/~federico/misc/git-cheat-sheet.txt