Re: removing nonexistent drive from array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgpa9OhudkBvF.pgp
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux