RAID state "false".

  • Hello,


    I haven't been able to find another thread here that resolves my problem but apologise if it has been covered and I just didn't find it.


    This thread: problems to create clean RAID 1 is the closest I've found to my issue but the solution (use the wipe tool) didn't resolve my issue.


    I've just installed OMV (I tried FreeNAS but had issues when the discs started getting full) on my HP Microserver Gen10 and am trying to setup my RAID sets. I have a pair of 500GB discs and I was able to mirror those with no problem. I also have a pair of 2TB discs in there which I also want to mirror and this is where it fails. I have used the "wipe" tool in "Physical Discs" but when I try and create a mirror it creates one of a size 1.82 TB which it then spends a couple of hours resyncing, this is /dev/md1 but it also spawns a mirror 1.23 TB in size called /dev/md1p2 and that has a status of "false". When the 1.82 TB mirror finished resyncing I tried deleting the 1.23 thing but that deleted both of them. I'll see if I can attach a screenshot of this to hopefully explain better.


    Any help with this would be greatly appreciated.


    Cheers, Mike...

  • Hello,


    Thanks for your post.


    Is there a command line util in the web interface? I looked but couldn't find one. I did manage to figure out how to do it with SSH but if there's one in the web interface that would be great.


    Okay, so I ran the command with OMV in its current state (one mirror correct and working fine) and got this output:


    Personalities : [raid1]
    md0 : active raid1 sdd[0] sde[1]
    488255488 blocks super 1.2 [2/2] [UU]
    bitmap: 0/4 pages [0KB], 65536KB chunk


    unused devices: <none>


    Next I created the mirror I'm having problems with and once it started its resync I ran the command again and got this output:


    Personalities : [raid1]
    md1 : active raid1 sdc[1] sdb[0]
    1953383488 blocks super 1.2 [2/2] [UU]
    [>....................] resync = 0.2% (4379136/1953383488) finish=222.5min speed=145971K/sec
    bitmap: 15/15 pages [60KB], 65536KB chunk


    md0 : active raid1 sdd[0] sde[1]
    488255488 blocks super 1.2 [2/2] [UU]
    bitmap: 0/4 pages [0KB], 65536KB chunk


    unused devices: <none>



    Do you need me to let it finish resyncing that and run the command again? Please let me know and I'll get it done if so.


    Cheers, Mike...

  • Hello,


    I let it resync the new RAID mirror any way and here is the result of that command:


    Personalities : [raid1]
    md1 : active raid1 sdc[1] sdb[0]
    1953383488 blocks super 1.2 [2/2] [UU]
    bitmap: 0/15 pages [0KB], 65536KB chunk


    md0 : active raid1 sdd[0] sde[1]
    488255488 blocks super 1.2 [2/2] [UU]
    bitmap: 0/4 pages [0KB], 65536KB chunk


    unused devices: <none>



    Cheers, Mike...

  • Hello,


    Not on md1 I haven't. I have on md0 and that works fine. Didn't want to create a partition on md1 until I had the RAID issue sorted.


    Here's the output you wanted:


    major minor #blocks name


    8 16 1953514584 sdb
    8 32 1953514584 sdc
    8 48 488386584 sdd
    8 0 58615704 sda
    8 1 56190976 sda1
    8 2 1 sda2
    8 5 2421760 sda5
    8 64 488386584 sde
    9 0 488255488 md0
    9 1 1953383488 md1
    259 0 1320476626 md1p2


    Cheers, Mike...

  • Hi,


    I used the "Wipe" tool in the interface, is there a better way of doing this? I've seen people talk about a command to write zeros to the first few Meg, I'll see if I can find the commands to do that on the forum and give it a go.


    Cheers, Mike...

  • I tried:


    dd if=/dev/zero of=/dev/sdb bs=512 count=10000
    dd if=/dev/zero of=/dev/sdc bs=512 count=10000


    From another thread in this forum and:


    dd if=/dev/zero of=/dev/sdb bs=512 count=1dd if=/dev/zero of=/dev/sdc bs=512 count=1from another forum.


    Both times when I attempted to create the mirror I got the same phantom partition being created. My Linux knowledge is very limited so I don't know what I'm doing wrong with those dd commands. Any help with removing that unwanted partition would be greatly appreciated.


    Cheers, Mike...

  • I think I've resolved the issue.


    For any one in the future encountering this issue...


    I had used the wipe tool in the Physical Discs section as previously mentioned, but with the quick option selected rather than the shred option (I think that's what it was called). This time I used the full secure erase setting on both 2TB drives and several hours later it's finished. I created the new mirror and it's now syncing just one partition, the phantom has gone! Glad to have that on the way to being sorted.


    Cheers, Mike....

  • This thread regarding the phantom array with RAID state "False" helped me on a recent OMV 5 install with a Proliant Microserver N40L.

    Thanks Mike!


    What happened:

    After creating a RAID 1 array (2 disks) in OMV, I boot into PartedMagic.

    Installed a GPT partition table & created a EXT4 FS volume on the array, which was a big mistake in retrospect.

    The phantom array with RAID state "False" shown up in OMV after this.

    As the regular quick Wipe was not sufficient to remove the "false" phantom array, I had to use a full Secure Erase wipe.

    After doing the Secure Erase wipe, the RAID 1 array was being created at an extremely slow speed of 10mb/s (norm is 150-170mb/s for 5400rpm drives).

    I had to stop the process ( mdadm --stop /dev/md0 ), reboot the NAS, do a Quick Wipe on the next boot before recreating the RAID 1 array again.

    This time round, the RAID 1 array was created at 150-170mb/s speed.


    Morale of the story:

    After creating the RAID array in OMV, do not use another OS to install GPT partition table or create the filesystem on the array.

    Just do everything within OMV to save time & trouble.


    HP N40L (4GB RAM, 2x 4TB RAID1)

    Edited once, last by ghanz ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!