Results 1 to 3 of 3

Thread: how to setup up raid in existing linux box

  1. #1

    how to setup up raid in existing linux box

    how to setup up raid in existing linux box? I just know how to do it during install a new linux box.

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    Marco,

    Start with this link fro software RAID. Hope it helps.

    http://www.linuxhomenetworking.com/linux-adv/raid.htm

  3. #3
    You should run following command:

    fdisk /dev/hda
    .....
    Disk /dev/hda: 40.0 GB, 40060403712 bytes
    255 heads, 63 sectors/track, 4870 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 83 Linux
    /dev/hda2 14 2180 17406427+ 83 Linux
    /dev/hda3 2181 2320 1124550 82 Linux swap

    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Selected partition 4
    First cylinder (2321-4870, default 2321):
    Using default value 2321
    Last cylinder or +size or +sizeM or +sizeK (2321-4870, default 4870): +200M (What you want !!!)
    Command (m for help): p
    Command (m for help): t
    Partition number (1-4): 4
    Hex code (type L to list codes): fd
    Command (m for help): w

    After that run reboot command to effect the harddisk ....

    NOTE: If you have another disk like hdb apply this command on /dev/hdb

    Have fun !!!

    lynOS
    ------------
    www.lynos.net

Similar Threads

  1. any one know linux raid partation
    By vaibhav dadhich in forum Redhat / Fedora
    Replies: 2
    Last Post: 12-26-2006, 01:03 PM
  2. Partition scheme for HUGE RAID setup...?
    By tarballed in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-03-2003, 12:41 AM
  3. Linux not recognizing raid...
    By egoadk in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 07-20-2002, 02:10 AM
  4. Connecting new Linux box to existing network
    By csmithxy in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 04-24-2002, 05:08 PM
  5. Software RAID in Linux
    By in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 04-11-2002, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •