Thread (2 messages) 2 messages, 2 authors, 2009-11-12

Re: removing nonexistent drive from array

From: Robin Hill <hidden>
Date: 2009-11-12 20:53:03

On Thu Nov 12, 2009 at 10:46:38PM +0300, CoolCold wrote:
Hello!
I have raid1 array built of 2 disks. One of drives failed, so i've
removed it and inserted another one. Old disk was /dev/sdc, new one
detected as /dev/sde, I've added it into array, recovery begun and
everything is fine except i can't remove the old one:

root@srv15:~# cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sde3[2] sdd3[0] sdc3[3](F)
      290720192 blocks [2/1] [U_]
      [=>...................]  recovery =  5.9% (17269760/290720192)
finish=1229.9min speed=3703K/sec

root@srv15:~# mdadm /dev/md3 -r /dev/sdc3
mdadm: cannot find /dev/sdc3: No such file or directory

Didn't find anything in man about such case. Any ideas?
The simplest option is to do:
    mdadm /dev/md3 -r failed

Alternatively, you could try creating a dummy /dev/sdc3 entry (using
mknod).

HTH,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        [off-list ref] |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachments

  • (unnamed) [application/pgp-signature] 198 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help