[SOLVED] Linux Raid Configuration
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    19
    Windows NT 10.0 Mozilla OS-Browser Compatible

    Linux Raid Configuration

    To whom may be able to help,

    I've never configured RAID in Linux, and I'm not as experienced as some of you are. I'm trying to Configure Software Raid using Red Had Linux. Here is the original command that I was trying, using an exam guide book:

    mdm --create /dev/md1 -level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1

    Initially, I got an error message that stated that mdm isn't a recognized command. I experimented, and I found out that I can use mdadm, but the error that I'm getting is:

    mdadm: invalid raid level: evel=1

    Any help with this will be greatly appreciated, regards.
    Last edited by woodstar; 20th January 2019 at 02:59 AM.

  2. #2
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    19
    Windows NT 10.0 Mozilla OS-Browser Compatible

    Re: Linux Raid Configuration

    So, I switched the command from level=1 to l1, and it seems to like that, but it's showing a different error displayed below, but I will keep working. It seems to be a syntax issue.

    mdadm: invalid raid level: evel=1
    [root@rhe17-1 ~]# mdadm --create /dev/md1 -level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
    mdadm: invalid raid level: evel=1
    [root@rhe17-1 ~]# mdadm --create /dev/mdl -l1 --raid-devices=2 /dev/sdb1 /dev/sdc1
    mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device. If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
    Continue creating array? y
    mdadm: /dev/mdl is an invalid name for an md device. Try /dev/md/mdl
    [root@rhe17-1 ~]#

  3. #3
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    19
    Windows NT 10.0 Mozilla OS-Browser Compatible

    Re: Linux Raid Configuration

    So, I did as the error message stated, and it seemed to work. As I stated, I'm new to this, but I figured it was a syntax thing. If anybody wants to explain anything like the syntax, I will keep it open for now, but I will close at some point
    Last edited by woodstar; 20th January 2019 at 02:51 AM.

  4. #4
    Join Date
    Jun 2018
    Location
    St. Thomas, US Virgin Islands
    Posts
    19
    Windows NT 10.0 Mozilla OS-Browser Compatible

    Re: Linux Raid Configuration

    After studying the config, I think that md1 was a little overkill. Perhaps the instructor's Linux had md1, but mines has md, and md127. I may leave it as is, or try to delete, and start over. I will close this thread, but anyone who has anything to add, please do, regards.

  5. #5
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    811
    Windows 7 Chrome 71.0.3578.98

    Re: Linux Raid Configuration

    Quote Originally Posted by woodstar
    -level=1
    With regards to this syntax, pretty much all Linux/Unix commands that follow standards have a long version of their flags which you would use with a double hash, e.g: "--level=1", or a compact version of the flag s such as "-l1". So with the command you used, the program is interpreting "-l" as the flag and "evel=1" as the argument for it, you either need to remove the "evel=" as you've done or add another "-".

Similar Threads

  1. Raid configuration
    By machielr in forum Hardware & Laptops
    Replies: 0
    Last Post: 19th October 2007, 08:10 AM
  2. RAID 6 Configuration
    By u_mohit in forum Hardware & Laptops
    Replies: 0
    Last Post: 19th April 2007, 04:01 PM
  3. RAID 5 Configuration
    By lvansteen in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 1st September 2005, 11:11 AM
  4. Raid 0 configuration
    By HellCoder in forum Using Fedora
    Replies: 0
    Last Post: 29th August 2005, 03:15 PM

Posting Permissions

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