a question on building a raid on slackware

Discussion in 'Linux & BSD' started by Dark Atheist, Nov 4, 2007.

  1. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    i have 4 discs i want to use as riad - i select fd in cfdisk and make the raid according to the raid howto and all seems ok - it doesnt seem to be building the arry though, if my memory serves me from last time as soon as i made and started the arry it said it was building the arry

    steps i took

    1. fdisked all drives to fd
    2. mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdac1 /dev/sdd1
    3. added ARRAY /dev/md0 level=raid0 num-devices=4 UUID=1a082597:b93e0ebd:c8a5f07f:699e61c4 - to /etc/mdadm.conf
    4. formated the arry and rebooted.

    it starts when the pc starts (i can see that from looking when it boots and from logs)

    out put of mdadm -D /dev/md0 - shows

    /dev/md0:
    Version : 00.90.03
    Creation Time : Thu Nov 1 18:03:39 2007
    Raid Level : raid0
    Array Size : 712385920 (679.38 GiB 729.48 GB)
    Raid Devices : 4
    Total Devices : 4
    Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 1 19:48:24 2007
    State : clean
    Active Devices : 4
    Working Devices : 4
    Failed Devices : 0
    Spare Devices : 0

    Chunk Size : 64K

    UUID : 1a082597:b93e0ebd:c8a5f07f:699e61c4
    Events : 0.17

    Number Major Minor RaidDevice State
    0 8 1 0 active sync /dev/sda1
    1 8 17 1 active sync /dev/sdb1
    2 8 33 2 active sync /dev/sdc1
    3 8 49 3 active sync /dev/sdd1

    i notice it shows clean so is it a case that its built it transparently ? and i have nothing to worry about