Results 1 to 2 of 2

Thread: mdadm problem with replacing disk

  1. #1
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    169

    Default mdadm problem with replacing disk

    Hi all,

    In a mdadm RAID-5 setup I have to replace a disk whose health is deteriorating (although not yet kicked out my mdadm).
    So I added a new disk with

    Code:
    mdadm /dev/md0 --add /dev/sdf
    Code:
    mdadm --detail
    shows the new disk correctly as a spare.

    After issuing

    Code:
    mdamd /dev/md0 --replace /dev/sda
    mdadm starts rebuilding, but after a while stops. That is, the process is still there, the disk led on the system lights continuously without flickering, but nothing seems to happen anymore, and
    Code:
    mdadm --detail /dev/md0
    hangs forever. Also the system won't shutdown properly (I have to do a hard reset).

    Nothing can be seen in the journal or in the dmesg output.

    To be sure I did a new try with the RAID-system unmounted, but the result is the same.

    The data on the disk can be read: I made a full backup before issuing the replacement.

    Any idea what might be happening here?
    Last edited by hcvv; 11-Apr-2018 at 08:30. Reason: repaired CODE tags

  2. #2
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    169

    Default Re: mdadm problem with replacing disk

    ping...

    Anyone any ideas? Are there logs available I might have overseen?

Tags for this Thread

Posting Permissions

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