Results 1 to 10 of 58

Thread: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Beans
    61

    mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    I recently set up a software raid1 array and instead of seeing /dev/md0 as I expected, I saw /dev/md_d0 and /dev/md_d0p1-p4 show up. Had I only seen md_d0, I would guess that the addressing had just changed since the last time I set up software raid (ubuntu 6.06). The other entries leave me wondering, though.

    Could anyone shed some light on this apparent change? I haven't seen any information on it no matter how hard I look.

  2. #2
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,566
    Distro
    Ubuntu Development Release

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    Do you recall what command you used to create the array?
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,16G RAM | Dell Laptop 11.6" N3050.
    Oracle VBox w/ WinXP/Win8 running Xara Designer, PaintShopPro, and InDesign CS.

  3. #3
    Join Date
    Apr 2009
    Beans
    130

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    Could anyone shed some light on this apparent change? I haven't seen any information on it no matter how hard I look.
    That looks like the format for a partitionable raid array. If you created it with -a or --auto options, you might get that.

    I'm not sure what the pros or cons are of setting up the array that way.

  4. #4
    Join Date
    Dec 2005
    Beans
    61

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    I can't believe my history goes back this far. It should have been:

    Code:
    sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
    It looks like I tried it a couple of times in different ways, though... I had gotten some errors saying that /dev/sdb1 or /dev/sdc1 were busy and couldn't be opened. I'm guessing the raid had already started syncing and I wasn't aware.

    At any rate, those were the only switches I used. That I know for sure.

  5. #5
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,566
    Distro
    Ubuntu Development Release

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    Were the drives, partitions ever used in a raid array before? If so, were the superblocks zeroed before you used the --create command?

    Can you simply start over?
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,16G RAM | Dell Laptop 11.6" N3050.
    Oracle VBox w/ WinXP/Win8 running Xara Designer, PaintShopPro, and InDesign CS.

  6. #6
    Join Date
    Dec 2005
    Beans
    61

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    I zeroed the superblock a couple of times, but it just kept coming out that way.

    I was able to use /dev/md_d0 as the raid device. I'm really more interested in finding out what's behind this than coming up with a resolution. There's obviously something going on that could be really useful to know about.

    Thanks for all of the input so far, btw.

  7. #7
    Join Date
    Apr 2009
    Beans
    130

    Re: mdadm creates /dev/md_d0 and /dev md_d0p1-p4

    What's in /etc/mdadm/mdadm.conf?

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
  •