Newb: Replacing drive in a RAID5

  • Hi,


    I'm using OMV 5.6.25-1.



    One of my RAID 5 disks is showing "Pre-fail" in the SMART Test and I'd like to replace it.


    I have asked about this before and in my notes I have: "If the drive was showing errors and needed replacing, then Raid Management -> select the raid then click delete on the menu, select the drive click OK and the drive is removed, then proceed to add the new drive. All this can be done via the WebUI and no command line necessary."


    My problem is that "Delete" button isn't available. See attachment.

    What am I doing wrong? How do I replace the disk? :)


    I assume there's a difference between "Remove" and "Delete"...?


    Thanks! :)


    S

  • Use remove, then from the dialog select the drive you want to replace click OK and the drive will be failed then removed from the array

    geaves,


    Appreciate your help... :)


    Just so I don't mess anything up unnecessarily...:

    Use Remove.

    Select the faulty drive and Click Ok, which will remove the drive from the array.

    Shut down OMV.

    Replace the disk.

    Boot back up

    Go to "Disks", find the new disk and "wipe"

    Go to Raid Management and Rebuild


    Is that the procedure?


    S

  • I also got the email:

    This is an automatically generated mail message from mdadm
    running on openmediavault
    A Fail event had been detected on md device /dev/md0.
    It could be related to component device /dev/sdb.
    Faithfully yours, etc.
    P.S. The /proc/mdstat file currently contains the following:
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

    md0 : active raid5 sdb[1](F) sda[4] sdd[5] sdc[2]

    5860147200 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [U_UU]

    bitmap: 0/15 pages [0KB], 65536KB chunk
    unused devices: <none>

  • The drive that you need to replace I take it it's not there in Raid Management -> Devices

    I just shut down thinking I'd risk replacing the disk...


    I booted up again and there are only three disks in Raid Management -> Devices now.


    The faulty disk was sdb but a new disk is now sdb due to the restart...


    Plough on and replace the disk?


    S

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!