[Comm] Выпал диск из RAID1
Vladimir Karpinsky
vkarpinsky на mail.ru
Сб Апр 21 22:02:26 MSK 2012
21.04.2012 16:39, Michael Shigorin написал:
> On Sat, Apr 21, 2012 at 08:20:46AM +0400, Vladimir Karpinsky wrote:
>>>>>> mdadm: --re-add for /dev/sdb1 to /dev/md0 is not possible
>>> --add аналогично?
>> Да.
>
> Не совсем.
>
>> # mdadm --add /dev/md0 /dev/sdb1
>> mdadm: /dev/sdb1 reports being an active member for /dev/md0, but a
>> --re-add fails.
>> mdadm: not performing --add as that would convert /dev/sdb1 in to a spare.
>> mdadm: To make this a spare, use "mdadm --zero-superblock /dev/sdb1" first.
>
> А, ну так сперва --remove его тогда.
# mdadm --remove /dev/md0 /dev/sdb1
mdadm: hot remove failed for /dev/sdb1: No such device or address
# mdadm --add /dev/md0 /dev/sdb1
mdadm: /dev/sdb1 reports being an active member for /dev/md0, but a
--re-add fails.
mdadm: not performing --add as that would convert /dev/sdb1 in to a spare.
mdadm: To make this a spare, use "mdadm --zero-superblock /dev/sdb1" first.
В /var/log/meesages и dmesg за это время только:
Apr 21 22:00:10 plkv kernel: [103627.887576] md: export_rdev(sdb1)
--
С уважением,
Владимир.
Подробная информация о списке рассылки community