Announcement

Collapse
No announcement yet.

software RAID

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    software RAID

    Hi,

    I got two new harddisks and used mdadm to create a mirror array:
    Code:
    mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb6 /dev/sdc6
    then I added following to my /etc/mdadm/mdadm.conf:
    Code:
    # mdadm.conf
    #
    # Please refer to mdadm.conf(5) for information about this file.
    #
    
    # by default, scan all partitions (/proc/partitions) for MD superblocks.
    # alternatively, specify devices to scan, using wildcards if desired.
    DEVICE /dev/sdb6 /dev/sdc6
    
    # auto-create devices with Debian standard permissions
    CREATE owner=reg group=reg mode=0660 auto=yes
    
    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>
    
    # instruct the monitoring daemon where to send mail alerts
    MAILADDR root
    
    # next line added by reg 09/01/2009
    ARRAY /dev/md0 devices=/dev/sdb6, /dev/sdc6
    
    # This file was auto-generated on Mon, 31 Aug 2009 20:47:31 -0700
    # modified by reg 09/01/2009
    # by mkconf $Id$
    On bootup I get told:
    mdadm: only give one device per ARRAY line: /dev/md0 and /dev/sdc6
    which i don't quite understand as I followed the instructions i found on http://linuxdevcenter.com/pub/a/linu...2/05/RAID.html

    But then also, how do I get this mounted? I did create ext 3 partitions on those disks that i can see with QtParted (showing me three disks: /dev/sda (system) /dev/sdb & /dev/sdc).
    cfdisk /dev/md0 tells me:
    FATAL ERROR: Cannot read disk drive
    Press any key to exit cfdisk


    What's going on here? What am i missing?
    Thanks!
    Ron
    roN

    http://www.inetgate.biz

    #2
    Re: software RAID

    The site you linked from which you followed instructions is nearly seven years old. You might want to review HOWTO: Linux Software Raid using mdadm over on Ubuntuforms. It's newer (April 2007).
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: software RAID

      Originally posted by Snowhog
      The site you linked from which you followed instructions is nearly seven years old. You might want to review HOWTO: Linux Software Raid using mdadm over on Ubuntuforms. It's newer (April 2007).
      I don't think the ddate really matters, I found the error, I typed one space too much in my conf:
      ARRAY /dev/md0 devices=/dev/sdb6, /dev/sdc6 should be ARRAY /dev/md0 devices=/dev/sdb6,/dev/sdc6 - it seems to work now

      Thanks anyways!

      Ron
      roN

      http://www.inetgate.biz

      Comment


        #4
        Re: software RAID

        Amazing what a little space can do!
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment

        Working...
        X