Welcome to the Kuwait Linux User Group, thats dedicated to talk about Linux, BSD, and the use of open source specially for Kuwait community & others as well -- beside encouraging them to use it.
Follow Us:

August 25, 2004 11:59 AM EDT

RAID from Command Line

Author: . 8009 Reads
  Print this page   Export to PDF format   Mail to a friend

1- fdisk /dev/hda  (p, t, Partition Number, Hex Code=fd)
2- copy and edit the suitable file from /usr/share/doc/raidtools-1.00.3 to /etc/raidtab
3- mkfs -j /dev/hda4   (repeat for all new partitions)
4- mkraid -R /dev/md0   (To start RAID, repeat for all)
5- cat /proc/mdstat  (to check)
6- mkfs -j /dev/md0  (to format the RAID, repeat for all)
7- cp -r /home/mj /hometmp, mount /dev/md0 /home/mj, & cp -r /hometmp /home/mj
8- e2label /dev/md0   /home/mj   (to label)
9- vi /etc/fstab -->  LABEL=/home/mj /home/mj ext3 defaults 1 2

For more Info

Iron-Linux.com: Leading the World of Linux Networking - Based in Kuwait

Copyright © by Q8linux
All rights reserved.

Category: howto
Tags: None
Bookmark: Share/Save/Bookmark

[ Go Back ]
Content ©


What's your Favorite Mail Server(smtp)?

Lotus Notes


Votes: 102
Comments: 69

Old Articles