Replacing disk in Raid1 [OMV6] - entry not visible

  • I replaced one disk and in Raid Management and after that - the entry was dissapeared from OMV Gui.

    I expected that entry will be set as `inactive` and could add new disk and synchronize it.


    It was my fresh configuration so I just wiped both disks and created new Raid. I had to remove old MDX using command line.

    Why couldn't add new drive to Raid using GUI?

    • Official Post

    power off machine and swapped the one disk with other. After that my Raid entry dissapeared from GUI (it was visible via command line as inactive)

    That's the correct behavior, madadm (software raid) is not hot swappable like a hardware raid controller

    • Official Post

    Expected behavior is that necessary steps to recover RAID will be available on GUI.

    It is;


    To replace a failing drive;


    Raid Management, select the array, on the menu click delete, from the dialog select the failing drive, click OK, the drive will be failed and removed from the array.


    Then;


    Shutdown the machine, removed the failed drive and install new one, restart.

    Storage -> Disks, select the new drive on the menu click wipe, then short, wait until completed.

    Raid Management, select the array (which should display as clean/degraded), on the menu click Recover, from the dialog select the drive that has been added and wiped, click OK

    The array should now rebuild.


    If an array displays as clean/degraded then mdadm has failed the drive and remove it from the array, in that case you shutdown and replace the failed drive.

  • votdev

    Added the Label OMV 6.x (beta)
  • Здравствуйте, у меня создан REID 1. Зеркало. Один диск посыпался, хочу его заменить, мне просто выключить накопитель снять старый, поставить новый и включить? Что то надо делать еще??? Помогите пожалуйста боюсь потерять данные, а диск надо сдавать по гарантии, а то он так и будет сыпаться. Спасибо

  • It is;


    To replace a failing drive;


    Raid Management, select the array, on the menu click delete, from the dialog select the failing drive, click OK, the drive will be failed and removed from the array.


    Is there a way to identify the physical drive?

    I'f a RAID6 with 6 Drives where two of them start to get bad sectors; time to replace I think. But I use a 19" 12-bay case where also a 2nd Mirror-set and plain drives are exist.

    So I have no idea which one are the two to slide out... (one by one obvious...)


    Any hint?

    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

    • Official Post

    Is there a way to identify the physical drive

    Yes, create an Excel spreadsheet, take a screenshot of storage disks, this will give you the model and serial number.


    Shutdown the server, pull each drive one by one making a note of it's position in the server, transfer the information of each drive to the spreadsheet, you'll then have the information you need to replace the necessary drives.


    Simples :)

  • :P shure... Simple as hell 8o

    My Q point more in a technical way. I know that must be possible to let the DriveLED blink or switch off. I have seen that on an other system.


    But ok... For now your way will do it also :saint:

    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

  • Raid Management, select the array (which should display as clean/degraded), on the menu click Recover, from the dialog select the drive that has been added and wiped, click OK

    ... tja ... fail ... Done the way you described before step by step but the RAID6 don't show up anymore!!!

    SDB is the new one, A to F was the RAID6 but that doesn't shop up...


    And now?!?






    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

  • ... and now? What I have to do with this?
    I see that the RAID6 named md126 is inactive... I have try to shutdown, plugin the old drive and fireup, but that don't change anything.

    Now I have shutdown, plugin the new SDB and fireup, copy the result of what you telling me to do ...

    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

    Edited 2 times, last by M*I*B ().

  • ... well done! You save my ass!

    Now I have click repair, add the new drive and it just startet to recovering... Looks good!


    The only what I see now is that the RAID6 catch the 7th drive also and I have no idea why... But that's not a problem. That was only a drive for the PVR- system via FTP what I can change later; no robbery in Town tonight I hope ;o)

    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

    Edited once, last by M*I*B ().

  • Ok... very bad things :cursing:

    The restored RAID6 is empty!


    If I take a look via SSH and open /srv/[uuid] there is not a single file :!::?:

    How can that be?

    Greetz

    Micha

    Translation from my Avatar: To err is human. But to build real shit you need a computer

    • Official Post

    The restored RAID6 is empty

    That makes no sense....?(


    Now I have click repair, add the new drive and it just startet to recovering... Looks good

    When I read the above that was somewhat confusing, I'll explain;


    The output of cat /proc/mdstat showed the array as inactive (there a few reasons why this happens) the output of blkid confirmed the 6 drives within that array /dev/sd[acdefg]


    After running mdadm --stop the second mdadm command is just reassembling the array and there would have been some output and it would have confirmed that the array was reassembled and started with the 6 drives, likewise if there were any errors.

Participate now!

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