Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I take an AoE device out of the failed state?

aoe device failed State
0
10 Posted

How do I take an AoE device out of the failed state?

0
10

If the aoe driver shows the device state to be “down”, first check the EtherDrive storage itself and the AoE network. Once any problem has been rectified, you can use the “aoe-revalidate” command from the aoetools to ask the aoe driver to change the state back to “up”. If the Linux Software RAID driver has marked the device as “failed” (so that an “F” shows up in the output of “cat /proc/mdstat”), then you first need to remove the device from the RAID using mdadm. Next you add the device back to the array with mdadm. An example follows, showing how (after manually failing e10.0) the device is removed from the array and then added back. After adding it back to the RAID, the md driver begins rebuilding the redundancy of the array. root@kokone ~# cat /proc/mdstat Personalities : [raid1] [raid5] md0 : active raid1 etherd/e10.1[1] etherd/e10.0[0] 524224 blocks [2/2] [UU] unused devices: root@kokone ~# mdadm –fail /dev/md0 /dev/etherd/e10.0 mdadm: set /dev/etherd/e10.0 faulty in /dev

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123